Re: [netatalk-admins] problems building pre-asun2.1.0-6 on Linux


Subject: Re: [netatalk-admins] problems building pre-asun2.1.0-6 on Linux
From: Jens Brambring (jens@brambring.de)
Date: Fri Aug 21 1998 - 04:46:30 EDT


Rob Newberry wrote:
>
> My Linux system is a BIT old, but I did upgrade libc and am willing to
> upgrade anything else I need to. What must I do to get rid of the
> following problem while building "afpd"?
>
> make[4]: Entering directory `/usr/src/netatalk-1.4b2+asun2.1.0/etc/afpd'
> gcc -DUAM_RNDNUM -O5 -fomit-frame-pointer -fsigned-char -Wunused
> -Wuninitialized -I../../include
> -I/usr/local/include -DAPPLCNAME -DCRLF -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 ap
> pl.o gettok.o bprint.o status.o afp_options.o afp_asp.o afp_dsi.o
> messages.o config.o nfsquota.o -L.
> ./../libatalk -L/usr/local/lib -latalk -ldes
> nfsquota.o: In function `getnfsquota':
> nfsquota.o(.text+0x15b): undefined reference to `xdr_getquota_rslt'
> nfsquota.o(.text+0x165): undefined reference to `xdr_getquota_args'
> make[4]: *** [afpd] Error 1
> make[4]: Leaving directory `/usr/src/netatalk-1.4b2+asun2.1.0/etc/afpd'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/usr/src/netatalk-1.4b2+asun2.1.0/etc/afpd'
> make[2]: *** [afpd] Error 2
> make[2]: Leaving directory `/usr/src/netatalk-1.4b2+asun2.1.0/etc'
> make[1]: *** [../../etc] Error 2
> make[1]: Leaving directory `/usr/src/netatalk-1.4b2+asun2.1.0/sys/linux'
> make: *** [all] Error 2
>
> I'm not running any quota stuff. This is pretty much a Slackware install,
> although I've upgraded some binaries and stuff on my own.
>
> Rob
Hello,
I got the same problem, here you can find my changed version:

ftp://ftp.brambring.de/pub/linux/netatalk/pre-asun2.1.0-6linuxsuse.tar.gz

I changed
Makefile:
         -DCRLF --> #-DCRLF
         -lrpcsvc --> #-lrpcsvc
         nfsquota.o --> #-nfsquota
        
        beside this I changed a little bit in unix.c
        I changed the way the mac-filenames are stored, only / gets changed,
        for me its the better solution, cause I share the volumes with samba.
        Changed the permissions from 0666 to 0777.

Thats all. I didnīt run into any problems here whith this setup. Sorry
for my english!
     
Ciao, Jens!

-- 
Jens Brambring
Netzwerktechnik & WEB-Design
http://www.brambring.de
mailto:jens@brambring.de



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:33:09 EST