Subject: [netatalk-admins] problems compiling 1.4B2

From: "Jamie Orzechowski" <[email-masked]>
Date: Fri, 19 Jun 1998 14:55:53 -0400

Hi There ... I have a prefectly new install of RedHat 5.1 on a Intel P2 266
with 128MB ram and a 9GB scsi

when I try and run a make for netatalk 1.4b2 I get the following (last 128
lines of compile output)

   DESTDIR="/usr/local/atalk" AFSDIR="" KRBDIR=""
make[3]: Entering directory `/tmp/netatalk-1.4b2/etc/afpd'
if [ x"" != x ]; then \
    KRBLIBS="-lkrb -ldes"; \
    KRBLIBDIRS="-L/lib"; \
    KRBINCPATH="-I/include"; \
    KRBDEFS="-DKRB"; \
fi; \
if [ x"" != x ]; then \
    AFSLIBS="-lkauth -lprot -lubik -lauth -lsys -lrxkad -lrx -laudit \
        -llwp -lcmd -lcom_err /lib/afs/util.a -ldes"; \
    AFSLIBDIRS="-L/lib -L/lib/afs"; \
    AFSINCPATH="-I/include"; \
    AFSDEFS="-DAFS"; \
fi; \
make -w CC="gcc" ADDLIBS="" DEFS="" \
    OPTOPTS="-O2 -fsigned-char" DESTDIR="/usr/local/atalk" \
    SBINDIR="/usr/local/atalk/etc" BINDIR="/usr/local/atalk/bin"
RESDIR="/usr/lo
cal/atalk/etc" \
    ETCDIR="/usr/local/atalk/etc" LIBDIR="/usr/local/atalk/lib"
INCDIR="/usr/loc
al/atalk/include" \
    KRBLIBS="${KRBLIBS}" KRBLIBDIRS="${KRBLIBDIRS}" \
    KRBINCPATH="${KRBINCPATH}" KRBDEFS="${KRBDEFS}" \
    AFSLIBS="${AFSLIBS}" AFSLIBDIRS="${AFSLIBDIRS}" \
    AFSINCPATH="${AFSINCPATH}" AFSDEFS="${AFSDEFS}" \
    afpd
make[4]: Entering directory `/tmp/netatalk-1.4b2/etc/afpd'
gcc    -O2 -fsigned-char -I../../include   -DAPPLCNAME -DCRLF  \
    -D_PATH_AFPDDEFVOL=\"/usr/local/atalk/etc/AppleVolumes.default\" \
    -D_PATH_AFPDSYSVOL=\"/usr/local/atalk/etc/AppleVolumes.system\" \
    -DVERSION=\"`cat ../../VERSION`\" \
     -c main.c
main.c: In function `main':
main.c:255: `TIOCNOTTY' undeclared (first use this function)
main.c:255: (Each undeclared identifier is reported only once
main.c:255: for each function it appears in.)
make[4]: *** [main.o] Error 1
make[4]: Leaving directory `/tmp/netatalk-1.4b2/etc/afpd'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/netatalk-1.4b2/etc/afpd'
make[2]: *** [afpd] Error 2
make[2]: Leaving directory `/tmp/netatalk-1.4b2/etc'
make[1]: *** [../../etc] Error 2
make[1]: Leaving directory `/tmp/netatalk-1.4b2/sys/linux'
make: *** [all] Error 2
[root@zima netatalk-1.4b2]#

any ideas? 1.3.3 also does not compile ...

[email-masked]

---

From: Mark Donnelly <[email-masked]>
Date: Fri, 19 Jun 1998 14:20:34 -0500 (CDT)

On Fri, 19 Jun 1998, Jamie Orzechowski wrote:

[snip]
> make[4]: Entering directory `/tmp/netatalk-1.4b2/etc/afpd'
[snip]
> make[4]: Leaving directory `/tmp/netatalk-1.4b2/etc/afpd'

Well, at a real quick look, asun's distribution doesn't seem to have
TIONOTTY anywhere in the code (grep TTY * returns nothing).  Try getting
that at (if I recall correctly) ftp://ftp.u.washington.edu/pub/asun/.
It's nice enough to add AppleShare/IP stuff in as well...

--Mark