! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
libdict fails to compile (link) because of missing -lm in LIBADD, patch attached
Status:
RESOLVED: FIXED
Product:
Xfce4-dict
Component:
General

Comments

Description Samuli Suominen 2011-12-07 16:27:10 CET
Created attachment 4011 
Fix underlinking in lib/Makefile.am

This was reported by Jeremy Olexa from Gentoo.

/home/jolexa/portage/linux-64/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/.libs/libdict.a(libdict_la-common.o): undefined reference to symbol 'floor@@GLIBC_2.2.5'
/home/jolexa/portage/linux-64/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'floor@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [xfce4-dict-plugin] Error 1

See attached patch.
Comment 1 Samuli Suominen 2011-12-07 16:35:05 CET
My bad.

I think http://git.xfce.org/apps/xfce4-dict/commit/?id=bf2a1dd4fcbad99e2de50c55f07c9c76e09805ed will fix it as well.

Bug #8229

Reported by:
Samuli Suominen
Reported on: 2011-12-07
Last modified on: 2011-12-07

People

Assignee:
Enrico Tröger
CC List:
0 users

Version

Version:
unspecified

Attachments

Fix underlinking in lib/Makefile.am (655 bytes, patch)
2011-12-07 16:27 CET , Samuli Suominen
no flags

Additional information