Summum Bonum wrote: > Ok I did a cvs update and then the compilation got a little further, > but dies on ip_fil_solaris.c, where function net_routeto has only two > arguments and it needs three: > > > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 > -DLOGFAC=LOG_LOCAL0 > -c ../../tools/ipmon.c -o sparcv7/ipmon.o > (cd ../../tools; make DEST=../SunOS5/sparc-5.10 > ../SunOS5/sparc-5.10/ipmon_y.c) > yacc -v -d ipmon_y.y > sed -e 's/yy/ipmon_yy/g' -e 's/"ipmon_y.y"/"..\/tools\/ipmon_y.y"/' \ > y.tab.c > ../SunOS5/sparc-5.10/ipmon_y.c > sed -e 's/yy/ipmon_yy/g' y.tab.h > ../SunOS5/sparc-5.10/ipmon_y.h > /bin/rm -f y.tab.c y.tab.h > mv ipmon_y.c y.tab.c > sed -e 's/extern [a-z]* .*();//' \ > -e 's/^\(static [a-z]* .*\)();/\1(void);/' y.tab.c > ipmon_y.c > /bin/rm -f y.tab.c > (cd ../../tools; make DEST=../SunOS5/sparc-5.10 > ../SunOS5/sparc-5.10/ipmon_l.h) > sed -e 's/yy/ipmon_yy/g' lexer.h > ../SunOS5/sparc-5.10/ipmon_l.h > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 -c ipmon_y.c -o > spa > rcv7/ipmon_y.o > (cd ../../tools; make DEST=../SunOS5/sparc-5.10 > ../SunOS5/sparc-5.10/ipmon_l.c) > sed -e 's/yy/ipmon_yy/g' -e 's/y.tab.h/ipmon_y.h/' \ > -e 's/lexer.h/ipmon_l.h/' lexer.c > ../SunOS5/sparc-5.10/ipmon_l.c > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 -I. > -I../../tools - > c ipmon_l.c -o sparcv7/ipmon_l.o > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 > -DLOGFAC=LOG_LOCAL0 > sparcv7/ipmon.o sparcv7/ipmon_y.o sparcv7/ipmon_l.o -o sparcv7/ipmon > -lsocket - > lnsl -lelf -Lsparcv7 -lipf -ll -ldl > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 -c > ../../tools/ipna > t.c -o sparcv7/ipnat.o > gcc -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 sparcv7/ipnat.o > sparcv7/ip > nat_y.o sparcv7/ipnat_l.o -o sparcv7/ipnat -lsocket -lnsl -lelf -Lsparcv7 > -lipf > -lkvm -ll > gcc -I../.. -DIPFILTER_LKM -I../../../pfil -D_KERNEL -DSUNDDI -DINSTANCES=1 > -DS > OLARIS2=10 -DIPFILTER_LOG -DIPFILTER_SYNC -c ../../ip_fil_solaris.c -o > sparcv > 7/ip_fil.o > ./../ip_fil_solaris.c: In function 'ipf_routeto': > ./../ip_fil_solaris.c:1413: error: too few arguments to function 'net_routeto' > *** Error code 1 > make: Fatal error: Command failed for target `sparcv7/ip_fil.o' > Current working directory /tmp/sum/ipfilter/SunOS5/sparc-5.10 > *** Error code 1 > make: Fatal error: Command failed for target `sunos5' > Current working directory /tmp/sum/ipfilter > *** Error code 1 > make: Fatal error: Command failed for target `solaris' >
Another "cvs update" should fix this. Darren
