Paul Kirschner
1998-Aug-18 20:13 UTC
cannot compile samba-1.9.18p8 on SunOS 5.5.1 with gcc 2.7.2
I trying to compile samba-1.9.18p8 on a SunOS 5.5.1 machine using gcc 2.7.2. I setup the makefile to use the SunOS5 defines... # This is for SUNOS5.4 and later (also known as Solaris 2.4 and later) # contributed by Andrew.Tridgell@anu.edu.au FLAGSM = -DSUNOS5 -DSHADOW_PWD -DNETGROUP -DFAST_SHARE_MODES LIBSM = -lsocket -lnsl AWK = nawk I get the following compiler error... # make Using CFLAGS = -O -DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFILE="/us Using LIBS = -lsocket -lnsl Compiling util.c util.c: In function `Get_Hostbyname': util.c:4263: warning: initialization makes pointer from integer without a cast util.c: In function `BlockSignals': util.c:4363: `sigset_t' undeclared (first use this function) util.c:4363: (Each undeclared identifier is reported only once util.c:4363: for each function it appears in.) util.c:4363: parse error before `set' util.c:4364: `set' undeclared (first use this function) util.c: In function `set_namearray': util.c:4563: warning: assignment makes pointer from integer without a cast *** Error code 1 make: Fatal error: Command failed for target `util.o' sigset_t IS defined in <signal.h> which seems to be part of the include files. BTW - this also fails using a native Sun cc compilier. Why doesn't this work? What can I do? (Please Email direct back to me.) TIA... -- ------------------------------------------------------------------------------ Paul Kirschner #include <disclaimer.std> pek@utrc.utc.com United Technologies Research Center