Modify

Opened 5 years ago

Last modified 4 years ago

#13236 new defect

[trunk][ar71xx] mpd won't compile

Reported by: flux242@… Owned by: developers
Priority: response-needed Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: mpd, libiconv Cc:

Description

It cannot find libiconv by linking libglib-2.0. I suppose that libiconv.so has been moved into subfolder in the staging_dir and linker cannot find it. Should Makefile of the mpd and mpdas be updated to include proper path to the libiconv?

Attachments (1)

out.txt.gz (46.2 KB) - added by flux242@… 5 years ago.
the whole build log

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by flux242@…

the whole build log

comment:1 Changed 5 years ago by flux242@…

the workaround currently is to copy libiconv compiled shared libs like this

cp staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib/libiconv-full/lib/* staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib/

comment:2 follow-up: Changed 5 years ago by jow

  • Priority changed from normal to response-needed

That workaround is wrong. The line "include $(INCLUDE_DIR)/nls.mk" is supposed to ammend CFLAGS and LDFLAGS with the correct search paths for libiconv.

Please attach the full log of "make package/mpd-full/{clean,compile} V=99"

comment:3 in reply to: ↑ 2 Changed 5 years ago by flux242@…

Replying to jow:

That workaround is wrong. The line "include $(INCLUDE_DIR)/nls.mk" is supposed to ammend CFLAGS and LDFLAGS with the correct search paths for libiconv.

Please attach the full log of "make package/mpd-full/{clean,compile} V=99"

well, with this workaround mpd compiles. I've downloaded the trunk completely new this weekend and got this linking problem. And I'm afraid I do not have a full compile log any longer. I'm comiling mpd-mini wariant and I'm selecting full locale support when asked

comment:4 Changed 5 years ago by flux242@…

damn smapbot is hitting me again. Why don't you shut it down and add a captcha instead?
just wanted to say that maybe it is really rpath-link to the libiconv is missing

comment:5 Changed 4 years 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 new .
Author


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

 
Note: See TracTickets for help on using tickets.