This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: auto-import failure for new libXt
- From: Ralf Habacker <ralf dot habacker at freenet dot de>
- To: cygwin-xfree at cygwin dot com,Brian Ford <ford at vss dot fsi dot com>
- Date: Fri, 26 Mar 2004 22:41:33 +0100
- Subject: Re: auto-import failure for new libXt
- References: <Pine.GSO.4.58.0403201625290.7949@thing1-200>
- Reply-to: cygwin-xfree at cygwin dot com
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