[xcrysden] Error trying to compile Xcrysden on Ubuntu 8.04

Tone Kokalj tone.kokalj at ijs.si
Mon Mar 23 17:08:49 CET 2009


On Sun, 2009-03-22 at 13:05 +0100, Bobby wrote:
> Hi guys am sysadmin for the African university of science and 
> technology. of of our professor needs me to install Xcrydens to our 
> computer labs which runs ubuntu 8.04. i downloaded the this package   
> xc-1.5.17-src-all.tar.gz 
> <http://www.xcrysden.org/download/xc-1.5.17-src-all.tar.gz>  but and my 
> Make.sys looks like this http://pastebin.com/f3038ae51 when i run make 
> all i get the following error
> 
> (.text+0xbe): undefined reference to `xcb_disconnect'
> /usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/libX11.a(OpenDis.o): 
> In function `OutOfMemory':
> (.text+0x3fa): undefined reference to `xcb_disconnect'
> /usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/libX11.a(OpenDis.o): 
> In function `XOpenDisplay':


Seems like your libX11.a needs some functions from libxcb.a

You may add -lxcb to X_LIB flag in Make.sys.

If you don't have libxcb library, you need to install libxcb1-dev
package, i.e.: apt-get install libxcb1-dev

As an alternative, you may try with one of the precompiled versions.

Regards, Tone
-- 
Anton Kokalj
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia 
(tel: +386-1-477-3523 // fax:+386-1-477-3822)

Please, if possible, avoid sending me Word or PowerPoint attachments.
See:  http://www.gnu.org/philosophy/no-word-attachments.html



More information about the XCrySDen mailing list