Re: [gtk-list] Re: Compiling gtk+-1.0.0



raster@redhat.com wrote:
> 
> On 11 May, Joakim Hove shouted:
> ->
> ->
> ->     ../gdk/.libs/libgdk.so: undefined reference to `XFreePixmap'
> ->     ../gdk/.libs/libgdk.so: undefined reference to `XSetWMProtocols'
> ->     ../gdk/.libs/libgdk.so: undefined reference to `XSetWMIconName'
> ->     ../gdk/.libs/libgdk.so: undefined reference to `XLowerWindow'
> ->     ../gdk/.libs/libgdk.so: undefined reference to `XCreateFontCursor'
> ->     ../gdk/.libs/libgdk.so: undefined reference to `XCopyGC'
> ->     etc. etc.
> ->
> ->  Mu suggestions :
> ->
> ->   1. Are the libgtk/libgdk libraries in the path given in ld.so.conf,
> ->      if not add them.
> ->   2. Have you run the program /sbin/ldconfig (as root). This must be
> ->      done after any additions to ld.so.conf.
> 
> how about adding -lXlib -lXext :) if they are alreday on the link line,
> are the X libs installed in a strange place? add a
> -L/path/to/dir/X11/lib whatever to the link line to tell the linker to
> look there.. 

That did it! Thank's .... i had to finger around with autogen.sh
generated
makefiles... i assumed autogen would take of those things ... 
specially since i have the X libs in quite a normal place:
/usr/X11R6/lib.
I have to check autogen out!? (probably hav'nt understood quite yet..)

> now u make have to add this dir to /etc/ld.so.conf and/or
> add it to your LD_LIBRARY_PATH environment variable.
> 
> ->  Hope this helps,
> ->
> ->  Joakim
> ->
> 
> --
> --------------- Codito, ergo sum - "I code, therefore I am" --------------------
> raster@rasterman.com       /\___ /\ ___/||\___ ____/|/\___  raster@redhat.com
> Carsten Haitzler           | _ //__\\ __||_ __\\ ___|| _ /  Red Hat Advanced
> 218/21 Conner Drive        || // __ \\_ \ | |   \ _/_|| /   Development Labs
> Chapel Hill NC 27514 USA   ||\\\/  \//__/ |_|   /___/||\\   919 547 0012 ext 282
> +1 (919) 929 9443, 801 4392   For pure Enlightenmenthttp://www.rasterman.com/
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null

**********************************************************************
Henrici Software, E & B           email:         henrici@dial.eunet.ch
Fuchsiastrasse 14                 Tel.:          +41-1-4002390          
CH-8048 Zurich                    Fax.:          +41-1-4002391



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]