libc 5.4.44: missing argz.h

libc 5.4.44: missing argz.h

Post by atti » Tue, 21 Apr 1998 04:00:00



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"'
        -DCHARMAP_PATH='"/usr/share/i18n/charmap"'
        -DLOCSRCDIR='"/usr/share/i18n/locales"' -DHAVE_CONFIG_H
        -DLOCALE_ALIAS_PATH='"/usr/share/locale:/usr/share/i18n"' -Iprograms
        -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 -I/usr/lib/gcc-lib/i386-linux/2.7.2.1/include
        -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
`_nl_value_type_LC_COLLATE'

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...

Pax,
        :: A.
--

: 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 :::::::::::

 
 
 

libc 5.4.44: missing argz.h

Post by Wilhelm Wienema » Tue, 21 Apr 1998 04:00:00



> 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"'
>    -DCHARMAP_PATH='"/usr/share/i18n/charmap"'
>    -DLOCSRCDIR='"/usr/share/i18n/locales"' -DHAVE_CONFIG_H
>    -DLOCALE_ALIAS_PATH='"/usr/share/locale:/usr/share/i18n"' -Iprograms
>    -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 -I/usr/lib/gcc-lib/i386-linux/2.7.2.1/include
>    -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
> `_nl_value_type_LC_COLLATE'

> 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...

> Pax,
>    :: A.
> --

> : 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 :::::::::::

--
\_\_\       /_/_/ | Wilhelm Wienemann, Amselweg 10, D-47546 Kalkar/Germany

  \_\_\/\\/_/_/   | PGP-key available on request  
   \__/\___/_/    |"Wissensdurst ist die fluessige Form von Bildungshunger"

 
 
 

1. Can't build libc 5.4.44, missing stddef.h

I am trying to build libc-5.4.44.  `make depend' gets hundreds of errors
like

../../include/stdlib.h:34: stddef.h: No such file or directory

stddef.h is not in libc-5.4.44.tar.gz.  I looked in
libc-5.4.38.bin.tar.gz and libc-5.4.44.bin.tar.gz and didn't find it
there either.  

Where is stddef.h supposed to come from?  I do have the correct link
from /usr/include/linux to /usr/src/linux/include/linux:

% ls -ld /usr/include/linux
lrwxrwxrwx   1 root     root           28 Feb  1 09:25 /usr/include/linux -> /usr/src/linux/include/linux

And stddef.h thus appears at /usr/include/linux/stddef.h:

% ls -l /usr/include/linux/stddef.h
-rw-r--r--   1 bin      bin           243 Dec  1  1993 /usr/include/linux/stddef.h

Should there be a link from /usr/include/stddef.h to
/usr/include/linux/stddef.h?  Or a /usr/include/stddef.h that itself
includes /usr/include/linux/stddef.h?

% uname -sr
Linux 2.0.33
% gcc --version
2.7.2.3

I recently installed:

binutils-2.8.1.0.15.bin.tar.gz
gcc-2.7.2.3.bin.tar.gz
ld.so-1.9.5.tar.gz
libc-5.4.38.bin.tar.gz
libg++-2.7.2.8.bin.tar.gz

--

http://www.nyx.net/~lmulcahy/   http://www.geocities.com/Area51/Zone/9653/

2. Monitor Adaptors

3. HELP: Libc 5.4.44 undefined symbols

4. Redhat network config

5. libc 5.4.44 installation problems

6. Linux box as dialup server

7. kernel 2.1.98 and libc 5.4.44

8. Full Duplex sound with ES1869 sound card

9. Trying to install libc.so.5.4.44 (long)

10. Odd scandir behaviour; libc.so.5.4.44

11. Problems with libc.so.5.4.44

12. Red hat 5.0, Libc 5.4.44 and Staroffice 4.0 SP3

13. compiling 2.2.x with egcs and libc.so.5.4.44