Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#28430 - [dumb] Undefined reference to symbol
Attached to Project:
Community Packages
Opened by A. Núñez (megadriver) - Tuesday, 14 February 2012, 20:59 GMT
Last edited by Chris Brannon (cmb) - Monday, 20 February 2012, 12:37 GMT
Opened by A. Núñez (megadriver) - Tuesday, 14 February 2012, 20:59 GMT
Last edited by Chris Brannon (cmb) - Monday, 20 February 2012, 12:37 GMT
|
DetailsDescription:
I'm the maintainer of alex4 (an Allegro-based game) in the AUR. It depends on dumb from [community]. Currently, it can't be built. I get this error: /usr/bin/ld: /usr/lib/libdumb.a(resample.o): undefined reference to symbol 'floor@@GLIBC_2.0' /usr/bin/ld: note: 'floor@@GLIBC_2.0' is defined in DSO /usr/lib/libm.so so try adding it to the linker command line /usr/lib/libm.so: could not read symbols: Invalid operation I tried to build dumb from ABS, and, as expected, got exactly the same error: /usr/bin/ld: lib/unix/libdumb.a(resample.o): undefined reference to symbol 'floor@@GLIBC_2.0' /usr/bin/ld: note: 'floor@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line /lib/libm.so.6: could not read symbols: Invalid operation The problem seems to be the new behaviour of ld from binutils 2.22, as explained here: https://bbs.archlinux.org/viewtopic.php?id=135319 I was succesfully able to build dumb by applying this patch from Gentoo: http://gentoo-overlays.zugaina.org/gentoo/portage/media-libs/dumb/files/dumb-0.9.3-PIC-as-needed.patch After installing the patched dumb, I was also able to build alex4 without changing its PKGBUILD. Additional info: dumb 0.9.3-5 |
This task depends upon
Closed by Chris Brannon (cmb)
Monday, 20 February 2012, 12:37 GMT
Reason for closing: Fixed
Additional comments about closing: dumb-0.9.3-6 should fix your issue.
Thanks for the report!
Monday, 20 February 2012, 12:37 GMT
Reason for closing: Fixed
Additional comments about closing: dumb-0.9.3-6 should fix your issue.
Thanks for the report!
The fact remains that dumb 0.9.3-5 can't be built with ld from binutils 2.22, though, so I think this bug is still "valid".
keep working on it, though.
cp -f Makefile Makefile.rdy