I'm trying to build libc 5.4.44 from sources on a RedHat 4.2 system.
It fails to build out of the box. It requires argz.h, which it
doesn't provide, and which doesn't appear to exist on pre-5.44 systems
(RedHat 4.2 ships with 5.3). What's strange is that the argz routines
themselves ARE included. When I lift argz.h from a system that has
one, it dies later on in the build:
/usr/bin/gcc -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2
-O1 -funroll-loops -I. -DLOCALE_PATH='"/usr/share/locale"'
-I../libio -I../libio/stdio -DNLS -I../nls -DYP -DNO_SHADOW
-D_GNU_SOURCE -DSTDC_HEADERS -DUSG -DDIRENT -DSYSV -DUSE_BSD_REGEX
-D_LIBC -DINTERNAL_LINUX_C_LIB -D_REENTRANT -Wall -Wstrict-prototypes
-Wmissing-prototypes -funsigned-char -I../internal -nostdinc
-I/usr/include/linux -c loadlocale.c -o ../elfstatic/libc/loadlocale.o
In file included from loadlocale.c:47: categories.def:45:
`_NL_COLLATE_NRULES' undeclared here (not in a function)
categories.def:45: nonconstant array index in initializer for
I've tried a variety of configuration options. Anyone who's gotten
5.4.x to build under RedHat 4.2, please drop me a line; if this is not
possible, naturally I'd also like to know that...
: Unix consulting of all shapes and sizes : No hack too small or too large :
:::: X : TCP/IP : C : OOP : Legacy code : Distributed Systems : Whatever :::
::: It's just a lot of nothing, so what can it mean? -- F. Zappa :::::::::::