Modify

Opened 6 years ago

Last modified 4 years ago

#10956 new defect

gnuplot with nls linking error

Reported by: X-log <roodster12@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: gnuplot Cc:

Description

Building of gnuplot package on NLS-enabled build fails with the following error:

ccache i486-openwrt-linux-uclibc-g++  -O2 -pipe -march=i486 -fno-caller-saves -fhonour-copts -I/home/x-log/openwrt/staging_dir/target-i386_uClibc-0.9.32/usr/lib/libiconv-full/include -I/home/x-log/openwrt/staging_dir/target-i386_uClibc-0.9.32/usr/lib/libintl-full/include  -fno-builtin -fno-rtti -nostdinc++  -L/home/x-log/openwrt/staging_dir/target-i386_uClibc-0.9.32/usr/lib -L/home/x-log/openwrt/staging_dir/target-i386_uClibc-0.9.32/lib -L/home/x-log/openwrt/staging_dir/toolchain-i386_gcc-4.6.1_uClibc-0.9.32/usr/lib -L/home/x-log/openwrt/staging_dir/toolchain-i386_gcc-4.6.1_uClibc-0.9.32/lib -L/home/x-log/openwrt/staging_dir/target-i386_uClibc-0.9.32/usr/lib/libiconv-full/lib -L/home/x-log/openwrt/staging_dir/target-i386_uClibc-0.9.32/usr/lib/libintl-full/lib -Wl,-rpath-link=/home/x-log/openwrt/staging_dir/target-i386_uClibc-0.9.32/usr/lib   -L/home/x-log/openwrt/staging_dir/target-i386_uClibc-0.9.32/usr/lib -L/home/x-log/openwrt/staging_dir/target-i386_uClibc-0.9.32/usr/lib -L/home/x-log/openwrt/staging_dir/target-i386_uClibc-0.9.32/lib -L/home/x-log/openwrt/staging_dir/toolchain-i386_gcc-4.5-linaro_uClibc-0.9.32/usr/lib -L/home/x-log/openwrt/staging_dir/toolchain-i386_gcc-4.5-linaro_uClibc-0.9.32/lib -L/home/x-log/openwrt/staging_dir/target-i386_uClibc-0.9.32/usr/lib -o gnuplot alloc.o axis.o binary.o breaders.o bitmap.o color.o command.o contour.o datafile.o dynarray.o eval.o fit.o gadgets.o getcolor.o graph3d.o graphics.o help.o hidden3d.o history.o internal.o interpol.o matrix.o misc.o mouse.o parse.o plot.o plot2d.o plot3d.o pm3d.o readline.o save.o scanner.o set.o show.o specfun.o standard.o stdfn.o tables.o tabulate.o term.o time.o unset.o util.o util3d.o variable.o version.o   -lreadline  -lncurses  -lz -lgd -ljpeg -lpng12 -lz -lm -ljpeg -lfreetype -lpng   -lm -nodefaultlibs -luClibc++ -lpthread -L/home/x-log/openwrt/staging_dir/toolchain-i386_gcc-4.6.1_uClibc-0.9.32/lib -lgcc_s
term.o: In function `EMF_put_text':
term.c:(.text+0x40106): undefined reference to `libiconv_open'
term.c:(.text+0x40135): undefined reference to `libiconv'
term.c:(.text+0x40140): undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make[6]: *** [gnuplot] Error 1

Adding -liconv to TARGET_LDFLAGS seems to fix the problem.

Attachments (0)

Change History (1)

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