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

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

Re: Problems building 3.1.[23] on HP-UX 11.11


From: Stepan Kasal
Subject: Re: Problems building 3.1.[23] on HP-UX 11.11
Date: Fri, 25 Jul 2003 13:23:52 +0200
User-agent: Mutt/1.2.5.1i

Hello Dirk,

On Wed, Jul 23, 2003 at 07:57:52AM +0200, Dirk Heinrichs wrote:
> >     #define _INCLUDE__STDC_A1_SOURCE
[...] 
> Unfortunately, it dos not. I get
> gcc [...] bindtextdom.c
> In file included from /usr/include/iconv.h:24,
>                  from gettextP.h:29,
>                  from bindtextdom.c:32:
> /vob/apps/gcc/HP-UX/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.2.3/include/wchar.h:87:
>  
> syntax error before "va_list"

I understand the problem was exactly the same with #define _XOPEN_SOURCE 500

As far as I understand it, iconv.h triggers something which forces wchar.h
to use va_list, ie. it requires that stdarg.h is included before iconv.h.
I don't understand why inconv.h doesn't include it.

Except for this problem
Thus I'd like to ask you for another experiment:
Put the following two lines at the end of custom.h:

#define _XOPEN_SOURCE 500
#include <stdarg.h>

and try to build gawk.

BTW, it seems that if you with _XOPEN_SOURCE 500 and with
        ./configure --disable-nls
the gettext code would not be compiled, thus the build would proceed.

Again, thank you very much for your help.

In case you don't have time fore more experiments, please tell me.

Have a nice day,
        Stepan Kasal




reply via email to

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