This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cross-compiling glibc 2.2.x: gnu/lib-names.h is empty


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]