axiom-mail
[Top][All Lists]
Advanced

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

Re: [Axiom-mail] Re: Options for building GCL from Axiom


From: Vanuxem Grégory
Subject: Re: [Axiom-mail] Re: Options for building GCL from Axiom
Date: Sat, 05 Aug 2006 15:07:59 +0200

Hello,

Le vendredi 04 août 2006 à 19:30 -0400, root a écrit : 
> > In my conversion to Autoconf, I just call the Autoconf macro
> > AC_PATH_XTRA.  It has knowledge to find the "right" include and
> > library paths for X11 and set them in X_CFLAGS and X_LDFLAGS
> > respectively.  That way, there is no need to worry whether the lib64
> > path should come before or after.
> 
> 
> It's not that simple unfortunately (or maybe it is and I just
> don't understand it). For instance, the current conflict between
> the "linux" branch and the "fedora5" branch is libXpm. Linux 
> uses libXpm.a from /usr/X11R6/lib and fedora5 doesn't seem to 
> have that file. Fedora5 wants -lXpm but when I feed THAT to the
> "linux" build it fails thus:
> 
>            /tmp/axiom49/obj/fedora5/lib/bsdsignal.o 
> -L/tmp/axiom49/obj/fedora5/lib -lspad  -L/usr/X11R6/lib -lXpm  -lX11 -lm 
> -L/tmp/axiom49/obj/fedora5/lib )
> linking /tmp/axiom49/mnt/fedora5/bin/htadd
> /usr/X11R6/lib/libXpm.so: undefined reference to `XDefaultScreen'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XCreateImage'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XDefaultVisual'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XFreeGC'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XUngrabServer'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XGetImage'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XFreeColors'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XParseColor'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XGrabServer'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XQueryColors'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XAllocColor'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XGetGeometry'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XDefaultColormap'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XDefaultDepth'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XPutImage'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XCreatePixmap'
> /usr/X11R6/lib/libXpm.so: undefined reference to `XCreateGC'
> 
> so I have:
>     linux:  -l/usr/X11R6/lib/libXpm.a
>   fedora5:  -l/usr/X11R6/lib -lXpm

I originally reported the bug (without patch) and mention that with Xorg
>= 7.0 libXpm.a is, if it is available, (always ?) in the /usr/lib
directory (for example in Debian testing/unstable and in Ubuntu Dapper).

Greg

> I'm not sure how autoconf resovles that issue because the failure
> occurs during linking. I suppose you could construct a special case
> test for this. I'm just constructing the same case using the AXIOM
> variable.
> 
> t
> 
> 
> _______________________________________________
> Axiom-mail mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/axiom-mail
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]