auto-import failure for new libXt

Ralf Habacker ralf.habacker@freenet.de
Fri Mar 26 22:59:00 GMT 2004


On Saturday 20 March 2004 23:32, Brian Ford wrote:
> I guess this is just a heads up since I don't have time to debug it
> right now, but with the latest XFree packages, I get a stream
> of error messages like the following when linking our apps:
>
> /home/ford/v9winsym/util/Failure_report/../../../vissym/util/Failure_report
>/failure_report.c:104: variable '_XtStrings' can't be auto-imported. Please
> read the
> documentation for ld's --enable-auto-import for details.
> failure_report.o(.text+0x203f): In function `main':
>
> This used to work, all be it with similar warnings.  Is it time to make a
> pass through the X headers, adding the proper export tags?  Ugh...

No, only make sure, that you are using -fdata-sections when compiling source 
and -Wl,--enable-runtime-pseudo-reloc when linking. 

BTW: You can find detailed informations about this topic in the ld info page 
(see Machine Dependent/Win32 section)

Ralf 



More information about the Cygwin-xfree mailing list