bug with solution: libXaw3d.a exports _Xt functions

Wenguang Wang wew036@mail.usask.ca
Thu Jan 30 09:30:00 GMT 2003


I have the latest version of cygwin and XFree86 installed on XP.

When I compile xfig 3.2.4 with xaw3d, it reports that many "_Xt..." 
functions are redifined in both the Xaw3d library and the Xt library.

I then downloaded the xaw3d 1.5 source and compiled it by my self. After 
I replaced the /usr/X11R6/lib/libXaw3d.a file with the new compiled 
file. Now I can compile xfig with xaw3d without problem.

Therefore, the xaw3d coming with cygwin might be somewhat broken.

This is how I compiled xaw3d source on cygwin:

1. Download it from

ftp://ftp.x.org/contrib/widgets/Xaw3d/R6.3/Xaw3d-1.5.tar.gz

2. Change the Imakefile by

   (1) add EXTRA_INCLUDES = -I.
   (2) (optional) Uncomment EXTRA_DEFINES = -DARROW_SCROLLBAR -DUSEGRAY

3. Run xmkmf ; make

4. cp libXaw3d.a /usr/X11R6/lib

Wenguang




More information about the Cygwin-xfree mailing list