[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/gettext errors on Ultrix and AIX
From: |
Karl Berry |
Subject: |
texinfo/gettext errors on Ultrix and AIX |
Date: |
Wed, 16 Jul 2003 09:58:00 -0400 |
A user reported (thanks Christian) some gettext-related problems in the
texinfo 4.6 release, which uses gettext 0.12.1, and I need advice. His
message is appended.
1) (Least important.) texinfo's system.h said:
#ifndef HAVE_LC_MESSAGES
#define LC_MESSAGES (-1)
#endif
I can easily fix the warning by saying
#if !defined (HAVE_LC_MESSAGES) && !defined (LC_MESSAGES)
but from looking at the documentation, it seems to me that
HAVE_LC_MESSAGES is supposed to be obsolete. But lcmessage is still in
my aclocal. Any particular recommendation? Just remove the whole thing?
2) as for conflicting setlocale declarations, it seems locale.h is
getting included twice, once from libintl.h and once from system.h.
It's just a guess, but maybe the const declarations are different.
Christian, you can probably work around it by removing one #include
or the other. The real fix will hopefully come when I ansify the
texinfo sources. Gettext folks, if you have any thoughts along these
lines ...
3) the AIX failure to find libintl_gettext is the one that really
puzzles me. Although I see assorted references to that symbol in
intl/, I don't see any definitions. Help?
Thanks,
karl
Date: Wed, 16 Jul 2003 14:40:30 +0200
From: System APRIVILEGED Account <address@hidden> (by way of
Christian Krackowizer <address@hidden>)
To: address@hidden
Subject: texinfo on Ultrix and AIX
Hallo,
compiling fails in the last stages on Ultrix 4.3 anf AIX 4.1.5. gcc is 2.95.3.
texinfo 4.6 built well on HP-UX 10.20 and DEC OSF 3.2
if you need further informations please let me know.
Ultrix:
make[2]: Entering directory `/users/texinfo-4.6/lib'
source='substring.c' object='substring.o' libtool=no \
depfile='.deps/substring.Po' tmpdepfile='.deps/substring.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -g -O2 -c
`tes
t -f 'substring.c' || echo './'`substring.c
In file included from substring.c:20:
system.h:65: warning: `LC_MESSAGES' redefined
../intl/libintl.h:32: warning: this is the location of the previous definition
In file included from ../intl/libintl.h:22,
from gettext.h:26,
from system.h:58,
from substring.c:20:
/usr/local/lib/gcc-lib/mips-dec-ultrix4.3/2.95.3/include/locale.h:92:
conflictin
g types for `setlocale'
/usr/local/lib/gcc-lib/mips-dec-ultrix4.3/2.95.3/include/locale.h:92:
previous d
eclaration of `setlocale'
make[2]: *** [substring.o] Error 1
make[2]: Leaving directory `/users/texinfo-4.6/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/users/texinfo-4.6'
make: *** [all] Error 2
ds5000:/users/texinfo-4.6 ==>
AIX:
make[2]: Leaving directory `/usr/d1/system/texinfo-4.6/lib'
Making all in info
make[2]: Entering directory `/usr/d1/system/texinfo-4.6/info'
gcc -g -O2 -o makedoc makedoc.o ../lib/libtxi.a -lcurses
../intl/libintl.a -
liconv
ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make[2]: *** [makedoc] Error 1
make[2]: Leaving directory `/usr/d1/system/texinfo-4.6/info'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/d1/system/texinfo-4.6'
make: *** [all] Error 2
ibmwp1:/system/texinfo-4.6 ==>
with best regards
Christian Krackowizer
Schuler Business Solutions GmbH
Jakob-Haringer-Strasse 6
A-5020 Salzburg
Phone: +43(0)662/2282-0
FAX: +43(0)662/2282-9
e-Mail: address@hidden
_______________________________________________
Bug-texinfo mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-texinfo
- texinfo/gettext errors on Ultrix and AIX,
Karl Berry <=