Re: Building GLIBC 2.3.4 on MIPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am using crosstool to help me build!

I have a problem when i compile that it seems to include a file sysdeps/mips/mips32/Makefile. This has the option -mabi=32. When it does the install-headers target in crosstool it passes this flag to the host compiler. This causes an error.

I get around this my removing this flag for the install header target and then putting it back for the rest of the crosstool script.

this results in a complete toolchain and a 2.6.11.6 kernel which is running on my target.

I then try to build busybox1.00 and i get the error
In file included from /home/laird/ccm_wa/ipstb/ipstb_laird/ipstb/build/packages/busybox-1.00/libbb/module_syscalls.c:26:
/opt/nxlinux/gcc/gcc-3.4.3-glibc-2.3.4/lib/gcc/mipsel-linux-gnu/3.4.3/../../../../mipsel-linux-gnu/sys-include/sys/syscall.h:39:27: bits/syscall.h: No such file or directory
make[1]: *** [/home/laird/ccm_wa/ipstb/ipstb_laird/ipstb/build/packages/busybox-1.00/libbb/module_syscalls.o] Error 1
make[1]: Leaving directory `/home/laird/ccm_wa/ipstb/ipstb_laird/ipstb/build/packages/busybox-1.00'


When i check it is missing.

I am presuming my hack to get the install-headers target may be breaking things but how else do i get round this.

Are you guys using crosstool?

Thanks for the help




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux