Skip to content
New issue

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

Fix linking against X11 #145

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment
Open

Fix linking against X11 #145

GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. X11 is needed
2.
3.

What is the expected output? What do you see instead?

Add X11 to src/engine/input/SConstruct.main


What version of the product are you using? On what operating system?

Pingus Git from Google Code, openSUSE


Please provide any additional information below.

With this Sed, Pingus use in Build X11

sed -i 's|'SDL_mixer', 'png'|'SDL_mixer', 'png', 'X11'|' \
    src/engine/input/SConstruct.main

Original issue reported on code.google.com by nemysisbsd on 11 Dec 2014 at 5:34

@GoogleCodeExporter
Copy link
Author

Fix linking against X11 and adds wii support

pingus-0.7.6-SConscript.patch

Without this patch get

[  153s] ranlib build/libpingus.a
[  153s] g++ -o build/pingus build/src/main.o build/libpingus.a -L/usr/lib64 
-lGL -lXi -lpng16 -lSDL -lpthread -lSDL_image -lSDL_mixer
[  154s] 
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: 
build/libpingus.a(xinput_driver.o): undefined reference to symbol 'XFree'
[  154s] /usr/lib64/libX11.so.6: error adding symbols: DSO missing from command 
line
[  154s] collect2: error: ld returned 1 exit status
[  154s] scons: *** [build/pingus] Error 1
[  154s] scons: building terminated because of errors.

Original comment by nemysisbsd on 11 Dec 2014 at 6:04

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant