Modify

Opened 4 years ago

Closed 4 years ago

#16870 closed defect (fixed)

cshark compilation error

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: cshark, x86 Cc:

Description

make[3]: Entering directory `/home/development/src/openwrt-trunk/openwrt/feeds/packages/net/cshark'
CFLAGS="-Os -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable  -I/home/development/src/openwrt-trunk/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/usr/include -I/home/development/src/openwrt-trunk/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/include -I/home/development/src/openwrt-trunk/openwrt/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/development/src/openwrt-trunk/openwrt/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/include " CXXFLAGS="-Os -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable  -I/home/development/src/openwrt-trunk/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/usr/include -I/home/development/src/openwrt-trunk/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/include -I/home/development/src/openwrt-trunk/openwrt/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/development/src/openwrt-trunk/openwrt/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/home/development/src/openwrt-trunk/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/usr/lib -L/home/development/src/openwrt-trunk/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/lib -L/home/development/src/openwrt-trunk/openwrt/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/development/src/openwrt-trunk/openwrt/staging_dir/toolchain-i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/lib " make   -C /home/development/src/openwrt-trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/cshark-2014-06-23/. AR=i486-openwrt-linux-uclibc-ar AS="i486-openwrt-linux-uclibc-gcc -c -Os -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable" LD=i486-openwrt-linux-uclibc-ld NM=i486-openwrt-linux-uclibc-nm CC="i486-openwrt-linux-uclibc-gcc" GCC="i486-openwrt-linux-uclibc-gcc" CXX="i486-openwrt-linux-uclibc-g++" RANLIB=i486-openwrt-linux-uclibc-ranlib STRIP=i486-openwrt-linux-uclibc-strip OBJCOPY=i486-openwrt-linux-uclibc-objcopy OBJDUMP=i486-openwrt-linux-uclibc-objdump SIZE=i486-openwrt-linux-uclibc-size CROSS="i486-openwrt-linux-uclibc-" ARCH="i386" ;
make[4]: Entering directory `/home/development/src/openwrt-trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/cshark-2014-06-23'
make[5]: Entering directory `/home/development/src/openwrt-trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/cshark-2014-06-23'
make[6]: Entering directory `/home/development/src/openwrt-trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/cshark-2014-06-23'
make[6]: Leaving directory `/home/development/src/openwrt-trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/cshark-2014-06-23'
make[6]: Entering directory `/home/development/src/openwrt-trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/cshark-2014-06-23'
[ 25%] Building C object CMakeFiles/cshark.dir/src/uclient.c.o
/home/development/src/openwrt-trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/cshark-2014-06-23/src/uclient.c:189:2: error: unknown field 'on_connected' specified in initializer
  .on_connected = cshark_uclient_connected_cb
  ^
/home/development/src/openwrt-trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/cshark-2014-06-23/src/uclient.c:190:1: error: excess elements in struct initializer [-Werror]
 };
 ^
/home/development/src/openwrt-trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/cshark-2014-06-23/src/uclient.c:190:1: error: (near initialization for 'cb') [-Werror]
cc1: all warnings being treated as errors
make[6]: *** [CMakeFiles/cshark.dir/src/uclient.c.o] Error 1
make[6]: Leaving directory `/home/development/src/openwrt-trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/cshark-2014-06-23'
make[5]: *** [CMakeFiles/cshark.dir/all] Error 2
make[5]: Leaving directory `/home/development/src/openwrt-trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/cshark-2014-06-23'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/development/src/openwrt-trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/cshark-2014-06-23'
make[3]: *** [/home/development/src/openwrt-trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/cshark-2014-06-23/.built] Error 2
make[3]: Leaving directory `/home/development/src/openwrt-trunk/openwrt/feeds/packages/net/cshark'
make[2]: *** [package/feeds/packages/cshark/compile] Error 2
make[2]: Leaving directory `/home/development/src/openwrt-trunk/openwrt'
make[1]: *** [/home/development/src/openwrt-trunk/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/development/src/openwrt-trunk/openwrt'
make: *** [world] Error 2

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by luka

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

Fixed with commit 2ef354d343e24a741fba3360da445cb063aa48c4 in github packages feed.

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.