Skip to contentSkip to conversation

hppa and s390 build error, 1.2.9 + 2.4.24 headers

DISCUSSION Laurence J. Lane 3 participants 4 messages Feb 13, 2004 – Mar 1, 2004 1 message not in the archive netfilter

lore
Share & tools
lore
#0 lore raw

Does anyone have an idea of what is going wrong in the error below? It happens on s390 and hppa with 2.4.24 headers. Both build fine with 2.4.19 headers.

full s390 build log: http://shorl.com/dufrustabulifra
full hppa build log: http://shorl.com/fiprysabopesti
all build logs: http://shorl.com/devufetiprahu

failed hppa build excerpt:

cc -O2 -Wall -Wunused -I/build/buildd/iptables-1.2.9/debian/build/linux-2.4.24/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.9\" -fPIC -o extensions/libipt_connlimit_sh.o -c extensions/libipt_connlimit.c In file included from /build/buildd/iptables-1.2.9/debian/build/linux-2.4.24/include/linux/netfilter_ipv4/ip_conntrack.h:52,
from extensions/libipt_connlimit.c:9:
/build/buildd/iptables-1.2.9/debian/build/linux-2.4.24/include/linux/netfilter_ipv4/ip_conntrack_icmp.h:9: error: parse error before "atomic_t" /build/buildd/iptables-1.2.9/debian/build/linux-2.4.24/include/linux/netfilter_ipv4/ip_conntrack_icmp.h:9: warning: no semicolon at end of struct or union
In file included from extensions/libipt_connlimit.c:9:
/build/buildd/iptables-1.2.9/debian/build/linux-2.4.24/include/linux/netfilter_ipv4/ip_conntrack.h:58: error: field `icmp' has incomplete type
make[1]: *** [extensions/libipt_connlimit_sh.o] Error 1

#1 lore raw
Quoted 3 lines · Laurence J. Lane

Does anyone have an idea of what is going wrong in the error below? It happens on s390 and hppa with 2.4.24 headers. Both build fine with 2.4.19 headers.

Unfortunately I don't have access to any of those machines to further debug the problem.

Quoted 3 lines

failed hppa build excerpt:

/build/buildd/iptables-1.2.9/debian/build/linux-2.4.24/include/linux/netfilter_ipv4/ip_conntrack_icmp.h:9: error: parse error before "atomic_t"

this sounds like some problem with atomic_t in an include file of a userspace program (iptables in this case).

However, the typedef for atomic_t (asm-s390/atomic.h) looks quite fine to me.

Is there anything special about kernel/userspace toolchain on those architectures (like different compiler versions, ...)?

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
#3 lore raw
In reply to a message not in the archive
Quoted 4 lines · Laurence J. Lane
Quoted 2 lines

Unfortunately I don't have access to any of those machines to further debug the problem.

Debian affords many. Sign up to become a developer:

Sorry, but I'm definitely not going through the time-consuming process of becoming a debian developer, just to hunt down a problem in the build process of S/390.

Either there is somebody seriously interested in getting this running on S/390 and thus at least provide me access to such a machine, or the issue is not that important after all.

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
#4 lore raw
Quoted 8 lines · Harald Welte
Quoted 4 lines
Quoted 2 lines

Unfortunately I don't have access to any of those machines to further debug the problem.

Debian affords many. Sign up to become a developer:

Sorry, but I'm definitely not going through the time-consuming process of becoming a debian developer, just to hunt down a problem in the build process of S/390.

I was mostly joking, but there are many benefits available to developers and free software projects. It takes talented volunteers to make it happen. You're still invited to sign up.

Quoted 3 lines

Either there is somebody seriously interested in getting this running on S/390 and thus at least provide me access to such a machine, or the issue is not that important after all.

I copied the atomic_t typedef from asm/atomic.h to make it build.

I suspect a gcc bug.