Hello
I'm trying to build DSPLink following this guide: http://tiexpressdsp.com/index.php/Building_The_OMAP-L137_SDK.
I have successfully built the linux kernel and modules under /home/<user>/workdir/lsp/ti-davinci/linux-2.6.18_pro500.
I have also run: perl config/bin/dsplinkcfg.pl --platform=OMAPL138 --nodsp=1 --dspcfg_0=OMAPL138GEMSHMEM --dspos_0=DSPBIOS5XX --gppos=ARM --comps=ponslrmc --DspTskMode=1
and adjusted: /home/<useracct>/OMAPL137_arm_1_00_00_xx/DSPLINK_DIR/packages/dsplink/make/Linux/omapl1xx_mvlpro5.0.mk
However, when I'm invoking /home/<useracct>/OMAPL13#_arm_1_##_##_##/xdctools_3_1#_##_##/gmake inside /home/<useracct>/OMAPL13#_arm_1_##_##_##/DSPLINK_DIR/packages/dsplink/gpp/src the make seems to take the wrong kernel header files. I get the following errors:
In file included from /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/linux/timex.h:187,
from /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/linux/sched.h:48,
from /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/linux/module.h:9,
from DA8XXGEM/shmem/Linux/da8xxgem_phy_shmem.c:34:
/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/asm/timex.h:15:28: error: asm/arch/timex.h: No such file or directory
In file included from /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/linux/sched.h:49,
from /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/linux/module.h:9,
from DA8XXGEM/shmem/Linux/da8xxgem_phy_shmem.c:34:
/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/linux/jiffies.h:33:3: error: #error You lose.
and late on:
/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/asm/irq.h:4:27: error: asm/arch/irqs.h: No such file or directory
In file included from DA8XXGEM/shmem/Linux/da8xxgem_phy_shmem.c:34:
/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/linux/module.h:611:2: error: #error Modules should never use the kernel headers found in /usr/include
/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/include/linux/module.h:612:2: error: #error but rather the headers found in your LSP kernel sources.
Can anyone tell me what I have to do so that the DSPLink build system is taking the correct header files??