This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: Cross-compiling glibc 2.2.x: gnu/lib-names.h is empty
- To: Håvard Wigtil <havardw at stud dot ntnu dot no>
- Subject: Re: Cross-compiling glibc 2.2.x: gnu/lib-names.h is empty
- From: Andreas Jaeger <aj at suse dot de>
- Date: 15 May 2001 16:20:34 +0200
- Cc: <glibc-linux at ricardo dot ecn dot wfu dot edu>
- References: <Pine.GSO.4.33.0105141422220.21053-100000@jeeves.stud.ntnu.no>
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
Håvard Wigtil <havardw@stud.ntnu.no> writes:
> Hi!
>
> I'm trying to set up sparc-solaris -> arm-linux cross toolchain. I've
> successfully compiled cross-binutils and cross-ggc, bur I can't compile
> glibc.
>
> I've run configure with "../../src/glibc-2.2.1/configure arm-linux
> --prefix=/home/hades/b/ifi-hf/havardw/arm/arm-linux --enable-add-ons
> --with-headers=/home/hades/b/ifi-hf/havardw/arm/src/linux/include"
> for compilation in a separate build directory, and used a similar
> configure line for build of 2.2.2 in the source directory.
>
> I get the error included below ("`LIBNSS_FILES_SO' undeclared here") when
> I compile nss/nsswitch.c, and from what I understand this macro is
> supposed to be defined in gnu/lib-names.h, but this file is empty (apart
> from the standard includes to only include the file once).
Are you building shared libs? If you do, your tools are broken,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj