XForms: Link errors using xforms with CYGWIN

From: Turnage, Justin (justin.turnage@lmco.com)
Date: Fri Feb 22 2002 - 09:59:32 EST


# To subscribers of the xforms list from "Turnage, Justin" <justin.turnage@lmco.com> :

Greetings,

I'm trying to port some Xforms code over from a PC running Mandrake Linux to
CYGWIN running in Windows 98.

I keep getting the following Link errors on the libforms archive:

/usr/local/lib/libforms.a(pixmap.o)(.text+0x59):pixmap.c: undefined
reference to `XpmLibraryVersion'
/usr/local/lib/libforms.a(pixmap.o)(.text+0xf0):pixmap.c: undefined
reference to `XpmFreeAttributes'
/usr/local/lib/libforms.a(pixmap.o)(.text+0x6f5):pixmap.c: undefined
reference to `XpmAttributesSize'
/usr/local/lib/libforms.a(pixmap.o)(.text+0x730):pixmap.c: undefined
reference to `XpmCreatePixmapFromData'
/usr/local/lib/libforms.a(pixmap.o)(.text+0x9c9):pixmap.c: undefined
reference to `XpmAttributesSize'
/usr/local/lib/libforms.a(pixmap.o)(.text+0xa06):pixmap.c: undefined
reference to `XpmReadFileToPixmap'

-flversion gives me:
FORMS Library beta 0.89.6 of 2000/05/19 05:54:26 (Compiled Oct 16 2000)
Copyright (c) 1996-2000 by T.C. Zhao and Mark Overmars
Parts Copyright(c) 1999-2000 by T.C. Zhao and Steve Lamont

uname -a gives me:
CYGWIN_95-4.0 PCF0288 1.3.9(0.51/3/2) 2002-01-21 12:48 i586 unknown

gcc -v gives me:
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs
gcc version 2.95.3-5 (cygwin special)

Any ideas?

Thanks,

Justin Turnage
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/



This archive was generated by hypermail 2b29 : Wed May 01 2002 - 13:54:14 EDT