You are not logged in.
Pages: 1
I'm trying to compile this package
==> Starting build()...
g++ -o wallchange main.cpp `pkg-config --cflags --libs xinerama`
/usr/bin/ld: /tmp/ccuNg5Xs.o: undefined reference to symbol 'XOpenDisplay'
/usr/bin/ld: note: 'XOpenDisplay' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [wallchange] Error 1
==> ERROR: A failure occurred in build().
Aborting...
(edit, code is in english now)
Last edited by gazerocknotdead (2013-03-24 03:28:32)
Offline
You can, and should, post error messages in English:
https://wiki.archlinux.org/index.php/Fo … s_and_Code
Offline
The makefile is missing the -lX11 flag on the gcc line.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Pages: 1