Hi All, With the help of CLFS documentation and patches I could build Linux cross toolchain for mips32 successfully, Thanks to CLFS for such a great job.
In order to build toolchain, I used the gcc-4.1.1 and glibc-2.4 with the appropriate patches mentioned at CLFS 1.0.0 mips. But when I am trying to compile my kernel (2.6.15) it is throwing the following errors: CC init/do_mounts.o In file included from include/linux/nfs_fs.h:15, from init/do_mounts.c:12: include/linux/pagemap.h: In function 'fault_in_pages_readable': include/linux/pagemap.h:237: error: read-only variable '__gu_val' used as 'asm' output include/linux/pagemap.h:237: error: read-only variable '__gu_val' used as 'asm' output include/linux/pagemap.h:237: error: read-only variable '__gu_val' used as 'asm' output include/linux/pagemap.h:237: error: read-only variable '__gu_val' used as 'asm' output include/linux/pagemap.h:243: error: read-only variable '__gu_val' used as 'asm' output include/linux/pagemap.h:243: error: read-only variable '__gu_val' used as 'asm' output include/linux/pagemap.h:243: error: read-only variable '__gu_val' used as 'asm' output include/linux/pagemap.h:243: error: read-only variable '__gu_val' used as 'asm' output make[1]: [init/do_mounts.o] Error make: [init] Error 2 And it throws the following error when I try to cross compile the busybox-1.10 using the same toolchain: /tools/include/linux/ip.h:81: error: redefinition of 'struct iphdr' networking/libiproute/ iptunnel.c: In function 'do_tunnels_list': If both the issues are known issues, and there are patches available for the same, kinldy help me how can I do that. Thanks & Regards Rajeev Bansal. _______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
