This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: /usr/lib/libXaw.a(Pixmap.o)(.text+0x1d4b):Pixmap.c: undefined reference to `XpmReadFileToPixmap'
- To: "'Andrew Markebo'" <flognat at flognat dot myip dot org>
- Subject: RE: /usr/lib/libXaw.a(Pixmap.o)(.text+0x1d4b):Pixmap.c: undefined reference to `XpmReadFileToPixmap'
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Wed, 23 May 2001 07:03:33 -0400
- Cc: "'cygwin-xfree'" <cygwin-xfree at cygwin dot com>
> -----Original Message-----
> From: Andrew Markebo [mailto:flognat@flognat.myip.org]
> Sent: Wednesday, May 23, 2001 7:02 AM
> To: Suhaib Siddiqi
> Cc: 'cygwin-xfree'
> Subject: Re:
> /usr/lib/libXaw.a(Pixmap.o)(.text+0x1d4b):Pixmap.c: undefined
> reference to `XpmReadFileToPixmap'
>
>
> *dig dig dig* Hmm could it be something like
>
> /usr/X11R6/lib/X11/config
> cygwin.rules:#define SharedLibXpm YES
Is this not in cygwin.rules? Rule to build shared libXpm is already
In cygwin.rules because libXpm.dll is compiled by default.
Suhaib
>
> I can't find a shared libXpm.so, only libXpm.a, I don't know
> if this is wrong or right..?
>
> /Andy
>
> / Suhaib Siddiqi <ssiddiqi@inspirepharm.com> wrote:
> | > -----Original Message-----
> | > From: Andrew Markebo [mailto:flognat@flognat.myip.org]
> | > Sent: Wednesday, May 23, 2001 4:09 AM
> | > To: Suhaib Siddiqi
> | > Cc: 'cygwin-xfree'
> | > Subject: Re:
> | > /usr/lib/libXaw.a(Pixmap.o)(.text+0x1d4b):Pixmap.c: undefined
> | > reference to `XpmReadFileToPixmap'
> | >
> | >
> | > / Suhaib Siddiqi <ssiddiqi@inspirepharm.com> wrote:
> | > | Add the -lXpm to your linker please.
> | > | XpmReadFileToPixmap
> | > | ^^^ points to what your linker is missing (a libXpm.a).
> The -lXpm
> | > | must be after -lXaw and before -lX11.
> | >
> | > Is this a 'problem' with cygx, or with xdvi, xkeycaps... ??
> | >
> | > When I do xmkmf on solaris, linux... for these utils, it
> | > includes -lxpm automagically in the makefile?
> | >
> | > /Andy
> | >
> |
> | Then you need to fix xmkmf in /usr/X11R6/bin. It is basically A
> | script which can be edited.
> |
> | Suhaib
>