On Saturday 08 May 2010 20:06:39 Khem Raj wrote: > 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: > > > > aptiland...@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.
*shrug* 0.9.31 built fine. I just checked my headers and confirmed that /usr/include/bits/confname.h includes _SC_V6_ILP32_OFF32 and friends, but doesn't include _SC_V7_ILP32_OFF32 and friends. Lines 681 through 748 carefully #ifdef all the V7 stuff, but lines 1015 through 1030 don't test anything, just fail if it's not there. So you've modified uClibc so that it no longer builds under a 13 month old release of the most popular Linux distro. Presumably this means it doesn't build under the previous LTS version either. Hmmm, when I do "git log utils/getconf.c" all I get was Bernhard moving it from somewhere else on April 6. (I hate git. I really hate git. The UI is horrendous. Even with -v it won't tell me the names of hte files that were involved in the commit. There's no obvious way to get it to follow renames. Yes, I added "-M" and it still didn't. Right, it wanted --follow. And it's _STILL not showing me the names of the files...) Anyway: commit 0aee3966d647af55231db535b61553531f64d02e Author: Bernhard Reutner-Fischer <rep.dot....@gmail.com> Date: Wed Nov 25 15:56:28 2009 +0100 sync confname, environments with glibc Plus related synch. Add a testcase for the sysconf variables based on the one from glibc Signed-off-by: Bernhard Reutner-Fischer <rep.dot....@gmail.com> Didn't this used to be a very small, very simple shell script? What's the point of having uClibc at all if it's going to copy gnu bloat verbatim? > Then if you can preprocess the getconf.c(for host build) > and paste somewhere I can have > a look Attached. > Thx > -Khem Rob -- Latency is more important than throughput. It's that simple. - Linus Torvalds
getconf.out.gz
Description: GNU Zip compressed data
_______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc