During kernel compile ld(1) is unable to find /usr/lib/binutils/mips-unknown-linux-gnu/2.16.1/ldscripts<br><br>I was able to compile my current kernel without problems prior to changing to gcc 4.1.1 and rebuilding world with the -e flag, so I have a bad feeling something was altered to make this error occur. <br><br>To get through the compile I created a link within /usr/src/linux like so:<br><br>ln -s /usr/lib/binutils/mips-unknown-linux-gnu/2.16.1/ldscripts .<br><br>However, even with the working .config that is running on my machine or the default ip32 config, I can't get this newly compiled kernel to work. It just hangs or does even load. <br><br><br>Here is the original error:<br><br>nano linux # make vmlinux.32 modules modules_install CROSS_COMPILE=mips64-unknown-linux-gnu-<br> CHK include/linux/version.h<br> SPLIT include/linux/autoconf.h -> include/config/* <br> CC arch/mips/kernel/asm-offsets.s<br> GEN include/asm-mips/asm-offsets.h<br> CC scripts/mod/empty.o<br> HOSTCC scripts/mod/mk_elfconfig<br> MKELF scripts/mod/elfconfig.h<br> HOSTCC scripts/mod/file2alias.o <br> HOSTCC scripts/mod/modpost.o<br> HOSTCC scripts/mod/sumversion.o<br> HOSTLD scripts/mod/modpost<br> HOSTCC scripts/pnmtologo<br> HOSTCC scripts/conmakehash<br> HOSTCC scripts/bin2c<br> CC init/main.o <br> CHK include/linux/compile.h<br> UPD include/linux/compile.h<br> CC init/version.o<br> CC init/do_mounts.o<br> LD init/mounts.o<br>mips64-unknown-linux-gnu-ld: cannot open linker script file ldscripts/elf64btsmip.xr: No such file or directory <br>make[1]: *** [init/mounts.o] Error 1<br>make: *** [init] Error 2<br><br><br>Here is some system information that I hope will assist someone in pointing me at any mistakes I might have made:<br><br>[ebuild R ] sys-devel/binutils- 2.16.1-r3 USE="-multislot -multitarget -nls -test -vanilla" 12,368 kB <br><br>[ebuild R ] sys-devel/gcc-4.1.1 USE="(-altivec) -bootstrap -build -doc -fortran -gcj -gtk (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nls -nocxx -objc -objc++ -objc-gc -test -vanilla" 38,303 kB <br><br>nano linux # gcc-config -l<br> [1] mips-unknown-linux-gnu-4.1.1 *<br> [2] mips64-unknown-linux-gnu-4.1.1 *<br><br><br clear="all"><br>-- <br>Michael D. Bevilacqua<br><a href="mailto:michael@bevilacqua.us" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> michael@bevilacqua.us</a>