Skip to contentSkip to conversation

Compile error

DISCUSSION Don Hughes 2 participants 2 messages Jul 24, 2004 – Jul 25, 2004

lore
Share & tools
lore

Don Hughes

author
#0 lore raw

I am trying to recompile iptables under SuSE 9.1 to add the time module and get the following when issuing a make:

In file included from /usr/src/linux/include/linux/netfilter_ipv4.h:11,
from
/usr/src/linux/include/linux/netfilter_ipv4/ip_tab les.h:25,
from include/libiptc/libiptc.h:6, from include/iptables.h:5, from extensions/libipt_ah.c:8:
/usr/src/linux/include/net/protocol.h:39: warning:
`struct sk_buff' declared inside parameter list /usr/src/linux/include/net/protocol.h:39: warning:
its scope is only this definition or declaration, which is probably not what you want /usr/src/linux/include/net/protocol.h:40: error:
parse error before "u32" /usr/src/linux/include/net/protocol.h:40: warning:
`struct sk_buff' declared inside parameter list /usr/src/linux/include/net/protocol.h:48: warning:
`struct sk_buff' declared inside parameter list /usr/src/linux/include/net/protocol.h:53: warning:
`struct inet6_skb_parm' declared inside parameter list /usr/src/linux/include/net/protocol.h:53: warning:
`struct sk_buff' declared inside parameter list /usr/src/linux/include/net/protocol.h:63: error:
field `list' has incomplete type
make: *** [extensions/libipt_ah_sh.o] Error 1

I have spent 3 weeks trying to resolve this with no luck. Any help would be appreciated.

..don

[email protected]
White Plains, NY

#1 lore raw

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Don Hughes
Sent: Saturday, July 24, 2004 8:55 AM
To: [email protected]
Subject: Compile error

I am trying to recompile iptables under SuSE 9.1 to add the time module and get the following when issuing a make:

Recompiling the kernel and iptables is not always the easiest task. You must get EVERYTHING right for things to be successful. You have not provided enough information yet to diagnose the problem. This information is needed:

1. The exact commands you have used for the configuration and building process for any changes made to either iptables or the netfilter elements within the kernel.

2. What is your kernel version? I believe SUSE 9.1 stock uses 2.6.?, but confirm this.

3. Did you apply POM, or in this case POM-NG?