This is a discussion on Problems compiling pfil on Solaris 9/SPARC/GCC 3.2.2 within the IPFilter forums, part of the System Security and Security Related category; Problems compiling pfil on Solaris 9/SPARC and GCC 3.2.2: This is with Sun's make, not GNU ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Problems compiling pfil on Solaris 9/SPARC and GCC 3.2.2:
This is with Sun's make, not GNU make. I get similar results with GNU make anyway... make[3]: Leaving directory `/disk/src/pfil/SunOS' /bin/rm -f SunOS/*.o (cd SunOS; make pfil`optisa sparcv9 >/dev/null 2>&1; if [ $? -eq 0 ] ; then echo "64"; else echo "32"; fi` "BITS=64" OS=solaris DO=pfil64 "ADEF=-I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2="`uname -r | sed -e 's/[0-9]*\.\([0-9]*\).*/\1/'`" -DPFILDEBUG -xildoff -xarch=v9 -xchip=ultra -dalign -xcode=abs32 -DDO=pfil`optisa sparcv9 >/dev/null 2>&1; if [ $? -eq 0 ] ; then echo "64"; else echo "32"; fi`") make[3]: Entering directory `/disk/src/pfil/SunOS' cc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=9 -DPFILDEBUG -xildoff -xarch=v9 -xchip=ultra -dalign -xcode=abs32 -DDO=pfil64 -c ../pfil.c -o pfil.o cc: language code=abs32 not recognized cc: ../pfil.c: linker input file unused because linking not done cc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=9 -DPFILDEBUG -xildoff -xarch=v9 -xchip=ultra -dalign -xcode=abs32 -DDO=pfil64 -c qif.c -o qif.o cc: language code=abs32 not recognized cc: qif.c: linker input file unused because linking not done cc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=9 -DPFILDEBUG -xildoff -xarch=v9 -xchip=ultra -dalign -xcode=abs32 -DDO=pfil64 -c pfildrv.c -o pfildrv.o cc: language code=abs32 not recognized cc: pfildrv.c: linker input file unused because linking not done cc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=9 -DPFILDEBUG -xildoff -xarch=v9 -xchip=ultra -dalign -xcode=abs32 -DDO=pfil64 -c ../pfilstream.c -o pfilstream.o cc: language code=abs32 not recognized cc: ../pfilstream.c: linker input file unused because linking not done cc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=9 -DPFILDEBUG -xildoff -xarch=v9 -xchip=ultra -dalign -xcode=abs32 -DDO=pfil64 -c pkt.c -o pkt.o cc: language code=abs32 not recognized cc: pkt.c: linker input file unused because linking not done cc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=9 -DPFILDEBUG -xildoff -xarch=v9 -xchip=ultra -dalign -xcode=abs32 -DDO=pfil64 -c ../misc.c -o misc.o cc: language code=abs32 not recognized cc: ../misc.c: linker input file unused because linking not done cc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=9 -DPFILDEBUG -xildoff -xarch=v9 -xchip=ultra -dalign -xcode=abs32 -DDO=pfil64 -c ../ndd.c -o ndd.o cc: language code=abs32 not recognized cc: ../ndd.c: linker input file unused because linking not done ld -r pfil.o qif.o pfildrv.o pfilstream.o pkt.o misc.o ndd.o -o pfil64 ld: fatal: file pfil.o: open failed: No such file or directory make[3]: *** [pfil64] Error 1 make[3]: Leaving directory `/disk/src/pfil/SunOS' make[2]: *** [SunOS64] Error 2 make[2]: Leaving directory `/disk/src/pfil' make[1]: [SunOS] Error 2 (ignored) make[1]: Leaving directory `/disk/src/pfil' (cd `uname -s`; make package-`uname -s`) make[1]: Entering directory `/disk/src/pfil/SunOS' cc -c ../pfil.c -o pfil.o In file included from ../pfil.c:53: .../compat.h:10:16: os.h: No such file or directory .../pfil.c: In function `pfil_list_add': .../pfil.c:226: parse error before "struct" make[1]: *** [pfil.o] Error 1 make[1]: Leaving directory `/disk/src/pfil/SunOS' *** Error code 2 make: Fatal error: Command failed for target `package' Any suggestions? I've built IPFilter 3.4.x (the last 2-3 revisions) with this compiler with no problem. Bill -- bill bradford mrbill@mrbill.net austin, texas |
![]() |
| Thread Tools | |
| Display Modes | |
|
|