RMerlin I just cloned the asuswrt-merlin master repository. Navigated to the appropriate directory to build the RT-AC3100 but I get a build failure for netatalk. Below is the build failure output:
If after I encounter the build error and delete the configure file in the netatalk-3.0.5 directory and git checkout the configure file to the same directory and issue the make RT-AC3100 command again it builds without failure.
To experiment after the netatalk build failure i deleted the entire folder contents of netatalk-3.0.5. I then did a git checkout from the netatalk-3.0.5 folder which restored all the files in the netatalk folder. I attempted to make RT-AC3100 again but it gave me the same failure as I provided before.
The only way I'm able to get netatalk to build without failure was the following procedure:
RMerlin can you shed some light on this build error? Is there a simple solution to avoid this?
Thank you,
azdps
Code:
touch netatalk-3.0.5/stamp-h1
netatalk-3.0.5
make[4]: Entering directory `/root/asuswrt-merlin/release/src/router/netatalk-3.0.5'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /root/asuswrt-merlin/release/src-rt-7.14.114.x/src/router/netatalk-3.0.5/missing --run aclocal-1.11 -I macros
main::scan_file() called too early to check prototype at /usr/bin/aclocal-1.11 line 643.
macros/netatalk.m4:4: warning: underquoted definition of AX_CHECK_DOCBOOK
macros/netatalk.m4:4: run info '(automake)Extending aclocal'
macros/netatalk.m4:4: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /root/asuswrt-merlin/release/src-rt-7.14.114.x/src/router/netatalk-3.0.5/missing --run autoconf
cd . && /bin/bash /root/asuswrt-merlin/release/src-rt-7.14.114.x/src/router/netatalk-3.0.5/missing --run automake-1.11 --foreign
configure.ac:59: error: possibly undefined macro: AC_LTDL_DLLIB
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:61: error: possibly undefined macro: AC_LTDL_DLSYM_USCORE
make[4]: *** [configure] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/root/asuswrt-merlin/release/src/router/netatalk-3.0.5'
make[3]: *** [netatalk-3.0.5] 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-7.14.114.x/src'
make[1]: *** [bin] Error 2
make[1]: Leaving directory `/root/asuswrt-merlin/release/src-rt-7.14.114.x/src'
make: *** [RT-AC3100] Error 2
If after I encounter the build error and delete the configure file in the netatalk-3.0.5 directory and git checkout the configure file to the same directory and issue the make RT-AC3100 command again it builds without failure.
To experiment after the netatalk build failure i deleted the entire folder contents of netatalk-3.0.5. I then did a git checkout from the netatalk-3.0.5 folder which restored all the files in the netatalk folder. I attempted to make RT-AC3100 again but it gave me the same failure as I provided before.
The only way I'm able to get netatalk to build without failure was the following procedure:
- attempt to build the firmware using the "make RT-AC3100" command
- netatalk will fail to build as expected
- delete the configure file from the netatalk-3.0.5 folder (no other changes to the source code)
- git checkout configure to restore the file to the netatalk-3.0.5 folder
- attempt to build the firmware again using the "make RT-AC3100" command
- successful build. no netatalk build failure.
RMerlin can you shed some light on this build error? Is there a simple solution to avoid this?
Thank you,
azdps