Hi, I've gone thru the CLFS v1.0.0-x86 guide in an effort to build an isolated area on my i686 system where I can build i586 binaries for a custom Linux distro. When I try to build BusyBox (v1.1.0), I get the following error when it attempts to link:
gcc -Wl,-warn-common -o busybox -Wl,--start-group /sources/build-olymed/olymed/system2/src/busybox/busybox-1.1.0 /applets/applets.a ... /sources/build-olymed/olymed/system2/src/busybox/busybox-1.1.0/libbb/libbb.a -lm -lm -lcrypt -Wl,--end-group /sources/build-olymed/olymed/system2/src/busybox/busybox-1.1.0 /libbb/libbb.a(procps.o): In function `procps_scan': procps.c:(.text+0x1a7): undefined reference to `getpageshift' I came across one tidbit of information when doing a Google search ( http://www.linux-mips.org/archives/linux-mips/2006-10/msg00026.html), but I haven't a clue how to interpret the information presented. Btw, I have verified that BusyBox is referencing PAGE_SHIFT, and that under my CLFS environment that PAGE_SHIFT is defined in /usr/include/asm/page.h as follows: #define PAGE_SHIFT (getpageshift()) This header file containing this info came from the kernel 2.6.17.13 headers that I downloaded for CLFS. Where, however, is the library that provides the implementation, and more importantly, why doesn't gcc find it? Dave
_______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
