bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gettext: compilation/link errors (DLL on MinGW/MSYS (Win32))


From: Mark Lee
Subject: Re: gettext: compilation/link errors (DLL on MinGW/MSYS (Win32))
Date: Sat, 10 Sep 2005 15:20:22 -0600
User-agent: Mutt/1.5.9i

Hi,
I'm trying to build gettext CVS (with shared libraries) using MinGW
and MSYS.  I'm getting several errors:

1. the macro _INTL_MAY_RETURN_STRING_ARG(n) in libintl.h makes any
file compiled with g++ to throw out the error "attributes are not
allowed on a function-definition".

2. When everything does compile (reverting to the pre-attributes
version of libgnuintl.h.in, approximately from 2005-08-25), when  make
attempts to create the man files, I encounter an error message box
when help2man executes any of the programs that were thought to have
been fixed here
<http://lists.gnu.org/archive/html/bug-gnu-utils/2005-07/msg00042.html>,
that says "The application failed to initialize properly (0xc0000005).
Click on OK to terminate the application."  My tests have confirmed
that using "&line_comment" in the code still crashes the program. 
Given that my C skills are a bit rusty, I am unsure as to how to solve
this, other than to use the patch described here
<http://lists.gnu.org/archive/html/bug-gnu-utils/2005-06/msg00015.html>.

GCC version: gcc.exe (GCC) 3.4.2 (mingw-special)
ld version: GNU ld version 2.15.91 20040904
Any help would be appreciated.
Thanks,
-Mark




reply via email to

[Prev in Thread] Current Thread [Next in Thread]