Modify

Opened 6 years ago

Last modified 4 years ago

#11857 accepted defect

(x86) platform - Quagga compilation erron (ospf6d)

Reported by: anonymous Owned by: acinonyx
Priority: response-needed Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description (last modified by florian)

make[6]: Entering directory `/mnt/storage1/vassilis/trunk/build_dir/target-i386_uClibc-0.9.33.2/quagga-0.99.21/ospf6d'
i486-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/quagga/\" -I. -I.. -I.. -I.. -I../lib   -I/mnt/storage1/vassilis/trunk/staging_dir/target-i386_uClibc-0.9.33.2/usr/include -I/mnt/storage1/vassilis/trunk/staging_dir/target-i386_uClibc-0.9.33.2/include -I/mnt/storage1/vassilis/trunk/staging_dir/toolchain-i386_gcc-4.7-linaro_uClibc-0.9.33.2/usr/include -I/mnt/storage1/vassilis/trunk/staging_dir/toolchain-i386_gcc-4.7-linaro_uClibc-0.9.33.2/include   -O2 -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -std=gnu99 -MT ospf6_network.o -MD -MP -MF .deps/ospf6_network.Tpo -c -o ospf6_network.o ospf6_network.c
ospf6_network.c: In function 'ospf6_set_pktinfo':
ospf6_network.c:63:3: warning: implicit declaration of function 'setsockopt_ipv6_pktinfo' [-Wimplicit-function-declaration]
ospf6_network.c: In function 'ospf6_set_transport_class':
ospf6_network.c:70:3: warning: implicit declaration of function 'setsockopt_ipv6_tclass' [-Wimplicit-function-declaration]
mv -f .deps/ospf6_network.Tpo .deps/ospf6_network.Po
i486-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/quagga/\" -I. -I.. -I.. -I.. -I../lib   -I/mnt/storage1/vassilis/trunk/staging_dir/target-i386_uClibc-0.9.33.2/usr/include -I/mnt/storage1/vassilis/trunk/staging_dir/target-i386_uClibc-0.9.33.2/include -I/mnt/storage1/vassilis/trunk/staging_dir/toolchain-i386_gcc-4.7-linaro_uClibc-0.9.33.2/usr/include -I/mnt/storage1/vassilis/trunk/staging_dir/toolchain-i386_gcc-4.7-linaro_uClibc-0.9.33.2/include   -O2 -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -std=gnu99 -MT ospf6_message.o -MD -MP -MF .deps/ospf6_message.Tpo -c -o ospf6_message.o ospf6_message.c
mv -f .deps/ospf6_message.Tpo .deps/ospf6_message.Po
i486-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/quagga/\" -I. -I.. -I.. -I.. -I../lib   -I/mnt/storage1/vassilis/trunk/staging_dir/target-i386_uClibc-0.9.33.2/usr/include -I/mnt/storage1/vassilis/trunk/staging_dir/target-i386_uClibc-0.9.33.2/include -I/mnt/storage1/vassilis/trunk/staging_dir/toolchain-i386_gcc-4.7-linaro_uClibc-0.9.33.2/usr/include -I/mnt/storage1/vassilis/trunk/staging_dir/toolchain-i386_gcc-4.7-linaro_uClibc-0.9.33.2/include   -O2 -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -std=gnu99 -MT ospf6_lsa.o -MD -MP -MF .deps/ospf6_lsa.Tpo -c -o ospf6_lsa.o ospf6_lsa.c
mv -f .deps/ospf6_lsa.Tpo .deps/ospf6_lsa.Po
i486-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/quagga/\" -I. -I.. -I.. -I.. -I../lib   -I/mnt/storage1/vassilis/trunk/staging_dir/target-i386_uClibc-0.9.33.2/usr/include -I/mnt/storage1/vassilis/trunk/staging_dir/target-i386_uClibc-0.9.33.2/include -I/mnt/storage1/vassilis/trunk/staging_dir/toolchain-i386_gcc-4.7-linaro_uClibc-0.9.33.2/usr/include -I/mnt/storage1/vassilis/trunk/staging_dir/toolchain-i386_gcc-4.7-linaro_uClibc-0.9.33.2/include   -O2 -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -std=gnu99 -MT ospf6_lsdb.o -MD -MP -MF .deps/ospf6_lsdb.Tpo -c -o ospf6_lsdb.o ospf6_lsdb.c
ospf6_lsdb.c:63:28: warning: 'struct prefix_ipv6' declared inside parameter list [enabled by default]
ospf6_lsdb.c:63:28: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
ospf6_lsdb.c: In function 'ospf6_lsdb_set_key':
ospf6_lsdb.c:65:3: error: dereferencing pointer to incomplete type
ospf6_lsdb.c:67:25: error: dereferencing pointer to incomplete type
ospf6_lsdb.c:67:39: error: dereferencing pointer to incomplete type
ospf6_lsdb.c:69:6: error: dereferencing pointer to incomplete type
ospf6_lsdb.c:70:6: error: dereferencing pointer to incomplete type
ospf6_lsdb.c: In function 'ospf6_lsdb_add':
ospf6_lsdb.c:104:22: error: storage size of 'key' isn't known
ospf6_lsdb.c: In function 'ospf6_lsdb_remove':
ospf6_lsdb.c:212:22: error: storage size of 'key' isn't known
ospf6_lsdb.c: In function 'ospf6_lsdb_lookup':
ospf6_lsdb.c:245:22: error: storage size of 'key' isn't known
ospf6_lsdb.c: In function 'ospf6_lsdb_lookup_next':
ospf6_lsdb.c:267:22: error: storage size of 'key' isn't known
ospf6_lsdb.c: In function 'ospf6_lsdb_type_router_head':
ospf6_lsdb.c:372:22: error: storage size of 'key' isn't known
ospf6_lsdb.c: In function 'ospf6_lsdb_type_head':
ospf6_lsdb.c:428:22: error: storage size of 'key' isn't known
make[6]: *** [ospf6_lsdb.o] Error 1
make[6]: Leaving directory `/mnt/storage1/vassilis/trunk/build_dir/target-i386_uClibc-0.9.33.2/quagga-0.99.21/ospf6d'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/mnt/storage1/vassilis/trunk/build_dir/target-i386_uClibc-0.9.33.2/quagga-0.99.21'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/mnt/storage1/vassilis/trunk/build_dir/target-i386_uClibc-0.9.33.2/quagga-0.99.21'
make[3]: *** [/mnt/storage1/vassilis/trunk/build_dir/target-i386_uClibc-0.9.33.2/quagga-0.99.21/.built] Error 2
make[3]: Leaving directory `/mnt/storage1/vassilis/trunk/feeds/packages/net/quagga'
make[2]: *** [package/feeds/packages/quagga/compile] Error 2
make[2]: Leaving directory `/mnt/storage1/vassilis/trunk'
make[1]: *** [/mnt/storage1/vassilis/trunk/staging_dir/target-i386_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/mnt/storage1/vassilis/trunk'
make: *** [world] Error 2

Attachments (0)

Change History (11)

comment:1 follow-up: Changed 6 years ago by acinonyx

  • Owner changed from developers to acinonyx
  • Priority changed from normal to response-needed
  • Status changed from new to accepted

Do you have IPv6 support disabled?

comment:2 in reply to: ↑ 1 Changed 6 years ago by anonymous

Replying to acinonyx:

Do you have IPv6 support disabled?

What do i have to change in menuconfig in order to enable IPV6 by default ?
I think the compilation errors are caused from this ?

TIA for assistance.

comment:3 Changed 6 years ago by acinonyx

First, try 'make oldconfig' and then rebuild quagga to see if it fixes the problem. That would prevent building of IPv6 daemons if IPv6 support is disabled. I suspect that your config is out of sync.

If you want to add IPv6 support, enable 'Global build settings -> Enable IPV6 support in packages' option in menuconfig

comment:4 Changed 6 years ago by anonymous

Thank you for your suggestions.
I did what you proposed & it worked fine.
I disabled the global ipv6 support & i had no compilation errors, i will try to re-enable ipv6 support and i will report here. TY again.

comment:5 Changed 6 years ago by anonymous

Unfortunately when IPV6 is enabled from global settings , i see again compilation errors , so what is your advice ?

TIA for any assistance.

comment:6 Changed 6 years ago by acinonyx

Are you just rebuilding quagga package? You also need to rebuild the kernel when changing this option.

comment:7 Changed 6 years ago by anonymous

i rebuilded the kernel too , but still compilation errors as reported when ipv6 is enabled from global settings.

comment:8 Changed 6 years ago by acinonyx

Did you try to clean the package before rebuilding?

comment:9 Changed 6 years ago by anonymous

I did this too , and here are the results if ipv6 is enabled from global settings
(for babeld)

In file included from babel_zebra.c:48:0:
xroute.h:55:56: warning: 'struct prefix_ipv6' declared inside parameter list [enabled by default]
xroute.h:55:56: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
xroute.h:55:56: warning: 'struct zapi_ipv6' declared inside parameter list [enabled by default]
xroute.h:57:30: warning: 'struct prefix_ipv6' declared inside parameter list [enabled by default]
xroute.h:57:30: warning: 'struct zapi_ipv6' declared inside parameter list [enabled by default]
babel_zebra.c: In function 'babel_zebra_read_ipv6':
babel_zebra.c:89:22: error: storage size of 'api' isn't known
babel_zebra.c:92:24: error: storage size of 'prefix' isn't known
babel_zebra.c:97:29: error: invalid application of 'sizeof' to incomplete type 'struct zapi_ipv6'
babel_zebra.c:98:33: error: invalid application of 'sizeof' to incomplete type 'struct prefix_ipv6'
make[5]: * [babel_zebra.o] Error 1
make[5]:
* Waiting for unfinished jobs....
mv -f .deps/net.Tpo .deps/net.Po
make[5]: Leaving directory `/mnt/storage1/vassilis/trunk/build_dir/target-i386_uClibc-0.9.33.2/quagga-0.99.21/babeld'
make[4]: * [all-recursive] Error 1
make[4]: Leaving directory `/mnt/storage1/vassilis/trunk/build_dir/target-i386_uClibc-0.9.33.2/quagga-0.99.21'
make[3]:
* [all] Error 2
make[3]: Leaving directory `/mnt/storage1/vassilis/trunk/build_dir/target-i386_uClibc-0.9.33.2/quagga-0.99.21'
make[2]: * /mnt/storage1/vassilis/trunk/build_dir/target-i386_uClibc-0.9.33.2/quagga-0.99.21/.built Error 2
make[2]: Leaving directory `/mnt/storage1/vassilis/trunk/feeds/packages/net/quagga'
make[1]:
* [package/feeds/packages/quagga/compile] Error 2
make[1]: Leaving directory `/mnt/storage1/vassilis/trunk'
make: * [package/quagga/compile] Error 2

comment:10 Changed 5 years ago by florian

  • Description modified (diff)

comment:11 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as accepted .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.