Hello!
I'm trying to build the pfil-2.1.13 on Solaris10 5/08 and get following
errors:
# make -f Makefile.gcc package
i=`uname -s`; case $i in HP-UX) make hpux;; *) make -f Makefile.gcc $i;;
esac
cp Makefile.gcc SunOS/Makefile
make -f Makefile.gcc SunOS64
(cd SunOS; make pfil "BITS=32" OS=solaris DO=pfil "ADEF=-I.. -I.
-D_KERNEL -DSUNDDI -DSOLARIS2="`uname -r | sed -e
's/[0-9]*\.\([0-9]*\).*/\1/'`" -DPFILDEBUG")
gcc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=10 -DPFILDEBUG -c ../pfil.c
-o pfil.o
gcc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=10 -DPFILDEBUG -c qif.c -o
qif.o
qif.c:216:37: macro "ILL_START_WALK_ALL" requires 2 arguments, but only
1 given
qif.c: In function `q_to_ill':
qif.c:216: error: `ILL_START_WALK_ALL' undeclared (first use in this
function)
qif.c:216: error: (Each undeclared identifier is reported only once
qif.c:216: error: for each function it appears in.)
qif.c: In function `qif_ire_walker':
qif.c:271: error: structure has no member named `ire_fp_mp'
qif.c: In function `qif_attach':
qif.c:367: error: too few arguments to function `ire_walk'
qif.c: In function `qif_illrouteto':
qif.c:1023: error: too few arguments to function `ire_route_lookup'
*** Error code 1
make: Fatal error: Command failed for target `qif.o'
Current working directory /home/khuraskin/pfil/SunOS
*** Error code 1
make: Fatal error: Command failed for target `SunOS64'
Current working directory /home/khuraskin/pfil
*** Error code 1 (ignored)
(cd `uname -s`; make package-`uname -s`)
gcc -c qif.c -o qif.o
In file included from qif.c:59:
qif.h:164: error: syntax error before '*' token
qif.c: In function `qif_startup':
qif.c:163: warning: assignment makes pointer from integer without a cast
qif.c: In function `q_to_ill':
qif.c:207: error: `ill_t' undeclared (first use in this function)
qif.c:207: error: (Each undeclared identifier is reported only once
qif.c:207: error: for each function it appears in.)
qif.c:207: error: `ill' undeclared (first use in this function)
qif.c:219: error: `ill_g_head' undeclared (first use in this function)
qif.c: At top level:
qif.c:257: error: syntax error before "ire_t"
qif.c:257: warning: data definition has no type or storage class
qif.c:259: error: syntax error before '{' token
qif.c: In function `qif_attach':
qif.c:296: error: `ill_t' undeclared (first use in this function)
qif.c:296: error: `ill' undeclared (first use in this function)
qif.c:365: error: `qif_ire_walker' undeclared (first use in this function)
qif.c: In function `qif_new':
qif.c:389: warning: assignment makes pointer from integer without a cast
qif.c: In function `qif_update':
qif.c:545: error: `ill_t' undeclared (first use in this function)
qif.c:545: error: `ill' undeclared (first use in this function)
qif.c: At top level:
qif.c:984: error: syntax error before '*' token
qif.c: In function `qif_fromill':
qif.c:990: error: `ill' undeclared (first use in this function)
qif.c: In function `qif_illrouteto':
qif.c:1010: error: `ire_t' undeclared (first use in this function)
qif.c:1010: error: `dir' undeclared (first use in this function)
qif.c:1011: error: `ill_t' undeclared (first use in this function)
qif.c:1011: error: `il' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `qif.o'
Current working directory /home/khuraskin/pfil/SunOS
*** Error code 1
make: Fatal error: Command failed for target `package'
# uname -a
SunOS NetServer-3R 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire-V240
# gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
Best regards,
Alexander