I recently bought a Overo Fire on Chestnut43. I also built a basic console image after facing problems which I resolved using answers in this forum. Now, I have come to the following as the plan for future development.
1. Create a buildroot image
2. Flash it to the device
3. Cross compile the usr program i.e. my programs
4. Transfer the exe to GumStix board and run the program.
Q1. Is this the right way of doing things?
Q2. I was trying to build the buildroot image but it was failing for a lot of files which it was looking for in the dl/ directory. I found all those and ran the build again. I got the following error and could not resolve this.
make: Entering directory `/home/bhuser/gumstix-
In function ‘read_symbol’:
scripts/kallsyms.c:83: warning: ignoring
return value of ‘fgets’, declared with attribute warn_unused_result
scripts/mod/sumversion.c: In function ‘get_src_version’:
error: ‘PATH_MAX’ undeclared (first use in this function)
error: (Each undeclared identifier is reported only once
scripts/mod/sumversion.c:384: error: for each function it appears in.)
warning: unused variable ‘filelist’
[scripts/mod/sumversion.o] Error 1
make: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
make: *** Waiting for unfinished
make: *** [/home/bhuser/gumstix-buildroot/build_arm_nofpu/linux-2.6.21gum/arch/arm/boot/compressed/vmlinux]
Can someone help me in knowing where I am going wrong? Any help is appreciated.
Have a great day!