1.2.2 on IRIX, another autoconf bug?

Christoph Moench-Tegeder cmt at rz.uni-karlsruhe.de
Tue May 13 00:07:02 CEST 2003


On IRIX 6.5 (when using SGI's compiler), comilation stops in
intl/l10nflist.c with the following message:
cc -c -DLOCALEDIR=\"/usr/common/segment/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/common/segment/share/locale\"  -DLIBDIR=\"/usr/segment/lib\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/local/include -I/usr/machine/include -I/usr/segment/include -O -OPT:Olimit=2000  l10nflist.c
cc-1515 cc: ERROR File = l10nflist.c, Line = 132
  A value of type "int" cannot be assigned to an entity of type "const char *".

          entry = strchr (entry, '\0') + 1;
                ^

1 error detected in the compilation of "l10nflist.c".

The trouble arises, when strchr is defined as index l10nflist.c, ll. 31).

Defining HAVE_STRCHR in config.h (IRIX has strchr) fixes the problem.
Of course, this is a workaround, not a fix.

Regards,
Christoph

-- 
Spare Space




More information about the Gnupg-devel mailing list