On Tue, 23 May 2000, Pat Ramsey wrote:

> Here's the last chunk of the make process (I redirected it to a text 
> file)
> 
> -snip-
> 
> make[4]: Entering directory `/home/root/netatalk-1.4b2+asun2.1.3/etc/a
> fpd'
> gcc  -DNEED_QUOTACTL_WRAPPER   -DUAM_RNDNUM -O2 -fomit-frame-pointer 
> -fsigned-char -Wunused -Wuninitialized -I../../include   
> -I/usr/local/include   -DUSE_PAM -DAPPLCNAME -DSHADOWPW  -o afpd 
> unix.o afs.o kuam.o send_to_kdc.o lifetime.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 bprint.o status.o afp_options.o afp_asp.o 
> afp_dsi.o messages.o config.o nfsquota.o codepage.o -L../../libatalk   
>  -L/usr/local/lib   -latalk   -ldes  -lrpcsvc -lwrap -lpam -ldl 
> /usr/lib/libwrap.a(hosts_acces.o): In function 'host_match':
> hosts_access.o(.text+0x588): undefined reference to 
> 'yp_get_default_domain'
> hosts_access.0(.text+0x588): relocation truncated to 
> fit:R_PPC_REL24 yp_get_default_domain
> collect2: ld returned 1 exit status
> make[4]: *** [afpd] Error 1
> -end snip-
> 
> If anyone has any ideas, I'd really appreciate it. 

You'll need to add "-lnsl" to the AFPLIBS line in sys/linux/Makefile.
This is a known bug in asun2.1.3.  Otherwise, you might wish to try the
latest asun2.1.4pre version from:

ftp://ftp.cobaltnet.com/pub/users/asun/testing/

It has many improvements and bug fixes, including the problem above.

        Andy

Reply via email to