[Top][All Lists]

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

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

From: Dirk Heinrichs
Subject: Re: Problems building 3.1.[23] on HP-UX 11.11
Date: Tue, 22 Jul 2003 15:22:31 +0200
User-agent: KMail/1.5

Hi again,
> I'd like to ask you for help with debugging the problem.  Is seems that
> the problem is that type "mbstate_t" is not declared.
> On my GNU/Linux system, "man mbrlen" says this:
>        #include <wchar.h>
>        size_t mbrlen(const char *s, size_t n, mbstate_t *ps);
> Is this the same on HP-UX?  I mean whether the prototype is the same
> and whether wchar.h defines the type mbstate_t.
The prototype is the same, but in wchar.h I found this:
#        ifdef _INCLUDE__STDC_A1_SOURCE

#             include <sys/_mbstate_t.h>

a few lines before mbrlen() prototype, so you might have to define 


Dirk Heinrichs          | Tel:  +49 (0)151 1513 6954
Configuration Manager   | Fax:  +49 (0)211 47068 111
Cap Gemini Ernst & Young| Mail: address@hidden
Hambornerstra├če 55      | Web:  http://www.cgey.com
D-40472 D├╝sseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

Attachment: pgpRsXzua4aAa.pgp
Description: signature

reply via email to

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