Compile problem

Joseph Tam <[email protected]>
Newsgroups gmane.comp.security.firewalls.ipfilter
Message-ID <[email protected]>
I'm trying to build the latest ipfilter on Solaris 9 and get this error:

> ...
> ../../ip_fil_solaris.c:1150: error: too many arguments to function
> `pfil_sendbuf'

This looks like the magic bullet:

 	http://www.mail-archive.com/[email protected]/msg06391.html

Are you also compiling the latest pfil?  Also, I'm not sure whether Solaris9
suffers from the same problem as my Solaris8 build, but when you try to load
the pfil module and you see this in the kern syslog facility

 	unix: WARNING: mod_load: cannot load module 'pfil'
 	unix: /kernel/drv/sparcv9/pfil: undefined symbol
 	unix:  'memset'

you'll have to add the "-fno-hosted" flag to the gcc compile options.

By the way, does anyone know whether I apply the Solaris8 package to
a Solaris9 system, or I necessarily have to build a Solaris9 specific
package?

Joseph Tam <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.