Modify ↓
#5044 closed defect (fixed)
linuxigd does not compile due to several source errors (incomplete & undefined types, etc.)
Reported by: | Maddes <maddes_trac@…> | Owned by: | developers |
---|---|---|---|
Priority: | normal | Milestone: | Barrier Breaker 14.07 |
Component: | packages | Version: | Trunk |
Keywords: | Cc: |
Description
Revision: r15557
Build Environment: Debian 5.0
Target: Marvel Orion, SquashFS image
Call: make V=99
Error:
make[4]: Entering directory `/home/openwrt/kamikaze-trunk/build_dir/target-arm_uClibc-0.9.29/linuxigd-1.0' arm-openwrt-linux-uclibcgnueabi-gcc -Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time -fhonour-copts -msoft-float -I/home/openwrt/kamikaze-trunk/staging_dir/target-arm_uClibc-0.9.29/usr/include -I../include -I/home/openwrt/kamikaze-trunk/staging_dir/target-arm_uClibc-0.9.29/usr/include -DHAVE_LIBIPTC -D_GNU_SOURCE -c main.c arm-openwrt-linux-uclibcgnueabi-gcc -Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time -fhonour-copts -msoft-float -I/home/openwrt/kamikaze-trunk/staging_dir/target-arm_uClibc-0.9.29/usr/include -I../include -I/home/openwrt/kamikaze-trunk/staging_dir/target-arm_uClibc-0.9.29/usr/include -DHAVE_LIBIPTC -D_GNU_SOURCE -c gatedevice.c arm-openwrt-linux-uclibcgnueabi-gcc -Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time -fhonour-copts -msoft-float -I/home/openwrt/kamikaze-trunk/staging_dir/target-arm_uClibc-0.9.29/usr/include -I../include -I/home/openwrt/kamikaze-trunk/staging_dir/target-arm_uClibc-0.9.29/usr/include -DHAVE_LIBIPTC -D_GNU_SOURCE -c pmlist.c arm-openwrt-linux-uclibcgnueabi-gcc -Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time -fhonour-copts -msoft-float -I/home/openwrt/kamikaze-trunk/staging_dir/target-arm_uClibc-0.9.29/usr/include -I../include -I/home/openwrt/kamikaze-trunk/staging_dir/target-arm_uClibc-0.9.29/usr/include -DHAVE_LIBIPTC -D_GNU_SOURCE -c util.c arm-openwrt-linux-uclibcgnueabi-gcc -Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time -fhonour-copts -msoft-float -I/home/openwrt/kamikaze-trunk/staging_dir/target-arm_uClibc-0.9.29/usr/include -I../include -I/home/openwrt/kamikaze-trunk/staging_dir/target-arm_uClibc-0.9.29/usr/include -DHAVE_LIBIPTC -D_GNU_SOURCE -c config.c arm-openwrt-linux-uclibcgnueabi-gcc -Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time -fhonour-copts -msoft-float -I/home/openwrt/kamikaze-trunk/staging_dir/target-arm_uClibc-0.9.29/usr/include -I../include -I/home/openwrt/kamikaze-trunk/staging_dir/target-arm_uClibc-0.9.29/usr/include -DHAVE_LIBIPTC -D_GNU_SOURCE -c iptc.c iptc.c:11:36: error: linux/netfilter/nf_nat.h: No such file or directory iptc.c:23: error: field 'mr' has incomplete type iptc.c:34: warning: 'struct ip_nat_range' declared inside parameter list iptc.c:34: warning: its scope is only this definition or declaration, which is probably not what you want iptc.c:35: warning: 'struct ip_nat_range' declared inside parameter list iptc.c: In function 'iptc_add_rule': iptc.c:52: error: 'iptc_handle_t' undeclared (first use in this function) iptc.c:52: error: (Each undeclared identifier is reported only once iptc.c:52: error: for each function it appears in.) iptc.c:52: error: expected ';' before 'handle' iptc.c:116: error: 'handle' undeclared (first use in this function) iptc.c: In function 'iptc_delete_rule': iptc.c:162: error: 'iptc_handle_t' undeclared (first use in this function) iptc.c:162: error: expected ';' before 'handle' iptc.c:171: error: 'handle' undeclared (first use in this function) iptc.c:197: error: storage size of 'range' isn't known iptc.c:202: error: dereferencing pointer to incomplete type iptc.c:203: error: dereferencing pointer to incomplete type iptc.c:205: error: dereferencing pointer to incomplete type iptc.c:206: error: dereferencing pointer to incomplete type iptc.c:207: error: dereferencing pointer to incomplete type iptc.c:208: error: dereferencing pointer to incomplete type iptc.c:209: error: dereferencing pointer to incomplete type iptc.c: In function 'get_dnat_target': iptc.c:321: error: storage size of 'range' isn't known iptc.c:330: error: invalid application of 'sizeof' to incomplete type 'struct ip_nat_multi_range' iptc.c: At top level: iptc.c:391: warning: 'struct ip_nat_range' declared inside parameter list iptc.c:391: error: conflicting types for 'parse_range' iptc.c:34: error: previous declaration of 'parse_range' was here iptc.c: In function 'parse_range': iptc.c:396: error: dereferencing pointer to incomplete type iptc.c:402: error: dereferencing pointer to incomplete type iptc.c:402: error: 'IP_NAT_RANGE_PROTO_SPECIFIED' undeclared (first use in this function) iptc.c:407: error: dereferencing pointer to incomplete type iptc.c:408: error: dereferencing pointer to incomplete type iptc.c:414: error: dereferencing pointer to incomplete type iptc.c:415: error: dereferencing pointer to incomplete type iptc.c:425: error: dereferencing pointer to incomplete type iptc.c:425: error: 'IP_NAT_RANGE_MAP_IPS' undeclared (first use in this function) iptc.c:434: error: dereferencing pointer to incomplete type iptc.c:437: error: dereferencing pointer to incomplete type iptc.c:439: error: dereferencing pointer to incomplete type iptc.c:439: error: dereferencing pointer to incomplete type iptc.c: At top level: iptc.c:447: warning: 'struct ip_nat_range' declared inside parameter list iptc.c:447: error: conflicting types for 'append_range' iptc.c:35: error: previous declaration of 'append_range' was here iptc.c: In function 'append_range': iptc.c:451: error: dereferencing pointer to incomplete type iptc.c:456: error: dereferencing pointer to incomplete type make[4]: *** [iptc.o] Error 1 make[4]: Leaving directory `/home/openwrt/kamikaze-trunk/build_dir/target-arm_uClibc-0.9.29/linuxigd-1.0'
Attachments (0)
Change History (2)
comment:1 Changed 9 years ago by florian
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 4 years ago by jow
- Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07
Milestone Attitude Adjustment 12.09 deleted
Note: See
TracTickets for help on using
tickets.
Fixed with [15622].