Yes... It compiles clean now. Yours,
-- Sum > > Does this help? > > Darren > > Index: ip_fil.c > =================================================================== > RCS file: /devel/CVS/IP-Filter/ip_fil.c,v > retrieving revision 2.168.2.2 > diff -u -r2.168.2.2 ip_fil.c > --- ip_fil.c 31 Jan 2010 10:40:32 -0000 2.168.2.2 > +++ ip_fil.c 16 Mar 2010 01:25:11 -0000 > @@ -14,10 +14,6 @@ > #include "md5.h" > > > -#if !defined(__osf__) && !defined(__linux__) > -extern struct protosw inetsw[]; > -#endif > - > #include "ipt.h" > > ipf_main_softc_t ipfmain; > > > On Tue, 23 Mar 2010 23:36 -0700, "Summum Bonum" <[email protected]> > wrote: > > There is still issue: > > > > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 -c > > ./../tools/ipf.c -o sparcv7/ipf.o > > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 -c > > ./../tools/ipfcomp.c -o sparcv7/ipfcomp.o > > (cd ../../tools; make "DEST=../SunOS5/sparc-5.10" > > ./SunOS5/sparc-5.10/ipf_y.c) > > yacc -v -d ipf_y.y > > > > conflicts: 8 shift/reduce, 14 reduce/reduce > > sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.c/' \ > > -e 's/"ipf_y.y"/"..\/tools\/ipf_y.y"/' \ > > y.tab.c > ../SunOS5/sparc-5.10/ipf_y.c > > sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.h/' y.tab.h > > > ./SunOS5/sparc-5.10/ipf_y.h > > /bin/rm -f y.tab.c y.tab.h > > (cd ../../tools; make "DEST=../SunOS5/sparc-5.10" > > ./SunOS5/sparc-5.10/ipf_l.h) > > sed -e 's/yy/ipf_yy/g' lexer.h > ../SunOS5/sparc-5.10/ipf_l.h > > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 -c ipf_y.c > > -o sparcv7/ipf_y.o > > (cd ../../tools; make "DEST=../SunOS5/sparc-5.10" > > ./SunOS5/sparc-5.10/ipf_l.c) > > sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.h/' \ > > -e 's/lexer.h/ipf_l.h/' lexer.c > ../SunOS5/sparc-5.10/ipf_l.c > > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 -I. > > -I../../tools -c ipf_l.c -o sparcv7/ipf_l.o > > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 > > sparcv7/ipf.o sparcv7/ipfcomp.o sparcv7/ipf_y.o sparcv7/ipf_l.o -o > > sparcv7/ipf.exe -lsocket -lnsl -lelf -Lsparcv7 -lipf -ll > > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 \ > > -c ../../tools/ipfstat.c -o sparcv7/ipfstat.o > > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 > > sparcv7/ipfstat.o -o sparcv7/ipfstat -lsocket -lnsl -lelf -Lsparcv7 > > -lipf -lkvm > > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 -c > > ./../tools/ipftest.c -o sparcv7/ipftest.o > > gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 > > -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SYNC -DIPFILTER_CKSUM -c > > ./../ip_fil.c -o sparcv7/ip_fil_u.o > > ./../ip_fil.c:18: error: array type has incomplete element type > > *** Error code 1 > > make: Fatal error: Command failed for target `sparcv7/ip_fil_u.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' > > > > This is tested on Kernel version: SunOS 5.10 Generic_142900-06 > > > > > > Yours, > > > > -- Sum > > > > > > > > The v5-1-RELEASE branch in CVS on sourceforge should now compile cleanly. > > > > > > Darren > > > > > > > >
