This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DSP Link Build - OMAPL137

Other Parts Discussed in Thread: OMAP-L137

I'm trying to build the DSP Link but I am getting an error.  I am doing the following. 

*I install all the SDK Software as specified in (http://tiexpressdsp.com/index.php/Installing_the_Software_for_OMAP-L137#Installing_the_SDK_Software)

1)Install the SDK Software

2)Install the LSP

3)Install the Target Linux Software

*Next I move on to building the SDK SW following the instructions from "Building the OMAP L137 SDK" (http://tiexpressdsp.com/index.php/Building_The_OMAP-L137_SDK).

1) CMEM Build

Step 1:
host $ cd /home/user/DSP_Link/OMAPL137_ARM_SDK/OMAPL137_arm_1_00_00_11/linuxutils_2_23_01/packages/ti/sdo/linuxutils/cmem

Step 2: Edit Rules.make using your preferred text editor
-EXEC_DIR=/home/SBD_SW/workdir/filesys2
-MVTOOL_PREFIX=/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-
-LINUXKERNEL_INSTALL_DIR=/opt/mv_pro_5.0/montavista/pro/devkit/lsp/ti-davinci/linux-2.6.18_pro500
-Comment out the UCTOOL_PREFIX line since uclibc tools are not available by default.

Step 3: build the binary

host $ make clean
host $ make
host $ make install

 

2) DSP Link Build

I do steps 1-3 and get the error when building the gpp-side,

# cd /home/user/DSP_Link/OMAPL137_ARM_SDK/OMAPL137_arm_1_00_00_11/dsplink-1_61_03-prebuilt/packages/dsplink/gpp/src

# /home/SBD_SW/DSP_Link/OMAPL137_ARM_SDK/OMAPL137_arm_1_00_00_11/xdctools_3_10_05_61/gmake

Compiling da8xxgem_phy_shmem.c...

........

In file included from /opt/mv_pro_5.0/montavista/pro/devkit/lsp/ti-davinci/linux-2.6.18_pro500/include/linux/sched.h:49,
                 from /opt/mv_pro_5.0/montavista/pro/devkit/lsp/ti-davinci/linux-2.6.18_pro500/include/linux/module.h:9,
                 from DA8XXGEM/shmem/Linux/da8xxgem_phy_shmem.c:34:
/opt/mv_pro_5.0/montavista/pro/devkit/lsp/ti-davinci/linux-2.6.18_pro500/include/linux/jiffies.h:33:3: error: #error You lose.

It looks like the preprocessor is not properly including the #include <asm/param.h>  in jiffies.h so the HZ constant.

Do you have any suggestions on how to trouble shoot this?