This is the mail archive of the
cygwin-xfree@sources.redhat.com
mailing list for the Cygwin project.
RE: XpmReadFileToPixmap moissing from Xaw library ?
- To: <cygwin-xfree at sourceware dot cygnus dot com>
- Subject: RE: XpmReadFileToPixmap moissing from Xaw library ?
- From: "Suhaib Siddiqi" <ssiddiqi at inspirepharm dot com>
- Date: Tue, 31 Oct 2000 07:10:20 -0500
NO, It is not missing at all.
$ nm --print-file-name *.a | grep -i 'XpmReadFileToPixmap'
libXaw.a:Pixmap.o: U _XpmReadFileToPixmap
libXpm.a:ds27.o:00000000 T _XpmReadFileToPixmap
libXpm.a:ds27.o:00000000 I ___imp_XpmReadFileToPixmap
libXpm.a:ds27.o:00000000 I __imp__XpmReadFileToPixmap
It is an undefined reference in libXaw.a which needs to be resolved by
adding -lXpm.
Suhaib
> -----Original Message-----
> From: Mike Davies [mailto:mike.davies@epid.eurotherm.co.uk]
> Sent: Tuesday, October 31, 2000 7:04 AM
> To: cygwin-xfree@sourceware.cygnus.com
> Subject: XpmReadFileToPixmap moissing from Xaw library ?
>
>
> Hi,
>
> I am trying to compile a program uncer cygwin-xfree and I
> have run into a
> problem where it seems as if a function called XpmReadFileToPixmap is
> missing from one of the libraries. The error I get is as follows :
>
>
> /usr/X11R6/lib/libXaw.a(Pixmap.o)(.text+0x1d2b):Pixmap.c: undefined
> reference to
> `XpmReadFileToPixmap'
>
> I just wondered if there is a known fix for this or whether I should
> download the Xaw source and start in on debugging it. Any
> pointers as to
> how to start adding this function would be most gratefully
> received :-)
>
>
> Thanks,
>
>
> Mike
>
>