You are not logged in.

#1 2013-03-24 01:25:09

gazerocknotdead
Member
Registered: 2013-03-24
Posts: 1

can't compile wallchange aur package

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

#2 2013-03-24 02:03:06

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 18,345
Website

Re: can't compile wallchange aur package

You can, and should, post error messages in English:
https://wiki.archlinux.org/index.php/Fo … s_and_Code


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#3 2013-03-24 02:03:14

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,526
Website

Re: can't compile wallchange aur package

The makefile is missing the -lX11 flag on the gcc line.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

Board footer

Powered by FluxBB