I'm having trouble installing the packages, both are giving me the following error:Linking d2x-rebirth ...
/usr/bin/ld: main/render.o: undefined reference to symbol 'sinf@@GLIBC_2.2.5'
/usr/bin/ld: note: 'sinf@@GLIBC_2.2.5' 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
collect2: ld ret
Following instructions at the bottom of this page:
http://www.hexchat.org/developers/building
I get through the autogen and configure steps.
the same promble when i try to compile extcalc occured./usr/bin/ld: CMakeFiles/extcalc.dir/src/graphout.o: undefined reference to symbol 'glEnd'/usr/bin/ld: note: 'glEnd' is defined in DSO /usr/lib/libGL.so.1 so try adding it to the linker command line/usr/lib/libGL.so.1: could not read symbols: Invalid operationcollect2: error:ld return1make[2]: *** [extcalc] error 1try to add
I have been searching for this a bit on Google, and there are also some topics on StackOverFlow but they don't answer the main question: Why sometimes, under GCC on LINUX (and I mean Linux since on MinGW it doesn't happen with the SAME code), an application compiles and links correctly with other libraries, without any errors and then, on execution time, undefined symbols are thrown?
Why wasn't t
I'm trying to compile a game but it gives me the following error:
Code:
configure: error: libz is needed
I can't find no such package as "libz". I checked that zlib is installed but i'm not sure what's the difference between them. So any idea what i'm missing?
/usr/bin/ld: note: 'ceil@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command lineThis tells me two things... you are not fully up to date (binutils 2.22-9 would mentile /usr/lib/libm.so.6) and that the PKGBUILD needs fixed to add -lm to the linker line.
Allan
https://bbs.archlinux.org/profile.php?id=11253
2012-07-20T00:08:29Z
I recently decided to learn gtk+, so I installed the gtk3 developement package which contains all the necessary libraries, then I just wrote a simple program test which is supposed to display a gtk window simply and compiles it with the command below :
gcc `pkg-config --cflags --libs gtk+-3.0` main.c -o test
And the problem is at link time where I'm getting undefined reference to all the functi
Hi All.I face the following errors when compiling libmtp in my ArchLinux desktoplibtool: link: gcc -march=i686 -mtune=generic -O2 -pipe -Wall -Wmissing-prototypes -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/mtp-connect connect.o delfile.o getfile.o newfolder.o sendfile.o sendtr.o pathutils.o util.o ../src/.libs/libmtp.so ../src/.libs/libmtp.so: undefined reference to `get_usb_device_timeout'
I am getting undefined reference error while building a simple example with freetype2.
gcc `/usr/bin/freetype-config --cflags` `/usr/bin/freetype-config --libs` a.c
/tmp/ccuSpdkr.o: In function `main':
a.c:(.text+0x10): undefined reference to `FT_Init_FreeType'
collect2: error: ld returned 1 exit status
I am on Ubuntu 12.10 x64.