Subject: [netatalk-admins] Solaris 2.6 problems :-(
From: Neil Morris (N.Morris@ukerna.ac.uk)
Date: Mon Nov 30 1998 - 11:34:15 EST
I am trying to compile netatalk-1.4b2+asun2.1.0 on a Sparc 20 but have
encountered a number of problems:
i) redefinitions of msgdsize and allocb in ddptp_utls.c.
I solved this using the suggestion made by Robert J. Marinchick in a
posting earlier this year (23 Jan 1998) of commenting them out.
ii) the problem with nbp_util.c and "structure has no member name 'S_un'."
I commented out the definition of s_net in /usr/include/netinet/in.h (which
suggested that it was obsolete anyway).
iii) problems with flock.c:
flock.c:14: /usr/ucbinclude/sys/file.h: No such file or directory
make[3]: *** [flock.o] Error 1
make[3]: Leaving directory
`/opt/sources/software/netatalk/netatalk-1.4b2/libatalk/compat'
make[2]: *** [compat] Error 2
make[2]: Leaving directory
`/opt/sources/software/netatalk/netatalk-1.4b2/libatalk'
make[1]: *** [../../libatalk] Error 2
make[1]: Leaving directory
`/opt/sources/software/netatalk/netatalk-1.4b2/sys/solaris'
make: *** [all] Error 2
I changed the include statement as I don't have a /usr/ucbinclude/sys/file.h
#include </usr/include/sys/file.h>
when I try that I get the following:
flock.c: In function `flock':
flock.c:24: `LOCK_NB' undeclared (first use in this function)
flock.c:24: (Each undeclared identifier is reported only once
flock.c:24: for each function it appears in.)
flock.c:30: `LOCK_EX' undeclared (first use in this function)
flock.c:34: `LOCK_SH' undeclared (first use in this function)
flock.c:38: `LOCK_UN' undeclared (first use in this function)
make[3]: *** [flock.o] Error 1
make[3]: Leaving directory
`/opt/sources/software/netatalk/netatalk-1.4b2/libatalk/compat'
make[2]: *** [compat] Error 2
make[2]: Leaving directory
`/opt/sources/software/netatalk/netatalk-1.4b2/libatalk'
make[1]: *** [../../libatalk] Error 2
make[1]: Leaving directory
`/opt/sources/software/netatalk/netatalk-1.4b2/sys/solaris'
make: *** [all] Error 2
I have followed the procedure for compiling Solaris (i.e edit netconfig,
install driver) so am a bit flummoxed by the above. Does anyone know where
I am going wrong?
Cheers,
Neil
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:33:47 EST