
aroutley at team
May 12, 2002, 3:18 PM
Post #1 of 1
(800 views)
Permalink
|
|
Having a terrible time build wackamole_CVS_200203211357on Solaris 8
|
|
> >>2. After running configure I edited the Makefile and removed the > >> -I/usr/include from CPPFLAGS (causes alarm.c not to compile) > >> > Can you mail be the compile error please? Host: sparc-sun-solaris2.8 Compiler: gcc Compiler flags: -g -O2 -Wall Preprocessor flags: -I/usr/include -I/usr/local/include Linker flags: -L/usr/local/lib -R/usr/local/lib Libraries: -ltsp -ldl -lsocket -lnsl -lposix4 -lthread -lpthread ife packet code: ife-dlpi.o $ make gcc -g -O2 -Wall -I. -I. -I/usr/include -I/usr/local/include -DETCDIR=3D\"/usr/local/etc\" -D_PATH_WACKAMOLE_PIDDIR=3D\"/var/run\" -DHAVE_CONFIG_H -c wackamole.c wackamole.c: In function `Usage': wackamole.c:998: warning: int format, pid_t arg (arg 3) gcc -g -O2 -Wall -I. -I. -I/usr/include -I/usr/local/include -DETCDIR=3D\"/usr/local/etc\" -D_PATH_WACKAMOLE_PIDDIR=3D\"/var/run\" -DHAVE_CONFIG_H -c alarm.c alarm.c: In function `Alarm': alarm.c:100: `__builtin_va_alist' undeclared (first use in this function) alarm.c:100: (Each undeclared identifier is reported only once alarm.c:100: for each function it appears in.) alarm.c:80: warning: `ap' might be used uninitialized in this function *** Error code 1 make: Fatal error: Command failed for target `alarm.o' > >>3. Edited control.c and added #include <sys/filio.h> so that FIOBIN > >> was defined, otherwise control.c does not compile. > >> > Thanks.. I just added that to the autoconf stuff. From what I can see, this usually gets included from within ioctl.h but only when BSD_COMP is defined, which is how the spread source does it. Later Andrew
|