[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-mail] Re: Options for building GCL from Axiom
From: |
Gabriel Dos Reis |
Subject: |
[Axiom-mail] Re: Options for building GCL from Axiom |
Date: |
05 Aug 2006 05:16:50 +0200 |
root <address@hidden> writes:
| > 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).
I strongly disagree with your remark.
| For instance, the current conflict between
| the "linux" branch and the "fedora5" branch is libXpm. Linux
| uses libXpm.a
I don't understand why you want to say explicit "libXpm.a". Any make
rule that mentions that explicitly is bound to fail at some point.
| 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'
These symbols are defined in X11. So I highly suspect an ordering
error of the library you specify.
|
| so I have:
| linux: -l/usr/X11R6/lib/libXpm.a
| fedora5: -l/usr/X11R6/lib -lXpm
I don't think there is any conflit; just a bug in the way the LDFLAGS
are specified. I don't think there should be any explicit mention of
libXpm.a. That looks bogus to me.
-- Gaby
- [Axiom-mail] Options for building GCL from Axiom, Gabriel Dos Reis, 2006/08/04
- [Axiom-mail] Re: Options for building GCL from Axiom, root, 2006/08/04
- [Axiom-mail] Re: Options for building GCL from Axiom, Gabriel Dos Reis, 2006/08/04
- [Axiom-mail] Re: Options for building GCL from Axiom, root, 2006/08/04
- [Axiom-mail] Re: Options for building GCL from Axiom, Gabriel Dos Reis, 2006/08/04
- [Axiom-mail] Re: Options for building GCL from Axiom, root, 2006/08/04
- [Axiom-mail] Re: Options for building GCL from Axiom,
Gabriel Dos Reis <=
- Re: [Axiom-mail] Re: Options for building GCL from Axiom, Vanuxem Grégory, 2006/08/05
- Re: [Axiom-mail] Re: Options for building GCL from Axiom, Vanuxem Grégory, 2006/08/05
- Re: [Axiom-mail] Re: Options for building GCL from Axiom, Gabriel Dos Reis, 2006/08/05
- [Axiom-mail] Re: Options for building GCL from Axiom, root, 2006/08/04
- [Axiom-mail] Re: Options for building GCL from Axiom, Gabriel Dos Reis, 2006/08/04