From: paulhursky <pau...@hl...> - 2010-01-14 20:04:04
|
I think I remember reading that bitbake has trouble or causes trouble with symbolic links. I'm sorry I don't have time to track this down, but if this is the key for you, then it is a very easy thing to try to fix. For example, a search under bitbake symbolic links turned up: http://wiki.openmoko.org/wiki/OpenEmbedded http://www.openzipit.org/Z2Develop/ where they caution that the $OE path not contain any symbolic links. Not sure if this applies to the situation you are in... Paul Paul Wilson wrote: > > Greetings fellow list members, > > Having reached the point where I can successfully build and run my own > code on the ARM core in the OMAP on the Gumstix Overo, it is now time to > work on getting code to run on the DSP core. Accordingly, I am trying to > install DSPLink using the instructions found at > http://pixhawk.ethz.ch/wiki/tutorials/omap/dsp_toolchain#omap3_dsp_toolchain > but I have run into a problem I have not yet been able to solve. I can > run the make successfully (with no errors reported that is) for the DSP > side but the make for the ARM (GPP) side fails with several errors that > appear to be due to the inability to find the include file stdarg.h > referenced in the include file kernel.h. I have included the output from > make at the end of this posting. > > My OE environment was installed as per the instructions found at > http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Setting-up-a-build-environment/111.html > > so it is rooted at $HOME/overo-oe. > > The one thing in the configuration for the build for the GPP side that > has to be configured for the specific environment is the > $DSPLINK/make/gpp/omap3530_2.6.mk file. The relevant lines in mine are > as follows: > > # > ---------------------------------------------------------------------------- > # Base directory for the GPP OS > # > ---------------------------------------------------------------------------- > BASE_BUILDOS := > ${HOME}/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel > > # > ---------------------------------------------------------------------------- > # Base for toolchain > # > ---------------------------------------------------------------------------- > BASE_TOOLCHAIN := ${HOME}/cross/armv7a > > To permit the BASE_TOOLCHAIN to find the relevant cross tools, I have > placed a symbolic link in $HOME as follows: > > cross -> /home/Developer/overo-oe/tmp/cross > > I am not sure if the path I used for BASE_BUILDOS is correct so any > knowledgeable comments on that would be appreciated as well as any ideas > on what else may need changing to fix the problem. > > Thanks in advance for any help, > > Paul Wilson > > > Output from make: > > [Developer@Gumstix-dev src]$ make -s > > [SRC ] ======= DIRS ================== INCLUDE ============ > [ARCH ] ------- DIRS ------------------ INCLUDE ------------ > [GEN ] ------- DIRS ------------------ INCLUDE ------------ > [OSAL ] ------- DIRS ------------------ INCLUDE ------------ > [LDRV ] ------- DIRS ------------------ INCLUDE ------------ > [PMGR ] ------- DIRS ------------------ INCLUDE ------------ > [API ] ------- DIRS ------------------ INCLUDE ------------ > > [SRC ] ======= DIRS ================== DEBUG ============== > [ARCH ] ------- DIRS ------------------ DEBUG -------------- > [GEN ] ------- DIRS ------------------ DEBUG -------------- > [OSAL ] ------- DIRS ------------------ DEBUG -------------- > [LDRV ] ------- DIRS ------------------ DEBUG -------------- > [PMGR ] ------- DIRS ------------------ DEBUG -------------- > [API ] ------- DIRS ------------------ DEBUG -------------- > > [SRC ] ======= DIRS ================== RELEASE ============ > [ARCH ] ------- DIRS ------------------ RELEASE ------------ > [GEN ] ------- DIRS ------------------ RELEASE ------------ > [OSAL ] ------- DIRS ------------------ RELEASE ------------ > [LDRV ] ------- DIRS ------------------ RELEASE ------------ > [PMGR ] ------- DIRS ------------------ RELEASE ------------ > [API ] ------- DIRS ------------------ RELEASE ------------ > > [SRC ] ======= DIRS ================== EXPORT ============= > [ARCH ] ------- DIRS ------------------ EXPORT ------------- > [GEN ] ------- DIRS ------------------ EXPORT ------------- > [OSAL ] ------- DIRS ------------------ EXPORT ------------- > [LDRV ] ------- DIRS ------------------ EXPORT ------------- > [PMGR ] ------- DIRS ------------------ EXPORT ------------- > [API ] ------- DIRS ------------------ EXPORT ------------- > > [SRC ] ======= CLEAN ================= DEBUG ============== > [ARCH ] ------- CLEAN ----------------- DEBUG -------------- > [GEN ] ------- CLEAN ----------------- DEBUG -------------- > [OSAL ] ------- CLEAN ----------------- DEBUG -------------- > [LDRV ] ------- CLEAN ----------------- DEBUG -------------- > [PMGR ] ------- CLEAN ----------------- DEBUG -------------- > [API ] ------- CLEAN ----------------- DEBUG -------------- > > [SRC ] ======= CLEAN ================= RELEASE ============ > [ARCH ] ------- CLEAN ----------------- RELEASE ------------ > [GEN ] ------- CLEAN ----------------- RELEASE ------------ > [OSAL ] ------- CLEAN ----------------- RELEASE ------------ > [LDRV ] ------- CLEAN ----------------- RELEASE ------------ > [PMGR ] ------- CLEAN ----------------- RELEASE ------------ > [API ] ------- CLEAN ----------------- RELEASE ------------ > > [SRC ] ======= INCLUDES =================================== > [ARCH ] ------- INCLUDES ----------------------------------- > [ARCH ] ------- DIRS ------------------ INCLUDE ------------ > [GEN ] ------- INCLUDES ----------------------------------- > [GEN ] ------- DIRS ------------------ INCLUDE ------------ > [OSAL ] ------- INCLUDES ----------------------------------- > [OSAL ] ------- DIRS ------------------ INCLUDE ------------ > [LDRV ] ------- INCLUDES ----------------------------------- > [LDRV ] ------- DIRS ------------------ INCLUDE ------------ > [PMGR ] ------- INCLUDES ----------------------------------- > [PMGR ] ------- DIRS ------------------ INCLUDE ------------ > [API ] ------- INCLUDES ----------------------------------- > [API ] ------- DIRS ------------------ INCLUDE ------------ > > [SRC ] ======= BLDINFO =============== DEBUG ============== > [ARCH ] ------- DIRS ------------------ DEBUG -------------- > [ARCH ] ------- BLDINFO --------------- DEBUG -------------- > [GEN ] ------- DIRS ------------------ DEBUG -------------- > [GEN ] ------- BLDINFO --------------- DEBUG -------------- > [OSAL ] ------- DIRS ------------------ DEBUG -------------- > [OSAL ] ------- BLDINFO --------------- DEBUG -------------- > [LDRV ] ------- DIRS ------------------ DEBUG -------------- > [LDRV ] ------- BLDINFO --------------- DEBUG -------------- > [PMGR ] ------- DIRS ------------------ DEBUG -------------- > [PMGR ] ------- BLDINFO --------------- DEBUG -------------- > [API ] ------- DIRS ------------------ DEBUG -------------- > [API ] ------- BLDINFO --------------- DEBUG -------------- > > [SRC ] ======= BLDINFO =============== RELEASE ============ > [ARCH ] ------- DIRS ------------------ RELEASE ------------ > [ARCH ] ------- BLDINFO --------------- RELEASE ------------ > [GEN ] ------- DIRS ------------------ RELEASE ------------ > [GEN ] ------- BLDINFO --------------- RELEASE ------------ > [OSAL ] ------- DIRS ------------------ RELEASE ------------ > [OSAL ] ------- BLDINFO --------------- RELEASE ------------ > [LDRV ] ------- DIRS ------------------ RELEASE ------------ > [LDRV ] ------- BLDINFO --------------- RELEASE ------------ > [PMGR ] ------- DIRS ------------------ RELEASE ------------ > [PMGR ] ------- BLDINFO --------------- RELEASE ------------ > [API ] ------- DIRS ------------------ RELEASE ------------ > [API ] ------- BLDINFO --------------- RELEASE ------------ > > [SRC ] ======= OBJECTS =============== DEBUG ============== > [ARCH ] ------- DIRS ------------------ DEBUG -------------- > [ARCH ] ------- OBJECT ---------------- DEBUG -------------- > Compiling CFG_map.c... > Compiling dsp.c... > Compiling omap3530_phy_shmem.c... > In file included from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/cache.h:4, > from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/time.h:7, > from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/stat.h:60, > from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/module.h:10, > from OMAP3530/shmem/Linux/omap3530_phy_shmem.c:34: > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/kernel.h:10:20: > error: stdarg.h: No such file or directory > In file included from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/cache.h:4, > from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/time.h:7, > from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/stat.h:60, > from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/module.h:10, > from OMAP3530/shmem/Linux/omap3530_phy_shmem.c:34: > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/kernel.h:180: > error: expected declaration specifiers or ‘...’ before ‘va_list’ > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/kernel.h:180: > warning: conflicting types for built-in function ‘vsprintf’ > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/kernel.h:184: > error: expected declaration specifiers or ‘...’ before ‘va_list’ > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/kernel.h:184: > warning: conflicting types for built-in function ‘vsnprintf’ > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/kernel.h:188: > error: expected declaration specifiers or ‘...’ before ‘va_list’ > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/kernel.h:192: > error: expected declaration specifiers or ‘...’ before ‘va_list’ > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/kernel.h:196: > error: expected declaration specifiers or ‘...’ before ‘va_list’ > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/kernel.h:196: > warning: conflicting types for built-in function ‘vsscanf’ > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/kernel.h:236: > error: expected declaration specifiers or ‘...’ before ‘va_list’ > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/kernel.h:508: > error: expected declaration specifiers or ‘...’ before ‘va_list’ > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/kernel.h:511: > error: expected declaration specifiers or ‘...’ before ‘va_list’ > In file included from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/bitmap.h:8, > from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/nodemask.h:89, > from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/mmzone.h:16, > from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/gfp.h:4, > from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/kmod.h:22, > from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/module.h:13, > from OMAP3530/shmem/Linux/omap3530_phy_shmem.c:34: > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/string.h:117: > error: expected declaration specifiers or ‘...’ before ‘va_list’ > In file included from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/module.h:16, > from OMAP3530/shmem/Linux/omap3530_phy_shmem.c:34: > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/kobject.h:77: > error: expected declaration specifiers or ‘...’ before ‘va_list’ > In file included from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/module.h:18, > from OMAP3530/shmem/Linux/omap3530_phy_shmem.c:34: > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/marker.h:34: > error: expected declaration specifiers or ‘...’ before ‘va_list’ > In file included from > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/pci.h:53, > from OMAP3530/shmem/Linux/omap3530_phy_shmem.c:37: > /home/Developer/overo-oe/tmp/staging/overo-angstrom-linux-gnueabi/kernel/include/linux/device.h:524: > error: expected declaration specifiers or ‘...’ before ‘va_list’ > OMAP3530/shmem/Linux/omap3530_phy_shmem.c: In function > ‘OMAP3530_phyShmemInit’: > OMAP3530/shmem/Linux/omap3530_phy_shmem.c:131: warning: assignment makes > integer from pointer without a cast > OMAP3530/shmem/Linux/omap3530_phy_shmem.c:132: warning: assignment makes > integer from pointer without a cast > OMAP3530/shmem/Linux/omap3530_phy_shmem.c:133: warning: assignment makes > integer from pointer without a cast > OMAP3530/shmem/Linux/omap3530_phy_shmem.c:134: warning: assignment makes > integer from pointer without a cast > OMAP3530/shmem/Linux/omap3530_phy_shmem.c:135: warning: assignment makes > integer from pointer without a cast > OMAP3530/shmem/Linux/omap3530_phy_shmem.c:136: warning: assignment makes > integer from pointer without a cast > make[2]: *** [OMAP3530/shmem/Linux/omap3530_phy_shmem.c.deb] Error 1 > make[1]: *** [objdeb] Error 2 > make: *** [arch.objdeb] Error 2 > [Developer@Gumstix-dev src]$ > > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established > companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://old.nabble.com/Problems-building-DSPLink-tp27165895p27167276.html Sent from the Gumstix mailing list archive at Nabble.com. |