Modify ↓
Opened 7 years ago
Closed 6 years ago
#8504 closed defect (worksforme)
iptables 1.4.0 doesnt build in trunk
Reported by: | ßŋø | Owned by: | developers |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | packages | Version: | Trunk |
Keywords: | Cc: |
Description
snip
make[4]: Entering directory `/usr/src/openwrt/trunk/build_dir/linux-atheros/iptables-1.4.10' Making all in extensions make[5]: Entering directory `/usr/src/openwrt/trunk/build_dir/linux-atheros/iptables-1.4.10/extensions' ccache mips-openwrt-linux-uclibc-gcc -Wp,-MMD,./.libxt_layer7.oo.d,-MT,libxt_layer7.oo -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe -DXTABLES_LIBDIR=\"/usr/lib/iptables\" -DXTABLES_INTERNAL -I../include -I../include -I /usr/src/openwrt/trunk/build_dir/linux-atheros/linux-2.6.32.27/include -I /usr/src/openwrt/trunk/build_dir/linux-atheros/linux-2.6.32.27/include -D_INIT=libxt_layer7_init -DPIC -fPIC -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -I/usr/src/openwrt/trunk/build_dir/linux-atheros/iptables-1.4.10/include -I/usr/src/openwrt/trunk/build_dir/linux-atheros/linux-2.6.32.27/arch/mips/include -o libxt_layer7.oo -c libxt_layer7.c; libxt_layer7.c:25:39: warning: linux/netfilter/xt_layer7.h: No such file or directory libxt_layer7.c:48: warning: 'struct xt_layer7_info' declared inside parameter list libxt_layer7.c:48: warning: its scope is only this definition or declaration, which is probably not what you want libxt_layer7.c: In function 'parse_protocol_file': libxt_layer7.c:92: error: 'MAX_PROTOCOL_LEN' undeclared (first use in this function) libxt_layer7.c:92: error: (Each undeclared identifier is reported only once libxt_layer7.c:92: error: for each function it appears in.) libxt_layer7.c:95: error: dereferencing pointer to incomplete type libxt_layer7.c:101: error: 'MAX_PATTERN_LEN' undeclared (first use in this function) libxt_layer7.c:103: error: dereferencing pointer to incomplete type libxt_layer7.c: At top level: libxt_layer7.c:249: warning: 'struct xt_layer7_info' declared inside parameter list libxt_layer7.c: In function 'parse_layer7_protocol': libxt_layer7.c:270: warning: passing argument 3 of 'parse_protocol_file' from incompatible pointer type libxt_layer7.c:284: error: dereferencing pointer to incomplete type libxt_layer7.c:284: error: dereferencing pointer to incomplete type libxt_layer7.c:284: error: 'MAX_PATTERN_LEN' undeclared (first use in this function) libxt_layer7.c: In function 'parse': libxt_layer7.c:296: warning: passing argument 2 of 'parse_layer7_protocol' from incompatible pointer type libxt_layer7.c:298: error: dereferencing pointer to incomplete type libxt_layer7.c: In function 'print': libxt_layer7.c:339: error: dereferencing pointer to incomplete type libxt_layer7.c:340: error: dereferencing pointer to incomplete type libxt_layer7.c: In function 'save': libxt_layer7.c:348: error: dereferencing pointer to incomplete type libxt_layer7.c:348: error: dereferencing pointer to incomplete type libxt_layer7.c: At top level: libxt_layer7.c:355: error: invalid application of 'sizeof' to incomplete type 'struct xt_layer7_info' libxt_layer7.c:355: error: invalid application of 'sizeof' to incomplete type 'struct xt_layer7_info' libxt_layer7.c:355: error: invalid application of 'sizeof' to incomplete type 'struct xt_layer7_info' libxt_layer7.c:356: error: invalid application of 'sizeof' to incomplete type 'struct xt_layer7_info' libxt_layer7.c:356: error: invalid application of 'sizeof' to incomplete type 'struct xt_layer7_info' libxt_layer7.c:356: error: invalid application of 'sizeof' to incomplete type 'struct xt_layer7_info' make[5]: *** [libxt_layer7.oo] Error 1 make[5]: Leaving directory `/usr/src/openwrt/trunk/build_dir/linux-atheros/iptables-1.4.10/extensions'
Attachments (0)
Change History (2)
comment:1 Changed 7 years ago by vyned
comment:2 Changed 6 years ago by nbd
- Resolution set to worksforme
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
I had the same problem, linux kernel includes are not extracted from sources:
make target/linux/prepare
solves it.