<div dir="ltr">Hello all,<br><br>I am following the instructions from the book CLFS-1.1.0-ppc.pdf  to cross compile the whole linux environment, and I facing problems to compile the glibc on the item 10.7 of the book. When I try to compile it <br>
<br><div style="margin-left: 40px; font-family: courier new,monospace;"><font size="1">make[2]: Entering directory `/usr/src/glibc-2.7/sunrpc'<br>CPP='gcc -E -x c-header'  /usr/src/glibc-build/elf/ld.so.1 --library-path /usr/src/glibc-build:/usr/src/glibc-build/math:/usr/src/glibc-build/elf:/usr/src/glibc-build/dlfcn:/usr/src/glibc-build/nss:/usr/src/glibc-build/nis:/usr/src/glibc-build/rt:/usr/src/glibc-build/resolv:/usr/src/glibc-build/crypt:/usr/src/glibc-build/nptl /usr/src/glibc-build/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /usr/src/glibc-build/sunrpc/xbootparam_prot.T<br>
<b>Inconsistency detected by ld.so: dl-load.c: 690: _dl_init_paths: Assertion `pelem->dirname[0] == '/'' failed!</b><br>make[2]: *** [/usr/src/glibc-build/sunrpc/xbootparam_prot.stmp] Error 127<br>make[2]: Leaving directory `/usr/src/glibc-2.7/sunrpc'<br>
make[1]: *** [sunrpc/others] Error 2<br>make[1]: Leaving directory `/usr/src/glibc-2.7'<br>make: *** [all] Error 2<br>root:/usr/src/glibc-build# <br></font></div><br>I am compiling it on a ppc 440 without fp. I compiled the kernel with math emulation option enable which provides me a soft-float emulation.<br>
<br clear="all">Anyone has any idea of why I am getting this error ? Is there any additional patch I should apply to fix it ?<br><br>Thanks in advance. <br>______________________________________<br>Ademir Zanetti Junior - Computer Engineer<br>
Mobile Phone - +55 19 8162 0286 <br>Personal e-mail - <a href="mailto:ademirzanetti@gmail.com">ademirzanetti@gmail.com</a><br>
</div>