/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */



G'day,
        I am wondering if anyone know how to get around these errors when I
try to compile ipportfw.c (used in IP Masquerading)


ipportfw.c:100: warning: `struct ip_portfw_edits' declared inside
parameter list
ipportfw.c:100: warning: its scope is only this definition or
declaration,
ipportfw.c:100: warning: which is probably not what you want.
ipportfw.c: In function `main':
ipportfw.c:111: storage size of `pfw' isn't known
ipportfw.c:125: `IP_PORTFW_ADD' undeclared (first use this function)
ipportfw.c:125: (Each undeclared identifier is reported only once
ipportfw.c:125: for each function it appears in.)
ipportfw.c:130: `IP_PORTFW_DEL' undeclared (first use this function)
ipportfw.c:135: `IP_PORTFW_FLUSH' undeclared (first use this function)
ipportfw.c: In function `parse_addressport':
ipportfw.c:222: `IP_PORTFW_PORT_MIN' undeclared (first use this
function)
ipportfw.c:222: `IP_PORTFW_PORT_MAX' undeclared (first use this
function)
ipportfw.c: At top level:
ipportfw.c:252: warning: `struct ip_portfw_edits' declared inside
parameter list
ipportfw.c:253: conflicting types for `do_setsockopt'
ipportfw.c:100: previous declaration of `do_setsockopt'

I found reference to this in the archives but the answers given did not
help.
I do have the correct links as suggested by others.

I have Slackware 3.6 and 4.0 (libc5 and libc6), both give the same
errors.

Alternatively, is there a binary that will work for me somewhere?

Thanks, Dave.
-- 
David Ryan - [EMAIL PROTECTED]    http://www.snowy.net.au
Smart Radio Systems Phone: 02 64525555   Fax: 02 64524317
Cooma, NSW 2630, Australia



_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to