Hello,
Due to firmware bug of my fresh IcyDock, I need to patch some code and compile my own Merlin. I'm using this guide:
https://github.com/RMerl/asuswrt-merlin/wiki/Compile-Firmware-from-source-using-Ubuntu
Unfortunately the "manual" way (with just make) fails with:
make[7]: Entering directory `/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/src'
/bin/bash ../libtool --tag=CC --mode=link arm-brcm-linux-uclibcgnueabi-gcc -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../sqlite -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../pcre-8.31 -I./release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/include -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../sqlite -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../curl-7.21.7/include -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../../include -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../nvram_arm -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../shared -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../libdisk -DHAVE_OPENSSL_SSL_H=1 -DHAVE_LIBSSL=1 -DEMBEDDED_EANBLE=1 -Wall -W -Wshadow -pedantic -std=gnu99 -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../samba-3.5.8/source3/include -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../libxml2/include -module -export-dynamic -avoid-version -no-undefined -L./release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/lib -ldl -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../pcre-8.31/.libs -lpcre -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../libxml2/.libs -lxml2 -lm -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../openssl -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../curl-7.21.7/lib/.libs -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../openssl/lib -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../openssl/ -o liblightsql.la -rpath /root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/_inst/lib liblightsql_la-sql.lo -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../sqlite/.libs -lsqlite3 -L./release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/lib -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../shared -lshared -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../nvram_arm -lnvram -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../libdisk -ldisk -lpthread -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../openssl -lcrypto -lssl -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../curl-7.21.7/lib/.libs -lcurl -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../libxml2/.libs -lxml2 -lpthread -dl -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../samba-3.5.8/source3/bin -lsmbclient -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../libxml2/.libs -lxml2 -lm
../libtool: line 5986: cd: ./release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/lib: No such file or directory
libtool: link: cannot determine absolute directory name of `./release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/lib'
make[7]: *** [liblightsql.la] Error 1
make[7]: Leaving directory `/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/src'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29'
make[3]: *** [lighttpd-1.4.29] Error 2
make[3]: Leaving directory `/root/asuswrt-merlin/release/src/router'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/asuswrt-merlin/release/src-rt-6.x.4708'
make[1]: *** [bin] Error 2
make[1]: Leaving directory `/root/asuswrt-merlin/release/src-rt-6.x.4708'
make: *** [default] Error 2
And the automated (with debian-build-image) fails with... erm... just finished... exactly the same error.
Build environments were always my nightmate, I'm make-illiterate. Any help would be appreciated!
Due to firmware bug of my fresh IcyDock, I need to patch some code and compile my own Merlin. I'm using this guide:
https://github.com/RMerl/asuswrt-merlin/wiki/Compile-Firmware-from-source-using-Ubuntu
Unfortunately the "manual" way (with just make) fails with:
make[7]: Entering directory `/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/src'
/bin/bash ../libtool --tag=CC --mode=link arm-brcm-linux-uclibcgnueabi-gcc -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../sqlite -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../pcre-8.31 -I./release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/include -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../sqlite -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../curl-7.21.7/include -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../../include -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../nvram_arm -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../shared -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../libdisk -DHAVE_OPENSSL_SSL_H=1 -DHAVE_LIBSSL=1 -DEMBEDDED_EANBLE=1 -Wall -W -Wshadow -pedantic -std=gnu99 -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../samba-3.5.8/source3/include -I/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../libxml2/include -module -export-dynamic -avoid-version -no-undefined -L./release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/lib -ldl -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../pcre-8.31/.libs -lpcre -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../libxml2/.libs -lxml2 -lm -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../openssl -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../curl-7.21.7/lib/.libs -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../openssl/lib -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../openssl/ -o liblightsql.la -rpath /root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/_inst/lib liblightsql_la-sql.lo -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../sqlite/.libs -lsqlite3 -L./release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/lib -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../shared -lshared -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../nvram_arm -lnvram -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../libdisk -ldisk -lpthread -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../openssl -lcrypto -lssl -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../curl-7.21.7/lib/.libs -lcurl -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../libxml2/.libs -lxml2 -lpthread -dl -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../samba-3.5.8/source3/bin -lsmbclient -L/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/../libxml2/.libs -lxml2 -lm
../libtool: line 5986: cd: ./release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/lib: No such file or directory
libtool: link: cannot determine absolute directory name of `./release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/lib'
make[7]: *** [liblightsql.la] Error 1
make[7]: Leaving directory `/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/src'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29'
make[3]: *** [lighttpd-1.4.29] Error 2
make[3]: Leaving directory `/root/asuswrt-merlin/release/src/router'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/asuswrt-merlin/release/src-rt-6.x.4708'
make[1]: *** [bin] Error 2
make[1]: Leaving directory `/root/asuswrt-merlin/release/src-rt-6.x.4708'
make: *** [default] Error 2
And the automated (with debian-build-image) fails with... erm... just finished... exactly the same error.
Build environments were always my nightmate, I'm make-illiterate. Any help would be appreciated!