Fix your Solaris installation is probably the key. In other words, I 
could not reproduce your problem on my one remaining Solaris 2.6 box. The 
error below suggests you are using a copy of 'as' that is incompatible 
with ip_filter.


>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 5/7/02, 3:44:12 AM, "Kenny Lo" <[EMAIL PROTECTED]> wrote regarding 
install ipfilter 3.4.27 to solaris 5.6:


> I got the following error message during ipfilter installation at solaris
> 5.6 sparc platform.

> if [ ! -f netinet/done ] ; then \
>         (cd netinet; ln -s ../*.h .; ln -s ../ip_*_pxy.c .; ); \
>         (cd netinet; ln -s ../ipsend/tcpip.h tcpip.h); \
>         touch netinet/done; \
> fi
> CC="gcc -Wstrict-prototypes -Wmissing-prototypes" ./buildsunos
> build 32 bit binaries.
> (cd SunOS5/sparc-5.6; make build TOP=../.. "CC=gcc -m32"
> "BINDEST=/usr/local/bin" "SBINDEST=/sbin" "MANDIR=/usr/local/man"
> 'CFLAGS=-I$(TOP)  -DSOLARIS2=6  -DIPFILTER_LOG'  "IPFLOG=-DIPFILTER_LOG"
> "LOGFAC=-DLOGFAC=LOG_LOCAL0" "POLICY=-DIPF_DEFAULT_PASS=FR_PASS"
> "SOLARIS2=-DSOLARIS2=6" "DEBUG=-g" "DCPU="  "CPUDIR=sparc-5.6"
> 'STATETOP_CFLAGS=-DSTATETOP'  'STATETOP_INC=' 'STATETOP_LIB=-lcurses'
> "BITS=32" "OBJ=." "IPFLKM=-DIPFILTER_LKM" "SOLARIS2=-DSOLARIS2=6"
> "CPU=-Dsparc -D__sparc__"; cd ..)
> gcc -m32 -g -I../..  -DSOLARIS2=6  -DIPFILTER_LOG -c ../../ipf.c -o ipf.o
> /usr/ccs/bin/as: "/var/tmp/ccRx9xaM.s", line 1142: error: unknown opcode
> ".subsection"
> /usr/ccs/bin/as: "/var/tmp/ccRx9xaM.s", line 1142: error: statement 
syntax
> /usr/ccs/bin/as: "/var/tmp/ccRx9xaM.s", line 1214: error: unknown opcode
> ".previous"
> /usr/ccs/bin/as: "/var/tmp/ccRx9xaM.s", line 1214: error: statement 
syntax
> *** Error code 1
> make: Fatal error: Command failed for target `ipf.o'
> Current working directory /tmp/ip_fil3.4.27/SunOS5/sparc-5.6
> *** Error code 1
> make: Fatal error: Command failed for target `sunos5'
> Current working directory /tmp/ip_fil3.4.27
> *** Error code 1
> make: Fatal error: Command failed for target `solaris'

> Could anyone please advise how to fix it.

Reply via email to