On 19 Mar 2008, at 09:55, Jim Meyering wrote:

Ton Voon <[EMAIL PROTECTED]> wrote:
We've found that the regex module is missing the mbstate_t.m4 file,
because it causes this compile error on HP-UX:

cc: "regex_internal.h", line 375: error 1000: Unexpected symbol:
"mbstate_t".

This addition into modules/regex appears to be sufficient:

Files:
m4/mbstate_t.m4

configure.ac:
AC_TYPE_MBSTATE_T

That looks good.

However, please tell us more about the build environment
that requires this change.  That will be an important part
of documenting the fix: the ChangeLog entry will tell others
whether this is required with gcc or vendor-cc (and which version),
and on which version(s) of HP-UX.

Unfortunately, this HP-UX server is not mine. But I've asked Matthias Broenner for some information, which he's returned:

from the System:

swlist

B9007AA B.11.11.16 HP C/aC++ Developer's Bundle
     PHSS_36086                    1.0            ANSI C compiler
B.11.11.16 cumulative patch



Kybelle:/root # uname -a
HP-UX Kybelle B.11.11 U 9000/785 2015103231 unlimited-user license


Is there any other specific information you need?

The full log file for a successful compile (when we added mbstate_t.m4) is here:

http://tinderbox.altinity.org/cgi-bin/gunzip.cgi?tree=nagiosplug&full-log=1205726984.24281

The log confirms it is a vendor cc.

Ton

http://www.altinity.com
UK: +44 (0)870 787 9243
US: +1 866 879 9184
Fax: +44 (0)845 280 1725
Skype: tonvoon



Reply via email to