Modify

Opened 5 years ago

Closed 5 years ago

#13877 closed defect (fixed)

ubox fails to compile

Reported by: raver@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: ubox Cc:

Description

Arch: ar71xx
Branch: trunk
Rev: r37327

Latest ubox 2013-07-14 fails to compile, even after make dirclrean.
Previous version 2013-07-11 compiles successfully.

make[4]: Entering directory `/home/raver/OpenWrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/ubox-2013-07-14'
make[5]: Entering directory `/home/raver/OpenWrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/ubox-2013-07-14'
make[6]: Entering directory `/home/raver/OpenWrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/ubox-2013-07-14'
make[6]: Leaving directory `/home/raver/OpenWrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/ubox-2013-07-14'
[ 69%] Built target block
make[6]: Entering directory `/home/raver/OpenWrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/ubox-2013-07-14'
make[6]: Leaving directory `/home/raver/OpenWrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/ubox-2013-07-14'
[ 76%] Built target board
make[6]: Entering directory `/home/raver/OpenWrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/ubox-2013-07-14'
make[6]: Leaving directory `/home/raver/OpenWrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/ubox-2013-07-14'
make[6]: Entering directory `/home/raver/OpenWrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/ubox-2013-07-14'
[ 84%] Building C object CMakeFiles/kmodloader.dir/kmodloader.c.o
/home/raver/OpenWrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/ubox-2013-07-14/kmodloader.c: In function 'main_depmod':
/home/raver/OpenWrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/ubox-2013-07-14/kmodloader.c:581:23: error: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess]
  snprintf(path, sizeof(path), DEF_MOD_PATH "*.ko", ver.release);
                       ^
cc1: all warnings being treated as errors
make[6]: *** [CMakeFiles/kmodloader.dir/kmodloader.c.o] Error 1
make[6]: Leaving directory `/home/raver/OpenWrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/ubox-2013-07-14'
make[5]: *** [CMakeFiles/kmodloader.dir/all] Error 2
make[5]: Leaving directory `/home/raver/OpenWrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/ubox-2013-07-14'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/raver/OpenWrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/ubox-2013-07-14'
make[3]: *** [/home/raver/OpenWrt/trunk/build_dir/target-mips_uClibc-0.9.33.2/ubox-2013-07-14/.built] Error 2
make[3]: Leaving directory `/home/raver/OpenWrt/trunk/package/system/ubox'
make[2]: *** [package/system/ubox/compile] Error 2
make[2]: Leaving directory `/home/raver/OpenWrt/trunk'
make[1]: *** [/home/raver/OpenWrt/trunk/staging_dir/target-mips_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/raver/OpenWrt/trunk'
make: *** [world] Error 2

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by nbd

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

fixed in r37330

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.