What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

netatalk build failure

bsdsource

Regular Contributor
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:

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:
  1. attempt to build the firmware using the "make RT-AC3100" command
  2. netatalk will fail to build as expected
  3. delete the configure file from the netatalk-3.0.5 folder (no other changes to the source code)
  4. git checkout configure to restore the file to the netatalk-3.0.5 folder
  5. attempt to build the firmware again using the "make RT-AC3100" command
  6. successful build. no netatalk build failure.
After the failed build attempt I didn't issue any clean commands or anything. I left the source code as is after the failure with the exception of deleting and restoring of the netatalk configure file.

RMerlin can you shed some light on this build error? Is there a simple solution to avoid this?

Thank you,

azdps
 
john9527 installing libltdl-dev was the solution. Thank you.

sudo apt-get install libltdl-dev

I installed libltdl-dev and didn't reboot and experienced the same netatalk build failure. Like you said a reboot was required.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top