> I' ve no problem on alpha Dec-unix and Linux-i386
> but on an alpha with ULTRIX V4.3 , X11R4 linker can't find any Xpm
> function, exactly:
> XpmLibraryVersion
>
> [...]
>
> P.S. There's a Xpm lib (I think taken from avahi.inria.fr etc..)
> but names are different:
> ar -t /usr/lib/libXpm.a
> ...parse.o
> hashtab.o
> WrFFrP.o
> [...]
There are probably a couple of things going on here.
You probably have an old version of the Xpm library.. Get a new
version from your favorite X mirror site. I believe it lives in the
contrib directory somewhere. An Archie or web search will give you
exact locations.
Second, try using nm instead of ar -t:
szechuan:spl> nm /usr/lib/X11/libXpm.a
data.o:
00000000 t _ParseComment
[...}
00000e28 D _xpmDataTypes
00000b28 T _xpmGetCmt
00000894 T _xpmGetString
000003cc T _xpmNextString
00000678 T _xpmNextUI
000006a4 T _xpmNextWord
00000b84 T _xpmParseHeader
[...]
This will tell you what's in a library, object file, or executable.
Finally, if you link dynamically with the XForms library the Xpm
library is built in. For reasons that I don't recall, the Xpm stuff
is not in the static version of the library. TC, want to remind me
why this is so?
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/