Yes, I got the same error on my Solaris 10/x86

Building 4.1.8 was easy and successful.

Victor Belous

Koef wrote:

[~/ip_fil4.1.9] [EMAIL PROTECTED] uname -a
SunOS doos 5.10 Generic_118844-08 i86pc i386 i86pc
[~/ip_fil4.1.9] [EMAIL PROTECTED] gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
[~/ip_fil4.1.9] [EMAIL PROTECTED] /usr/ccs/bin/make solaris

....

gcc -I. -g -I../.. -D_BSD_SOURCE  -DSOLARIS2=10 -DIPFILTER_LOG
-DIPFILTER_LOOKUP  -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c
../../ip_sync.c -o ip_sync_u.o
../../ip_sync.c: In function `pfsync_storder':
../../ip_sync.c:232: warning: passing arg 1 of `htonl' makes integer from
pointer without a cast
../../ip_sync.c:232: error: incompatible types in assignment
../../ip_sync.c:233: warning: passing arg 1 of `htonl' makes integer from
pointer without a cast
../../ip_sync.c:233: error: incompatible types in assignment
../../ip_sync.c:247: warning: passing arg 1 of `ntohl' makes integer from
pointer without a cast
../../ip_sync.c:247: error: incompatible types in assignment
../../ip_sync.c:248: warning: passing arg 1 of `ntohl' makes integer from
pointer without a cast
../../ip_sync.c:248: error: incompatible types in assignment
*** Error code 1
make: Fatal error: Command failed for target `p_sync_u.o'
Current working directory /home/koef/ip_fil4.1.9/SunOS5/i386-5.10
*** Error code 1
make: Fatal error: Command failed for target `sunos5'

Thanks,


Reply via email to