Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 514748 - media-sound/lash-0.5.4-r2 - ld: lash_synth-synth.o: undefined reference to symbol 'exp@@GLIBC_2.2.5'
Summary: media-sound/lash-0.5.4-r2 - ld: lash_synth-synth.o: undefined reference to sy...
Status: RESOLVED DUPLICATE of bug 367589
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: underlinking
  Show dependency tree
 
Reported: 2014-06-24 01:04 UTC by Christian Compagnon
Modified: 2014-07-09 18:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
temp_build.zip (temp_build.zip,48.52 KB, application/zip)
2014-06-24 01:04 UTC, Christian Compagnon
Details
lash-0.5.4-underlinking.patch (lash-0.5.4-underlinking.patch,261 bytes, patch)
2014-07-09 17:31 UTC, Ted Tanberry
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Compagnon 2014-06-24 01:04:34 UTC
Created attachment 379534 [details]
temp_build.zip

Hello,

Compiling media-sound/lash gives following error :

/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: lash_synth-synth.o: undefined reference to symbol 'exp@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'exp@@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: error: ld returned 1 exit status
make[3]: *** [lash_synth] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-sound/lash-0.5.4-r2/work/lash-0.5.4-abi_x86_64.amd64/clients/synth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/lash-0.5.4-r2/work/lash-0.5.4-abi_x86_64.amd64/clients'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/lash-0.5.4-r2/work/lash-0.5.4-abi_x86_64.amd64'
make: *** [all] Error 2
 * ERROR: media-sound/lash-0.5.4-r2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-sound/lash-0.5.4-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/lash-0.5.4-r2::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-sound:lash-0.5.4-r2:20140624-004704.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/lash-0.5.4-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/lash-0.5.4-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-sound/lash-0.5.4-r2/work/lash-0.5.4-abi_x86_64.amd64'
 * S: '/var/tmp/portage/media-sound/lash-0.5.4-r2/work/lash-0.5.4'

This is corrected emerging package with LDFLAGS="-lm" (as explained here for same error on other package : http://forums.gentoo.org/viewtopic-t-989110-start-0.html 

Thank you!
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-24 01:15:44 UTC
Comment on attachment 379534 [details]
temp_build.zip

Please attach separate plain text files next time.
Comment 2 Ted Tanberry 2014-07-09 17:31:26 UTC
Created attachment 380500 [details, diff]
lash-0.5.4-underlinking.patch

Add this in the ebuild and -lm linking should work
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-07-09 18:11:32 UTC

*** This bug has been marked as a duplicate of bug 367589 ***