Modify

Opened 5 years ago

Closed 5 years ago

Last modified 22 months ago

#8997 closed defect (fixed)

Compiling htop fails in trunk

Reported by: hnyman Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc: hannu.nyman@…

Description

After 'make dirclean', compiling package 'htop' for ar71xx/WNDR3700 with trunk fails at SVN 25940.
It compiled ok yesterday (SVN 25902), but I think I made no dirclean then.
(Backfire compiled ok also today.)

First error seems to be:
undefined reference to `rpl_malloc'

make[3]: Entering directory `/Openwrt/trunk/feeds/packages/admin/htop'
CFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float  -I/Openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/Openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/Openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/usr/include -I/Openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/include " CXXFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float  -I/Openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/Openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/Openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/usr/include -I/Openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/include " LDFLAGS="-L/Openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/lib -L/Openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/lib -L/Openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/usr/lib -L/Openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib " make -j1 -C /Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9/. AR=mips-openwrt-linux-uclibcgnueabi-ar AS="mips-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float" LD=mips-openwrt-linux-uclibcgnueabi-ld NM=mips-openwrt-linux-uclibcgnueabi-nm CC="mips-openwrt-linux-uclibcgnueabi-gcc" GCC="mips-openwrt-linux-uclibcgnueabi-gcc" CXX="mips-openwrt-linux-uclibcgnueabi-g++" RANLIB=mips-openwrt-linux-uclibcgnueabi-ranlib STRIP=mips-openwrt-linux-uclibcgnueabi-strip OBJCOPY=mips-openwrt-linux-uclibcgnueabi-objcopy OBJDUMP=mips-openwrt-linux-uclibcgnueabi-objdump SIZE=mips-openwrt-linux-uclibcgnueabi-size CROSS="mips-openwrt-linux-uclibcgnueabi-" ARCH="mips" ;
make[4]: Entering directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9'
make  all-recursive
make[5]: Entering directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9'
Making all in plpa-1.3.2
make[6]: Entering directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9/plpa-1.3.2'
Making all in src
make[7]: Entering directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9/plpa-1.3.2/src'
Making all in libplpa
make[8]: Entering directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9/plpa-1.3.2/src/libplpa'
make  all-am
make[9]: Entering directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9/plpa-1.3.2/src/libplpa'
make[9]: Leaving directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9/plpa-1.3.2/src/libplpa'
make[8]: Leaving directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9/plpa-1.3.2/src/libplpa'
make[8]: Entering directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9/plpa-1.3.2/src'
make[8]: Nothing to be done for `all-am'.
make[8]: Leaving directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9/plpa-1.3.2/src'
make[7]: Leaving directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9/plpa-1.3.2/src'
make[7]: Entering directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9/plpa-1.3.2'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9/plpa-1.3.2'
make[6]: Leaving directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9/plpa-1.3.2'
make[6]: Entering directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9'
/bin/bash ./libtool --tag=CC   --mode=link mips-openwrt-linux-uclibcgnueabi-gcc -pedantic -Wall -std=c99 -rdynamic -D_XOPEN_SOURCE_EXTENDED -Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float   -L/Openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/lib -L/Openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/lib -L/Openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/usr/lib -L/Openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib  -o htop  htop-AvailableMetersPanel.o htop-CategoriesPanel.o htop-CheckItem.o htop-ClockMeter.o htop-ColorsPanel.o htop-ColumnsPanel.o htop-CPUMeter.o htop-CRT.o htop-DebugMemory.o htop-DisplayOptionsPanel.o htop-FunctionBar.o htop-Hashtable.o htop-Header.o htop-htop.o htop-ListItem.o htop-LoadAverageMeter.o htop-MemoryMeter.o htop-Meter.o htop-MetersPanel.o htop-Object.o htop-Panel.o htop-BatteryMeter.o htop-Process.o htop-ProcessList.o htop-RichString.o htop-ScreenManager.o htop-Settings.o htop-SignalItem.o htop-SignalsPanel.o htop-String.o htop-SwapMeter.o htop-TasksMeter.o htop-TraceScreen.o htop-UptimeMeter.o htop-UsersTable.o htop-Vector.o htop-AvailableColumnsPanel.o htop-AffinityPanel.o htop-HostnameMeter.o htop-OpenFilesScreen.o ./plpa-1.3.2/src/libplpa/libplpa_included.la -lncurses -lm 
OpenWrt-libtool: link: mips-openwrt-linux-uclibcgnueabi-gcc -pedantic -Wall -std=c99 -rdynamic -D_XOPEN_SOURCE_EXTENDED -Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float -o htop htop-AvailableMetersPanel.o htop-CategoriesPanel.o htop-CheckItem.o htop-ClockMeter.o htop-ColorsPanel.o htop-ColumnsPanel.o htop-CPUMeter.o htop-CRT.o htop-DebugMemory.o htop-DisplayOptionsPanel.o htop-FunctionBar.o htop-Hashtable.o htop-Header.o htop-htop.o htop-ListItem.o htop-LoadAverageMeter.o htop-MemoryMeter.o htop-Meter.o htop-MetersPanel.o htop-Object.o htop-Panel.o htop-BatteryMeter.o htop-Process.o htop-ProcessList.o htop-RichString.o htop-ScreenManager.o htop-Settings.o htop-SignalItem.o htop-SignalsPanel.o htop-String.o htop-SwapMeter.o htop-TasksMeter.o htop-TraceScreen.o htop-UptimeMeter.o htop-UsersTable.o htop-Vector.o htop-AvailableColumnsPanel.o htop-AffinityPanel.o htop-HostnameMeter.o htop-OpenFilesScreen.o  -L/Openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/lib -L/Openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/lib -L/Openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/usr/lib -L/Openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib ./plpa-1.3.2/src/libplpa/.libs/libplpa_included.a -lncurses -lm
htop-AvailableMetersPanel.o: In function `AvailableMetersPanel_new':
AvailableMetersPanel.c:(.text+0x188): undefined reference to `rpl_malloc'
htop-CategoriesPanel.o: In function `CategoriesPanel_new':
CategoriesPanel.c:(.text+0x350): undefined reference to `rpl_malloc'
htop-CheckItem.o: In function `CheckItem_new':
CheckItem.c:(.text+0xfc): undefined reference to `rpl_malloc'
htop-ColorsPanel.o: In function `ColorsPanel_new':
ColorsPanel.c:(.text+0x198): undefined reference to `rpl_malloc'
htop-ColumnsPanel.o: In function `ColumnsPanel_new':
ColumnsPanel.c:(.text+0x44): undefined reference to `rpl_malloc'
htop-ColumnsPanel.o:ColumnsPanel.c:(.text+0x1bc): more undefined references to `rpl_malloc' follow
htop-RichString.o: In function `RichString_setLen':
RichString.c:(.text+0x94): undefined reference to `rpl_realloc'
htop-ScreenManager.o: In function `ScreenManager_new':
ScreenManager.c:(.text+0x28): undefined reference to `rpl_malloc'
htop-Settings.o: In function `Settings_new':
Settings.c:(.text+0xa74): undefined reference to `rpl_malloc'
htop-SignalItem.o: In function `Signal_new':
SignalItem.c:(.text+0x14): undefined reference to `rpl_malloc'
htop-SignalItem.o: In function `Signal_getSignalTable':
SignalItem.c:(.text+0xc4): undefined reference to `rpl_malloc'
htop-SignalsPanel.o: In function `SignalsPanel_new':
SignalsPanel.c:(.text+0x180): undefined reference to `rpl_malloc'
htop-TraceScreen.o:TraceScreen.c:(.text+0xc0): more undefined references to `rpl_malloc' follow
htop-Vector.o: In function `Vector_insert':
Vector.c:(.text+0x2b4): undefined reference to `rpl_realloc'
htop-Vector.o: In function `Vector_set':
Vector.c:(.text+0x4a0): undefined reference to `rpl_realloc'
htop-AvailableColumnsPanel.o: In function `AvailableColumnsPanel_new':
AvailableColumnsPanel.c:(.text+0x104): undefined reference to `rpl_malloc'
htop-OpenFilesScreen.o: In function `OpenFilesScreen_scan':
OpenFilesScreen.c:(.text+0x114): undefined reference to `rpl_malloc'
htop-OpenFilesScreen.o: In function `OpenFilesScreen_new':
OpenFilesScreen.c:(.text+0x3e0): undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status
make[6]: *** [htop] Error 1
make[6]: Leaving directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9'
make[3]: *** [/Openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/htop-0.9/.built] Error 2
make[3]: Leaving directory `/Openwrt/trunk/feeds/packages/admin/htop'
make[2]: *** [package/feeds/packages/htop/compile] Error 2
make[2]: Leaving directory `/Openwrt/trunk'
make[1]: *** [/Openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/Openwrt/trunk'
make: *** [world] Error 2

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by jow

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

Fixed with r25941 - thanks for reporting.

comment:2 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.