At 11:53 +0000 1999-11-05, Mr. Arlington Hewes wrote:
>rpm --rebuild of this RPM failed. I slurped pre-asun2.1.4-36a.tar.gz and tried
>to build that. Same error as before, undefined reference to
>`yp_get_default_domain':
>
>gcc  -DSENDFILE_FLAVOR_LINUX    -O2 -fomit-frame-pointer 
>-fsigned-char -Wunused -Wuninitialized  -I../../include  -DAPPLCNAME 
>-c quota.c -o quota.o
>gcc  -DSENDFILE_FLAVOR_LINUX    -O2 -fomit-frame-pointer 
>-fsigned-char -Wunused -Wuninitialized  -I../../include  -DAPPLCNAME 
>-c uam.c -o uam.o
>gcc  -DSENDFILE_FLAVOR_LINUX    -O2 -fomit-frame-pointer 
>-fsigned-char -Wunused -Wuninitialized  -I../../include  -DAPPLCNAME 
>-c afs.c -o afs.o
>gcc  -DSENDFILE_FLAVOR_LINUX    -O2 -fomit-frame-pointer 
>-fsigned-char -Wunused -Wuninitialized  -I../../include  -DAPPLCNAME 
>-rdynamic -o afpd unix.o ofork.o main.o switch.o auth.o volume.o 
>directory.o file.o enumerate.o desktop.o filedir.o fork.o appl.o 
>gettok.o status.o afp_options.o afp_asp.o afp_dsi.o messages.o 
>config.o nfsquota.o codepage.o quota.o uam.o afs.o -L../../libatalk 
>-latalk   -lwrap  -lrpcsvc   -ldl
>/usr/lib/libwrap.a(hosts_access.o): In function `host_match':
>hosts_access.o(.text+0x400): undefined reference to `yp_get_default_domain'
>collect2: ld returned 1 exit status
>make[4]: *** [afpd] Error 1
>make[4]: Leaving directory `/usr/local/src/netatalk-1.4b2+asun2.1.4/etc/afpd'
>make[3]: *** [all] Error 2
>make[3]: Leaving directory `/usr/local/src/netatalk-1.4b2+asun2.1.4/etc/afpd'
>make[2]: *** [afpd] Error 2
>make[2]: Leaving directory `/usr/local/src/netatalk-1.4b2+asun2.1.4/etc'
>make[1]: *** [../../etc] Error 2
>make[1]: Leaving directory `/usr/local/src/netatalk-1.4b2+asun2.1.4/sys/linux'
>make: *** [all] Error 2

Your libwrap.a was compiled with netgroup support, so it needs -lnsl. 
You need to pass TCPWRAPLIBS="-lwrap -lnsl" to make.
-- 
Joel Klecker (aka Espy)                    Debian GNU/Linux Developer
<URL:mailto:[EMAIL PROTECTED]>                 <URL:mailto:[EMAIL PROTECTED]>
<URL:http://web.espy.org/>               <URL:http://www.debian.org/>

Reply via email to