Modify

Opened 6 years ago

Closed 6 years ago

Last modified 22 months ago

#6447 closed defect (fixed)

collectd 4.9.0 build fails

Reported by: jra@… Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: collectd build failure Cc: stephendwalker+openwrt@…

Description (last modified by hauke)

Building results in a string of errors, then abort. Here's the error output:

make[7]: Entering directory `/home/jra/src/openwrt/kamikaze-trunk/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.9.0/src'
/bin/bash ../libtool  --tag=CC   --mode=compile mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I.  -DPREFIX='"/usr"' -DCONFIGFILE='"/etc/collectd.conf"' -DLOCALSTATEDIR='"/var"' -DPKGLOCALSTATEDIR='"/var/lib/collectd"' -DPIDFILE='"/var/run/collectd.pid"' -DPLUGINDIR='"/usr/lib/collectd"' -DPKGDATADIR='"/usr/share/collectd"' -I/home/jra/src/openwrt/kamikaze-trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/jra/src/openwrt/kamikaze-trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/jra/src/openwrt/kamikaze-trunk/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/include -I/home/jra/src/openwrt/kamikaze-trunk/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/include  -I/home/jra/src/openwrt/kamikaze-trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/libxml2 -Wall -Werror -I/home/jra/src/openwrt/kamikaze-trunk/build_dir/linux-brcm-2.4/linux-2.4.37.5/include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float  -fpic -MT ipvs_la-ipvs.lo -MD -MP -MF .deps/ipvs_la-ipvs.Tpo -c -o ipvs_la-ipvs.lo `test -f 'ipvs.c' || echo './'`ipvs.c
 mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -DPREFIX=\"/usr\" -DCONFIGFILE=\"/etc/collectd.conf\" -DLOCALSTATEDIR=\"/var\" -DPKGLOCALSTATEDIR=\"/var/lib/collectd\" -DPIDFILE=\"/var/run/collectd.pid\" -DPLUGINDIR=\"/usr/lib/collectd\" -DPKGDATADIR=\"/usr/share/collectd\" -I/home/jra/src/openwrt/kamikaze-trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/jra/src/openwrt/kamikaze-trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/jra/src/openwrt/kamikaze-trunk/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/include -I/home/jra/src/openwrt/kamikaze-trunk/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/include -I/home/jra/src/openwrt/kamikaze-trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/libxml2 -Wall -Werror -I/home/jra/src/openwrt/kamikaze-trunk/build_dir/linux-brcm-2.4/linux-2.4.37.5/include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic -MT ipvs_la-ipvs.lo -MD -MP -MF .deps/ipvs_la-ipvs.Tpo -c ipvs.c  -fPIC -DPIC -o .libs/ipvs_la-ipvs.o
ipvs.c: In function `ipvs_get_services':
ipvs.c:83: error: invalid application of `sizeof' to incomplete type `ip_vs_service_entry' 
ipvs.c: At top level:
ipvs.c:104: warning: "struct ip_vs_service_entry" declared inside parameter list
ipvs.c:104: warning: its scope is only this definition or declaration, which is probably not what you want
ipvs.c: In function `ipvs_get_dests':
ipvs.c:109: error: invalid application of `sizeof' to incomplete type `ip_vs_dest_entry' 
ipvs.c:109: error: dereferencing pointer to incomplete type
ipvs.c:116: error: dereferencing pointer to incomplete type
ipvs.c:117: error: dereferencing pointer to incomplete type
ipvs.c:118: error: dereferencing pointer to incomplete type
ipvs.c:119: error: dereferencing pointer to incomplete type
ipvs.c:120: error: dereferencing pointer to incomplete type
ipvs.c: At top level:
ipvs.c:182: warning: "struct ip_vs_service_entry" declared inside parameter list
ipvs.c: In function `get_pi':
ipvs.c:190: error: dereferencing pointer to incomplete type
ipvs.c:195: error: dereferencing pointer to incomplete type
ipvs.c:196: error: dereferencing pointer to incomplete type
ipvs.c: At top level:
ipvs.c:206: warning: "struct ip_vs_dest_entry" declared inside parameter list
ipvs.c: In function `get_ti':
ipvs.c:214: error: dereferencing pointer to incomplete type
ipvs.c:219: error: dereferencing pointer to incomplete type
ipvs.c: At top level:
ipvs.c:276: warning: "struct ip_vs_dest_entry" declared inside parameter list
ipvs.c: In function `cipvs_submit_dest':
ipvs.c:277: error: dereferencing pointer to incomplete type
ipvs.c: At top level:
ipvs.c:290: warning: "struct ip_vs_service_entry" declared inside parameter list
ipvs.c: In function `cipvs_submit_service':
ipvs.c:292: error: dereferencing pointer to incomplete type
ipvs.c:307: warning: passing arg 2 of `cipvs_submit_dest' from incompatible pointer type
ipvs.c: In function `cipvs_read':
ipvs.c:325: warning: passing arg 1 of `cipvs_submit_service' from incompatible pointer type
make[7]: *** [ipvs_la-ipvs.lo] Error 1
make[7]: Leaving directory `/home/jra/src/openwrt/kamikaze-trunk/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.9.0/src'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/jra/src/openwrt/kamikaze-trunk/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.9.0/src'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/jra/src/openwrt/kamikaze-trunk/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.9.0/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/jra/src/openwrt/kamikaze-trunk/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.9.0'
make[3]: *** [/home/jra/src/openwrt/kamikaze-trunk/build_dir/target-mipsel_uClibc-0.9.30.1/collectd-4.9.0/.built] Error 2
make[3]: Leaving directory `/home/jra/src/openwrt/kamikaze-trunk/feeds/packages/utils/collectd'
make[2]: *** [package/feeds/packages/collectd/compile] Error 2
make[2]: Leaving directory `/home/jra/src/openwrt/kamikaze-trunk'
make[1]: *** [/home/jra/src/openwrt/kamikaze-trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/jra/src/openwrt/kamikaze-trunk'
make: *** [world] Error 2

Attachments (0)

Change History (5)

comment:1 Changed 6 years ago by hauke

  • Description modified (diff)

comment:2 Changed 6 years ago by anonymous

Has this bug been fixed? I am having problem compiling.

comment:3 Changed 6 years ago by alex

hello

I have the same problem with the latest version of kamikaze

for information, I compiled under Ubuntu 9.10

thank for your work and Best wishes to the team

alex


comment:4 Changed 6 years ago by swalker

  • Cc stephendwalker+openwrt@… added
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r19154

comment:5 Changed 22 months 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 closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.