powerpc NPTL port

Khem Raj raj.khem at gmail.com
Sun May 9 01:06:39 UTC 2010


On (08/05/10 19:40), Rob Landley wrote:
> > > And this time it died with:
> > >
> > >   HOSTCC utils/getconf.host
> > > ../utils/getconf.c:1025: error: '_SC_V7_ILP32_OFF32' undeclared here (not
> > > in a function)
> > > ../utils/getconf.c:1026: error: '_SC_V7_ILP32_OFFBIG' undeclared here
> > > (not in a function)
> > > ../utils/getconf.c:1027: error: '_SC_V7_LP64_OFF64' undeclared here (not
> > > in a function)
> > > ../utils/getconf.c:1028: error: '_SC_V7_LPBIG_OFFBIG' undeclared here
> > > (not in a function)
> > > ../utils/getconf.c: In function 'main':
> > > ../utils/getconf.c:1130: error: 'GETCONF_DIR' undeclared (first use in
> > > this function)
> > > ../utils/getconf.c:1130: error: (Each undeclared identifier is reported
> > > only once
> > > ../utils/getconf.c:1130: error: for each function it appears in.)
> > > ../utils/getconf.c:1130: warning: pointer type mismatch in conditional
> > > expression
> > > ../utils/getconf.c:1157: warning: implicit declaration of function
> > > 'mempcpy' ../utils/getconf.c:1157: warning: incompatible implicit
> > > declaration of built- in function 'mempcpy'
> > > ../utils/getconf.c:1220: warning: incompatible implicit declaration of
> > > built- in function 'mempcpy'
> > > make[1]: *** [../utils/getconf.host] Error 1
> > > make: *** [hostutils] Error 2
> > >
> > > Any ideas?
> >
> > you need to have libc6-dev installed on your build box.
> 
> It is:
> 
> aptilandley at driftwood:~/firmware/firmware$ aptitude show libc6-dev
> Package: libc6-dev
> State: installed

seems definitely something is missing on your build machine. I have
kubuntu 10.04 and builds fine. You can
disable building hostutils for now to workaround.

Then if you can preprocess the getconf.c(for host build)
and paste somewhere I can have
a look

Thx
-Khem


More information about the uClibc mailing list