We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reported in version: unspecified Reported for operating system, platform: Linux, x86_64
On 2017-11-04 11:44:55 +0000, Luke A. Guest wrote:
/bin/sh ./libtool --tag=CC --mode=link gcc -I/usr/include/libpng16 -g -O2 -D_REENTRANT -I/usr/include/SDL2 -o showimage showimage.o libSDL2_image.la -lSDL2 libtool: link: gcc -I/usr/include/libpng16 -g -O2 -D_REENTRANT -I/usr/include/SDL2 -o showimage showimage.o ./.libs/libSDL2_image.a -lSDL2 /home/laguest/opt/free-ada-6.4.0/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libSDL2_image.a(IMG_svg.o): undefined reference to symbol 'sqrtf@@GLIBC_2.2.5' /lib64/libm.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [Makefile:550: showimage] Error 1 This fixes it for me: LDFLAGS=-lm ../../SDL2_image-2.0.2/configure
/bin/sh ./libtool --tag=CC --mode=link gcc -I/usr/include/libpng16 -g -O2 -D_REENTRANT -I/usr/include/SDL2 -o showimage showimage.o libSDL2_image.la -lSDL2 libtool: link: gcc -I/usr/include/libpng16 -g -O2 -D_REENTRANT -I/usr/include/SDL2 -o showimage showimage.o ./.libs/libSDL2_image.a -lSDL2 /home/laguest/opt/free-ada-6.4.0/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libSDL2_image.a(IMG_svg.o): undefined reference to symbol 'sqrtf@@GLIBC_2.2.5' /lib64/libm.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [Makefile:550: showimage] Error 1
This fixes it for me:
LDFLAGS=-lm ../../SDL2_image-2.0.2/configure
On 2017-11-05 05:00:02 +0000, Sam Lantinga wrote:
Fixed! You can get the fixed version from http://hg.libsdl.org/SDL_image using Mercurial, and it requires the latest SDL snapshot: http://www.libsdl.org/tmp/SDL-2.0.zip Thanks!
Fixed! You can get the fixed version from http://hg.libsdl.org/SDL_image using Mercurial, and it requires the latest SDL snapshot: http://www.libsdl.org/tmp/SDL-2.0.zip
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This bug report was migrated from our old Bugzilla tracker.
Reported in version: unspecified
Reported for operating system, platform: Linux, x86_64
Comments on the original bug report:
On 2017-11-04 11:44:55 +0000, Luke A. Guest wrote:
On 2017-11-05 05:00:02 +0000, Sam Lantinga wrote:
The text was updated successfully, but these errors were encountered: