Hello,
I am working with someone who has already built and shared with me their image and kernel for an Overo board. I am trying to build DSPLINK for it. I have already changed the makefiles to point to the toolchain and kernel but have ran into errors that I have not run into before when I have previously built DSPLINK. I am thinking it is because I did not build the kernel/image on my machine. Their machine is 32bit while mine is 64. I have the 32-bit libraries though. The dsp-side builds fine but GPP stops almost immediately:
Fetching the configuration file CFG_OMAP3530_SHMEM.c ...
Fetching the configuration file CFG_Linux.c ...
Fetching the configuration file CFG_ARM.c ...
Compiling CFG_system.c...
Compiling CFG_Linux.c...
Compiling CFG_ARM.c...
Compiling CFG_OMAP3530_SHMEM.c...
Compiling proc.c...
In file included from proc.c:79:
/home/steve/DSP-GUMSTIX/dsplink_linux_1_65_00_03/dsplink/gpp/inc/sys/Linux/drvdefs.h:52:25: error: linux/ioctl.h: No such file or directory
In file included from proc.c:80:
/home/steve/DSP-GUMSTIX/dsplink_linux_1_65_00_03/dsplink/gpp/src/api/Linux/drv_api.h:48:23: error: sys/types.h: No such file or directory
/home/steve/DSP-GUMSTIX/dsplink_linux_1_65_00_03/dsplink/gpp/src/api/Linux/drv_api.h:49:20: error: unistd.h: No such file or directory
-the errors build because it can't find these headers.
I found this: http://processors.wiki.ti.com/index.php/Troubleshooting_DSPLink_build_issues
-it says kernel headers are device specific. So does this mean since I didn't build the kernel on my machine that I shouldn't expect DSPLINK to build? Are there ways around this or would I need to either build it on my machine or get a similar machine to what it was built on?
- I also looked into autoconf.h but that didn't seem to help me either.
Any advice would be great.
Thanks
also here are the includes from API_includes.txt which is first gpp that fails if that helps:
-I/home/steve/DSP-GUMSTIX/dsplink_linux_1_65_00_03/dsplink/gpp/inc
-I/home/steve/DSP-GUMSTIX/dsplink_linux_1_65_00_03/dsplink/gpp/inc/usr
-I/home/steve/DSP-GUMSTIX/dsplink_linux_1_65_00_03/dsplink/gpp/inc/sys/Linux
-I/home/steve/DSP-GUMSTIX/dsplink_linux_1_65_00_03/dsplink/gpp/inc/sys/Linux/2.6.18
-I/home/steve/DSP-GUMSTIX/dsplink_linux_1_65_00_03/dsplink/gpp/src/api
-I/home/steve/DSP-GUMSTIX/dsplink_linux_1_65_00_03/dsplink/gpp/src/api/Linux
-I/home/steve/DSP-GUMSTIX/dsplink_linux_1_65_00_03/dsplink/gpp/src/api/Linux/2.6.18
-I/home/steve/ACS_OE/overo-oe/tmp/sysroots/overo-angstrom-linux-gnueabi/kernel/arch/arm/plat-omap/include/plat
-I/home/steve/DSP-GUMSTIX/dsplink_linux_1_65_00_03/dsplink/gpp/BUILD/INCLUDE/USER
-I/home/steve/ACS_OE/overo-oe/tmp/sysroots/overo-angstrom-linux-gnueabi/kernel/arch/arm/plat-omap/include/plat
-I/home/steve/DSP-GUMSTIX/dsplink_linux_1_65_00_03/dsplink/gpp/export/INCLUDE/Linux/OMAP3530/internal
-looking at this I'm not sure why /plat-omap is included twice?
-i'll update this if I find solution before anyone posts