Hi Merlin,
recently I tried to follow your HOWTO Compile From Source guide to get the latest build from your Github repo.
Regrettably, after several attempts I was unable to compile the firmware due to the following error with lighthttpd:
As far as I can see, there's either a problem with -lpcre or with the tree global compiling issue.
The config.log is attached to the post.
Any help would be appreciated.
Thanks beforehand.
recently I tried to follow your HOWTO Compile From Source guide to get the latest build from your Github repo.
Regrettably, after several attempts I was unable to compile the firmware due to the following error with lighthttpd:
configure:3801: checking whether the C compiler works
configure:3823: mipsel-uclibc-gcc -I/home/rxu/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../pcre-8.12 -I/opt/brcm/hndtools-mipsel-linux/include -I/home/rxu/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../sqlite -I/home/rxu/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../../include -I/home/rxu/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../nvram -I/home/rxu/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../shared -I/home/rxu/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../libdisk -DHAVE_OPENSSL_SSL_H=1 -DHAVE_LIBSSL=1 -DEMBEDDED_EANBLE=1 -L/opt/brcm/hndtools-mipsel-linux/lib -ldl -L/home/rxu/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../pcre-8.12/.libs -lpcre -L/home/rxu/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../libxml2/.libs -lxml2 -L/home/rxu/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../openssl conftest.c -L/opt/brcm/hndtools-mipsel-linux/lib -L/home/rxu/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../shared -lshared -L/home/rxu/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../nvram -lnvram -L/home/rxu/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../libdisk -ldisk >&5
/home/rxu/asuswrt-merlin/tools/brcm/K26/hndtools-mipsel-uclibc-4.2.4/bin/../lib/gcc/mipsel-linux-uclibc/4.2.4/../../../../mipsel-linux-uclibc/bin/ld: cannot find -lpcre
collect2: ld returned 1 exit status
configure:3827: $? = 1
configure:3865: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "lighttpd"
| #define PACKAGE_TARNAME "lighttpd"
| #define PACKAGE_VERSION "1.4.29"
| #define PACKAGE_STRING "lighttpd 1.4.29"
| #define PACKAGE_BUGREPORT "contact@lighttpd.net"
| #define PACKAGE_URL ""
| #define PACKAGE "lighttpd"
| #define VERSION "1.4.29"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3870: error: in `/home/rxu/asuswrt-merlin/release/src/router/lighttpd-1.4.29':
configure:3872: error: C compiler cannot create executables
See `config.log' for more details
As far as I can see, there's either a problem with -lpcre or with the tree global compiling issue.
The config.log is attached to the post.
Any help would be appreciated.
Thanks beforehand.