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
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
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  •   Surfraw

Registered Linux User #482438

Offline

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

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,452
Website

Re: can't compile wallchange aur package

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

Board footer

Powered by FluxBB