update metadata and build again
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
Hrw,
Thanks for the help. I updated (actually I rebuilt the environment) and I get a little farther. Now I have a problem in that it dies while building linux-openzaurus-2.6.17-r25. I am trying to build this for 2.4. I also noted it is building gcc-cross-3.4.4-r4 but I want it to use 2.95. I have downloaded and set up the 2.95 like this:
wget [a href=\"http://handhelds.org/download/projects/toolchain/archive/cross-2.95.3.tar.bz2]http://handhelds.org/download/projects/too...-2.95.3.tar.bz2[/url].
mkdir -p /usr/local/arm
cp ~/media/usbdisk/collie/cross-2.95.3.tar.bz2 /usr/local/arm
cd /usr/local/arm
tar -xjf cross-2.95.3.tar.bz2
cd /usr/local/arm/2.95.3/bin
mv arm-linux-gcc arm-linux-gcc-2.95
mv arm-linux-ld arm-linux-ld-2.11.2
export PATH=/media/usbdisk/collie/bitbake/bin:/usr/local/arm/2.95.3/bin$PATH
export BBPATH=/media/usbdisk/collie/build:/media/usbdisk/collie/bitbake/tmp/org.openembedded.oz354x
In my local.conf I have:
ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95"
MACHINE = "collie"
TARGET_ARCH = "arm"
DISTRO = "openzaurus-3.5.4.1"
KERNEL_VERSION = "2.4"
Here is the error:
<clip>
| CC arch/arm/common/rtctime.o
| CC arch/arm/common/locomo.o
| arch/arm/common/locomo.c: In function `locomo_frontlight_set':
| arch/arm/common/locomo.c:1064: warning: passing arg 1 of `locomo_gpio_write' from incompatible pointer type
| arch/arm/common/locomo.c:1066: warning: passing arg 1 of `locomo_gpio_write' from incompatible pointer type
| CC arch/arm/common/sharpsl_param.o
| CC arch/arm/common/scoop.o
| LD arch/arm/common/built-in.o
| CC arch/arm/mach-sa1100/clock.o
| CC arch/arm/mach-sa1100/generic.o
| CC arch/arm/mach-sa1100/irq.o
| CC arch/arm/mach-sa1100/dma.o
| CC arch/arm/mach-sa1100/time.o
| CC arch/arm/mach-sa1100/collie.o
| arch/arm/mach-sa1100/collie.c: In function `collie_uart_set_mctrl':
| arch/arm/mach-sa1100/collie.c:99: error: `uart_dev' undeclared (first use in this function)
| arch/arm/mach-sa1100/collie.c:99: error: (Each undeclared identifier is reported only once
| arch/arm/mach-sa1100/collie.c:99: error: for each function it appears in.)
| arch/arm/mach-sa1100/collie.c:102: error: invalid type argument of `->'
| arch/arm/mach-sa1100/collie.c:104: error: invalid type argument of `->'
| arch/arm/mach-sa1100/collie.c:107: error: invalid type argument of `->'
| arch/arm/mach-sa1100/collie.c:109: error: invalid type argument of `->'
| arch/arm/mach-sa1100/collie.c: In function `collie_uart_get_mctrl':
| arch/arm/mach-sa1100/collie.c:116: error: `uart_dev' undeclared (first use in this function)
| arch/arm/mach-sa1100/collie.c:118: error: invalid type argument of `->'
| arch/arm/mach-sa1100/collie.c: In function `collie_uart_probe':
| arch/arm/mach-sa1100/collie.c:134: error: `uart_dev' undeclared (first use in this function)
| arch/arm/mach-sa1100/collie.c: In function `collie_uart_remove':
| arch/arm/mach-sa1100/collie.c:140: error: `uart_dev' undeclared (first use in this function)
| make[1]: *** [arch/arm/mach-sa1100/collie.o] Error 1
| make: *** [arch/arm/mach-sa1100] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: /media/usbdisk/collie/bitbake-1.4/tmp/work/linux-openzaurus-2.6.17-r25/temp/log.do_compile.17407
NOTE: package linux-openzaurus-2.6.17-r25: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package linux-openzaurus-2.6.17: failed
ERROR: Build of gpe-image failed
</clip>
What am I doing wrong?
Rob