While I have the toolchain, compiler, uClib and u-boot successfully built, my Linux kernel build is giving me some fits ... and I believe it is over the include files. When using `make menuconfig', where does one set the include path for the kernel build?? I have them in a path /usr/local/avr32/AVRLinux/include, and I'm having difficulting in convincing make to believe it ... go figure 8-).
gmake ARCH=avr32 CROSS_COMPILE=avr32-linux- git: not found CHK include/linux/version.h CHK include/linux/utsrelease.h HOSTCC scripts/mod/file2alias.o In file included from scripts/mod/file2alias.c:13: scripts/mod/modpost.h:21:1: warning: "ELF_ST_BIND" redefined In file included from /usr/include/machine/elf.h:45, from /usr/include/elf.h:37, from scripts/mod/modpost.h:10, from scripts/mod/file2alias.c:13: /usr/include/sys/elf_generic.h:79:1: warning: this is the location of the previous definition In file included from scripts/mod/file2alias.c:13: scripts/mod/modpost.h:22:1: warning: "ELF_ST_TYPE" redefined In file included from /usr/include/machine/elf.h:45, from /usr/include/elf.h:37, from scripts/mod/modpost.h:10, from scripts/mod/file2alias.c:13:
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
formatting link
The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
i've no experience with building linux under BSD, but i'd say there is no need to set the include path. a kernel release tar.gz/bz2 file contains all the include file it requires and the built expects them to be in /include. what makes you think you have a problem with the includes, the compiler warnings? the output you sent only contains warning messages, what makes the kernel built actually fail?
Thanks for your prompt reply ... quite correct, I included the top part of the build messages, and the ALL the pertinent information follows.
I had just guessed that the includes were in a state, as the errors appeared to be a conflict with architecture or at least the ELF stuff ... Any pointers would be deeply appreciated, as I have never X-built a Linux kernal, but it would be very convenient for me to be able to do so on FBSD.
Cheers, Rob.
gmake ARCH=avr32 CROSS_COMPILE=avr32-linux- git: not found CHK include/linux/version.h CHK include/linux/utsrelease.h HOSTCC scripts/mod/file2alias.o In file included from scripts/mod/file2alias.c:13: scripts/mod/modpost.h:21:1: warning: "ELF_ST_BIND" redefined In file included from /usr/include/machine/elf.h:45, from /usr/include/elf.h:37, from scripts/mod/modpost.h:10, from scripts/mod/file2alias.c:13: /usr/include/sys/elf_generic.h:79:1: warning: this is the location of the previous definition In file included from scripts/mod/file2alias.c:13: scripts/mod/modpost.h:22:1: warning: "ELF_ST_TYPE" redefined In file included from /usr/include/machine/elf.h:45, from /usr/include/elf.h:37, from scripts/mod/modpost.h:10, from scripts/mod/file2alias.c:13: /usr/include/sys/elf_generic.h:80:1: warning: this is the location of the previous definition In file included from scripts/mod/file2alias.c:13: scripts/mod/modpost.h:26:1: warning: "ELF_R_SYM" redefined In file included from /usr/include/machine/elf.h:45, from /usr/include/elf.h:37, from scripts/mod/modpost.h:10, from scripts/mod/file2alias.c:13: /usr/include/sys/elf_generic.h:76:1: warning: this is the location of the previous definition In file included from scripts/mod/file2alias.c:13: scripts/mod/modpost.h:27:1: warning: "ELF_R_TYPE" redefined In file included from /usr/include/machine/elf.h:45, from /usr/include/elf.h:37, from scripts/mod/modpost.h:10, from scripts/mod/file2alias.c:13: /usr/include/sys/elf_generic.h:77:1: warning: this is the location of the previous definition In file included from scripts/mod/file2alias.c:13: scripts/mod/modpost.h:119: error: syntax error before "Elf32_Section" In file included from scripts/mod/file2alias.c:40: scripts/mod/../../include/linux/input.h:19:23: asm/types.h: No such file or directory In file included from scripts/mod/file2alias.c:40: scripts/mod/../../include/linux/input.h:30: error: syntax error before "__s32" scripts/mod/../../include/linux/input.h:51: error: syntax error before "__s32" scripts/mod/../../include/linux/input.h:742: error: syntax error before "__s16" scripts/mod/../../include/linux/input.h:753: error: syntax error before "__s16" scripts/mod/../../include/linux/input.h:772: error: syntax error before "__s16" scripts/mod/../../include/linux/input.h:776: error: syntax error before "__s16" scripts/mod/../../include/linux/input.h:800: error: syntax error before "__s16" scripts/mod/../../include/linux/input.h:807: error: syntax error before "__s16" scripts/mod/../../include/linux/input.h:848: error: syntax error before "__s16" gmake[2]: *** [scripts/mod/file2alias.o] Error 1 gmake[1]: *** [scripts/mod] Error 2 gmake: *** [scripts] Error 2 [saddam.controlq.com:375>>%
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
formatting link
The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.