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



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.. 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/ 



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