Hello list!

I Just wanted to try out the 4.1.11 version. But:

% make solaris
[...]
gcc -I. -g -I../.. -D_BSD_SOURCE  -DSOLARIS2=9 -DIPFILTER_LOG -DIPFILTER_LOOKUP 
 -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_log.c -o 
ip_log_u.o
../../ip_log.c:148: error: array type has incomplete element type
*** Error code 1
make: Fatal error: Command failed for target `ip_log_u.o'
Current working directory /local/local/src/ip_fil4.1.11/SunOS5/sparc-5.9
*** Error code 1
make: Fatal error: Command failed for target `sunos5'
Current working directory /local/local/src/ip_fil4.1.11
make: *** [solaris] Error 1


# uname -a
SunOS tor 5.9 Generic_112233-08 sun4m sparc SUNW,SPARCstation-10


# gcc --version
gcc (GCC) 4.1.0

pfil 2.1.8 is installed.

The offending line is:

extern struct pollhead iplpollhead[IPL_LOGSIZE];

I am not able to find the definition of pollhead after a quick
search. Someone acquainted with the code might spot this faster
than I will. This might have to do with new "strictness" in the
gcc 4.1.0 ??

Regards:                        Håkan

Attachment: pgpyCz86Nkll6.pgp
Description: PGP signature

Reply via email to