Topic: New to linux (not so new to unix) having problems building kernel.....
Hi,
I have just bought a chumby and wanted to play. First I wanted to just see if I could build the kernel as explained on the developers site.
So I download vmware, got kubuntu-kde 4.7.
Next I did as was specified on the chumby site.
Installed toolchain GCC 4.1.2
Did following:
$ mkdir kernel
$ cd kernel
$ tar zxvf linux-2.6.16-chumby-1.0.tar.gz
$ cd linux-2.6.16
$ cp arch/arm/configs/mx21ads_defconfig .config
$ ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make oldconfig
(select 'Y' when asked if you wish to build in the 224 color Turbochef logo)
$ ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make
I got an error that make did not exist so. I did an 'apt-get install make'. It was happier.....
Now when I do a
$ ARCH=arm BOARD=mx21ads CROSS_COMPILE=arm-linux- make
I get a lot of output with warnings and errors... Not sure if this is normal.....(not able to cut/paste from vmware)
Eventually terminates with:
arch/arm/kernel/asm-offsets.c:97: error: invalid application of 'sizeof' to incomplete type 'struct machine_desc'.
Any help would be appreciated.
Thanks