[argyllcms] Compiling with jam-based archive fail
- From: Frédéric <frederic.mantegazza@xxxxxxxxxxx>
- To: argyllcms@xxxxxxxxxxxxx
- Date: Fri, 4 Aug 2006 12:45:05 +0200
Hi,
Last night, Mike & I also tried to compile argyll from the jam-based archive
(to see if the X problem he has comes from the autotools-based version) but
without success.
The problem comes from the /usr/X11R6/lib/xxx.a libraries, which do not
exist. Dont't know if it is a debian or a Xorg issue, but these files are
now in /usr/lib/.
I added the following symbolic links:
/usr/X11R6/lib/libX11.a -> /usr/lib/libX11.a
/usr/X11R6/lib/libXext.a -> /usr/lib/libXext.a
/usr/X11R6/lib/libXinerama.a -> /usr/lib/libXinerama.a
/usr/X11R6/lib/libXxf86vm.a -> /usr/lib/libXxf86vm.a
but then, I get the following errors:
Link pathplot
/usr/X11R6/lib/libX11.a(ConnDis.o): In function `_X11TransConnectDisplay':
(.text+0xaad): undefined reference to `XauDisposeAuth'
/usr/X11R6/lib/libX11.a(ConnDis.o): In function `_X11TransConnectDisplay':
(.text+0xcbf): undefined reference to `XauGetBestAuthByAddr'
/usr/X11R6/lib/libX11.a(ConnDis.o): In function `_X11TransConnectDisplay':
(.text+0xee2): undefined reference to `XdmcpWrap'
/usr/X11R6/lib/libX11.a(XlcDL.o): In function `open_object':
(.text+0x1d2): undefined reference to `dlopen'
/usr/X11R6/lib/libX11.a(XlcDL.o): In function `fetch_symbol':
(.text+0x280): undefined reference to `dlsym'
/usr/X11R6/lib/libX11.a(XlcDL.o): In function `fetch_symbol':
(.text+0x2db): undefined reference to `dlsym'
/usr/X11R6/lib/libX11.a(XlcDL.o): In function `close_object':
(.text+0x31b): undefined reference to `dlclose'
collect2: ld returned 1 exit status
cc -DUNIX -o pathplot
pathplot.o ../icc/libicc.a ../xicc/libxicc.a ../gamut/libgamut.a
../gamut/libgammap.a ../rspl/librspl.a ../cgats/libcgats.a ../numlib/libnum.a
../plot/libplot.a /usr/X11R6/lib/libX11.a -lm
...failed Link pathplot ...
If I add '-lXau -lXdmcp -ldl' to the LINKLIBS var, line 269 in the Jambase
file :
LINKLIBS default = -lm -lXau -lXdmcp -ldl ;
then, it compile. Why these libs are missing ?
PS: Mike, can you try to added these libes, and then compile with jam to see
if your X problem persists?
--
Frédéric
http://www.gbiloba.org
- Follow-Ups:
- [argyllcms] Re: Compiling with jam-based archive fail
- From: Frédéric
- [argyllcms] Re: Compiling with jam-based archive fail
- From: Mickael Profeta
- [argyllcms] Re: Compiling with jam-based archive fail
- From: Graeme Gill
Other related posts:
- » [argyllcms] Compiling with jam-based archive fail
- » [argyllcms] Re: Compiling with jam-based archive fail
- » [argyllcms] Re: Compiling with jam-based archive fail
- » [argyllcms] Re: Compiling with jam-based archive fail
- [argyllcms] Re: Compiling with jam-based archive fail
- From: Frédéric
- [argyllcms] Re: Compiling with jam-based archive fail
- From: Mickael Profeta
- [argyllcms] Re: Compiling with jam-based archive fail
- From: Graeme Gill