Hi, experts:
I use the gSOAP toolkit to develop a web server program. The program can run on Ubuntu Linux. Now I would like to put this program into dd-wrt.v23_asus.trx firmware.
At first , I download the '4.1.0-uclibc-0.9.28' toolchain. and add the toolchains bin folder to your PATH environment variable "export PATH=/home/dd-wrt/toolchai
ns/4.1.0-u
clibc-0.9.
28/bin:$PA
TH".
I download the gSOAP source code and modify the Makefile file in /samples/webserver from
CC=gcc
to
CC=mipsel-linux-gcc
Then I type 'make' and get the message:
--------------------------
----------
----------
----------
----------
----------
----------
----------
--------
mipsel-linux-gcc -Wall -O2 -I../.. -I../../plugin -DWITH_COOKIES -DWITH_GZIP -DWITH_OPENSSL -c ../../plugin/logging.c
In file included from ../../plugin/logging.h:53,
from ../../plugin/logging.c:29:
../../stdsoap2.h:568:26: error: openssl/bio.h: No such file or directory
../../stdsoap2.h:569:26: error: openssl/err.h: No such file or directory
../../stdsoap2.h:570:27: error: openssl/rand.h: No such file or directory
../../stdsoap2.h:571:26: error: openssl/ssl.h: No such file or directory
../../stdsoap2.h:572:29: error: openssl/x509v3.h: No such file or directory
../../stdsoap2.h:575:5: error: #error "Must use OpenSSL 0.9.6 or later"
../../stdsoap2.h:593:19: error: zlib.h: No such file or directory
In file included from ../../plugin/logging.h:53,
from ../../plugin/logging.c:29:
../../stdsoap2.h:1688: error: expected declaration specifiers or '...' before 'X509_STORE_CTX'
../../stdsoap2.h:1689: error: expected specifier-qualifier-list before 'BIO'
make: *** [logging.o] Error 1
--------------------------
----------
----------
----------
----------
----------
----------
----------
--------
What is the problem? What should I do?
Thank you.
Start Free Trial