Modify

Opened 7 years ago

Closed 7 years ago

#8665 closed defect (worksforme)

liboping 1.5.1 compile fails in brcm-2.4 - 1.4.0 compiles fine

Reported by: chillifire Owned by: developers
Priority: high Milestone: Backfire 10.03.1
Component: packages Version: Backfire 10.03.1 RC4
Keywords: liboping, collectd Cc:

Description

Here is the output ov make V=99

make[3]: Entering directory `/home/hanno/backfire/feeds/packages/libs/liboping'
bzcat /home/hanno/backfire/dl/liboping-1.5.1.tar.bz2 | /bin/tar -C /home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/.. -xf - 
ls: cannot access ./patches: No such file or directory
touch /home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/.prepared_afa771c14b416fc7fc9ef5ed99e26e09
if [ -f "/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/./libtool" -a -e "/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/host/bin/libtool" ]; then rm -f /home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/./libtool; ln -s /home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/host/bin/libtool /home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/./libtool; fi
if [ -f "/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/./configure" ]; then /home/hanno/backfire/staging_dir/host/bin/sed -i -e 's,\(gentoo\|pardus\)_ltmain_version=.*,\1_ltmain_version="$\1_lt_version",' /home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/./configure; fi
(cd /home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/./; if [ -x ./configure ]; then /usr/bin/find /home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/ -name config.guess | xargs -r -n1 cp /home/hanno/backfire/scripts/config.guess; /usr/bin/find /home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/ -name config.sub | xargs -r -n1 cp /home/hanno/backfire/scripts/config.sub; AR=mipsel-openwrt-linux-uclibc-ar AS="mipsel-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic" LD=mipsel-openwrt-linux-uclibc-ld NM=mipsel-openwrt-linux-uclibc-nm CC="mipsel-openwrt-linux-uclibc-gcc" GCC="mipsel-openwrt-linux-uclibc-gcc" CXX="mipsel-openwrt-linux-uclibc-g++" RANLIB=mipsel-openwrt-linux-uclibc-ranlib STRIP=mipsel-openwrt-linux-uclibc-strip OBJCOPY=mipsel-openwrt-linux-uclibc-objcopy OBJDUMP=mipsel-openwrt-linux-uclibc-objdump SIZE=mipsel-openwrt-linux-uclibc-size CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic " CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic " CPPFLAGS="-I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/include " LDFLAGS="-L/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -L/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/lib -L/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/lib -L/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/lib "   ./configure --target=mipsel-openwrt-linux --host=mipsel-openwrt-linux --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls   --without-perl-bindings --enable-shared --enable-static ; fi; )
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /home/hanno/backfire/include/site/mipsel-openwrt-linux2.4-uclibc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mipsel-openwrt-linux-strip... mipsel-openwrt-linux-uclibc-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mipsel-openwrt-linux-gcc... mipsel-openwrt-linux-uclibc-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mipsel-openwrt-linux-uclibc-gcc accepts -g... yes
checking for mipsel-openwrt-linux-uclibc-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mipsel-openwrt-linux-uclibc-gcc... none
checking how to run the C preprocessor... mipsel-openwrt-linux-uclibc-gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... mipsel-openwrt-linux-gnu
checking for a sed that does not truncate output... /home/hanno/backfire/staging_dir/host/bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by mipsel-openwrt-linux-uclibc-gcc... mipsel-openwrt-linux-uclibc-ld
checking if the linker (mipsel-openwrt-linux-uclibc-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mipsel-openwrt-linux-uclibc-nm
checking the name lister (mipsel-openwrt-linux-uclibc-nm) interface... BSD nm
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for mipsel-openwrt-linux-uclibc-ld option to reload object files... -r
checking for mipsel-openwrt-linux-objdump... mipsel-openwrt-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for mipsel-openwrt-linux-ar... mipsel-openwrt-linux-uclibc-ar
checking for mipsel-openwrt-linux-strip... (cached) mipsel-openwrt-linux-uclibc-strip
checking for mipsel-openwrt-linux-ranlib... mipsel-openwrt-linux-uclibc-ranlib
checking command to parse mipsel-openwrt-linux-uclibc-nm output from mipsel-openwrt-linux-uclibc-gcc object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mipsel-openwrt-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for mipsel-openwrt-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if mipsel-openwrt-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if mipsel-openwrt-linux-uclibc-gcc static flag -static works... yes
checking if mipsel-openwrt-linux-uclibc-gcc supports -c -o file.o... yes
checking if mipsel-openwrt-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the mipsel-openwrt-linux-uclibc-gcc linker (mipsel-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... cross
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/in.h... yes
checking for netinet/ip.h... yes
checking for netinet/ip_icmp.h... yes
checking for netinet/ip_var.h... no
checking for netinet/ip6.h... yes
checking for netinet/icmp6.h... yes
checking for socket... yes
checking for __xnet_recvmsg in -lxnet... no
checking for nanosleep... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for mvwprintw in -lncurses... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/mans/Makefile
config.status: creating bindings/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-nls
if [ -f "/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/./libtool" -a -e "/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/host/bin/libtool" ]; then rm -f /home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/./libtool; ln -s /home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/host/bin/libtool /home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/./libtool; fi
touch /home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/.configured_
CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic  -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/include " CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic  -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/include " LDFLAGS="-L/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -L/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/lib -L/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/lib -L/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/lib " make -C /home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/. AR=mipsel-openwrt-linux-uclibc-ar AS="mipsel-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic" LD=mipsel-openwrt-linux-uclibc-ld NM=mipsel-openwrt-linux-uclibc-nm CC="mipsel-openwrt-linux-uclibc-gcc" GCC="mipsel-openwrt-linux-uclibc-gcc" CXX="mipsel-openwrt-linux-uclibc-g++" RANLIB=mipsel-openwrt-linux-uclibc-ranlib STRIP=mipsel-openwrt-linux-uclibc-strip OBJCOPY=mipsel-openwrt-linux-uclibc-objcopy OBJDUMP=mipsel-openwrt-linux-uclibc-objdump SIZE=mipsel-openwrt-linux-uclibc-size CROSS="mipsel-openwrt-linux-uclibc-" ARCH="mipsel" ;
make[4]: Entering directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1'
Making all in src
make[5]: Entering directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/src'
make  all-recursive
make[6]: Entering directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/src'
Making all in mans
make[7]: Entering directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/src/mans'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/src/mans'
make[7]: Entering directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/src'
/bin/bash ../libtool  --tag=CC   --mode=compile mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I.   -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/include  -Wall -Werror -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic  -c -o liboping_la-liboping.lo `test -f 'liboping.c' || echo './'`liboping.c
mkdir .libs
 mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/include -Wall -Werror -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic -c liboping.c  -fPIC -DPIC -o .libs/liboping_la-liboping.o
 mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/include -Wall -Werror -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic -c liboping.c -o liboping_la-liboping.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=link mipsel-openwrt-linux-uclibc-gcc -Wall -Werror -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic   -version-info 2:5:2 -L/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -L/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/lib -L/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/lib -L/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/lib  -o liboping.la -rpath /usr/lib liboping_la-liboping.lo   
mipsel-openwrt-linux-uclibc-gcc -shared  .libs/liboping_la-liboping.o  -L/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -L/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/lib -L/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/lib -L/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/lib  -mips32 -mtune=mips32 -msoft-float -Wl,-soname -Wl,liboping.so.0 -o .libs/liboping.so.0.2.5
(cd .libs && rm -f liboping.so.0 && ln -s liboping.so.0.2.5 liboping.so.0)
(cd .libs && rm -f liboping.so && ln -s liboping.so.0.2.5 liboping.so)
mipsel-openwrt-linux-uclibc-ar cru .libs/liboping.a  liboping_la-liboping.o
mipsel-openwrt-linux-uclibc-ranlib .libs/liboping.a
creating liboping.la
(cd .libs && rm -f liboping.la && ln -s ../liboping.la liboping.la)
mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I.   -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/usr/include -I/home/hanno/backfire/staging_dir/toolchain-mipsel_gcc-3.4.6_uClibc-0.9.30.1/include  -Wall -Werror -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic  -c oping.c
oping.c: In function `main':
oping.c:337: warning: 'class' might be used uninitialized in this function
oping.c:338: warning: 'prec' might be used uninitialized in this function
make[7]: *** [oping.o] Error 1
make[7]: Leaving directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/src'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/src'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1'
make[3]: *** [/home/hanno/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/liboping-1.5.1/.built] Error 2
make[3]: Leaving directory `/home/hanno/backfire/feeds/packages/libs/liboping'
make[2]: *** [package/feeds/packages/liboping/compile] Error 2
make[2]: Leaving directory `/home/hanno/backfire'
make[1]: *** [/home/hanno/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/hanno/backfire'
make: *** [world] Error 2

Downgrading the makefile to 1.4.0 compiles fine

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by jow

  • Resolution set to worksforme
  • Status changed from new to closed

liboping 1.6.1 built fine for brcm-2.4/rc5

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.