From: Paul W. <pa...@pa...> - 2010-02-02 17:31:25
|
I have run into another problem while trying to build dsplink so that I can use the dsp on the OMAP3530 by invoking the recipe for ti-codec-engine. Specifically, the sourcefile omap3530_phy_shmem.c is attempting to invoke a macro named IO_ADDRESS which is not defined. In searching with Google, I have found some references to TI Davinci which suggest that the IO_ADDRESS macro should be replaced by a call to ioremap. This in turn suggests that there is probably a patch (or series of patches) that need to be applied to the appropriate source files to correct the problem. I would have thought that these patches would have been applied by the relevant recipe(s) in the OE codebase but this is apparently not the case. There must be something missing here. Any suggestions? Paul Extract from the bitbake output: > CROSS_COMPILE=/home/Developer/git/arm-2008q1/bin/arm-none-linux-gnueabi- > modules > | make[1]: Entering directory > `/home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel' > | CC [M] > /home/Developer/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/ti-dsplink-module-1_61_03-r51b/dsplink_1_61_03/dsplink/gpp/src/../../gpp/src/arch/CFG_map.o > | CC [M] > /home/Developer/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/ti-dsplink-module-1_61_03-r51b/dsplink_1_61_03/dsplink/gpp/src/../../gpp/src/arch/dsp.o > | CC [M] > /home/Developer/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/ti-dsplink-module-1_61_03-r51b/dsplink_1_61_03/dsplink/gpp/src/../../gpp/src/arch/OMAP3530/shmem/Linux/omap3530_phy_shmem.o > | > /home/Developer/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/ti-dsplink-module-1_61_03-r51b/dsplink_1_61_03/dsplink/gpp/src/../../gpp/src/arch/OMAP3530/shmem/Linux/omap3530_phy_shmem.c: > In function 'OMAP3530_phyShmemInit': > | > /home/Developer/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/ti-dsplink-module-1_61_03-r51b/dsplink_1_61_03/dsplink/gpp/src/../../gpp/src/arch/OMAP3530/shmem/Linux/omap3530_phy_shmem.c:131: > error: implicit declaration of function 'IO_ADDRESS' > | make[2]: *** > [/home/Developer/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/ti-dsplink-module-1_61_03-r51b/dsplink_1_61_03/dsplink/gpp/src/../../gpp/src/arch/OMAP3530/shmem/Linux/omap3530_phy_shmem.o] > Error 1 > | make[1]: *** > [_module_/home/Developer/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/ti-dsplink-module-1_61_03-r51b/dsplink_1_61_03/dsplink/gpp/src] > Error 2 > | make[1]: Leaving directory > `/home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel' > | make: *** [debug] Error 2 > NOTE: Task failed: > /home/Developer/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/ti-dsplink-module-1_61_03-r51b/temp/log.do_compile.21818 > ERROR: TaskFailed event exception, aborting > ERROR: Build of > /home/Developer/overo-oe/org.openembedded.dev/recipes/ti/ti-dsplink-module_1.61.3.bb > do_compile failed > ERROR: Task 245 > (/home/Developer/overo-oe/org.openembedded.dev/recipes/ti/ti-dsplink-module_1.61.3.bb, > do_compile) failed > NOTE: Tasks Summary: Attempted 466 tasks of which 466 didn't need to > be rerun and 1 failed. > ERROR: > '/home/Developer/overo-oe/org.openembedded.dev/recipes/ti/ti-dsplink-module_1.61.3.bb' > failed |