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.

Dsplink for wince compiling problem(OMAPL138)

Other Parts Discussed in Thread: OMAPL138, OMAP3530

Hi all,

Following guide ( InstallGuide_WinCE_OMAPL138.pdf ) from dsplink_1_65_00_03.tar.gz , I encounter some problem.

I install dspbios, cgtools , dsplink to d:\TI , and add all the env variable name. I also set path by   "set path=%XDC_INSTALL_DIR%\bin;%XDC_INSTALL_DIR%;%path% " in order to use gmake, echo,.... tools from xdctools .

I enter dos window in VS2005 in building menu , then enter %DSPLINK%/gpp/src directory , using gmake to compile ,but error happened as follows

********************************************************************************************************

D:\TI\dsplink\gpp\src>gmake -srelease

[SRC                 ] ======= DIRS ================== INCLUDE ============
[ARCH                ] ------- DIRS ------------------ INCLUDE ------------
c:perl\bin\perl: not found
gmake[1]: *** [D:\TI\dsplink\\gpp\\export\\INCLUDE] Error 127
gmake: *** [arch.dirinc] Error 2

********************************************************************************************************

who can tell me how to compile DSPLINK for wince?

 

  • by the way , perl have been install to c:\perl

  • Can you check your path to see why it is c:perl\bin\.... It should be c:\perl\bin\....

  • check what the BASE_PERL variable has been defined to?

  • Thanks for your reply , On compiling wince version DSPLINK , I enter Dos Shell , but what path mark should I use? (  a.\   b.\\  c./ ) ? Under linux environment , every thing is OK (use c./ )  , however wince version doc and makefile confuse me.

    Which shell should I use to compile WINCE verison DSPLINK,  DOS or cygwin ?

    Which tools should I use, those from bios/xdc/   or mingw or cygwin ?

    I modify the               D:\dsplink\make\WinCE\systools.mk          to the followning

    # PERL      := $(BASE_PERL)$(DIRSEP)bin$(DIRSEP)perl
    # BANNER    := $(PERL) $(MAKEROOT)$(DIRSEP)bin$(DIRSEP)banner.pl
    # RUNIF     := $(PERL) $(MAKEROOT)$(DIRSEP)bin$(DIRSEP)runif.pl WINDOWS
    # COPYFILES := $(PERL) $(MAKEROOT)$(DIRSEP)bin$(DIRSEP)copyfiles.pl WINDOWS

    PERL      := c:/perl/bin/perl

    BANNER    := c:/perl/bin/perl D:/dsplink/make/bin/banner.pl

    RUNIF     := c:/perl/bin/perl D:/dsplink/make/bin/runif.pl WINDOWS

    COPYFILES := c:/perl/bin/perl D:/dsplink/make/bin/copyfiles.pl WINDOWS

    then few file seem to be compiled , But error happened

    .........................
    [PMGR                ] ------- DIRS ------------------ EXPORT -------------
    make[1]: Leaving directory `D:/dsplink/gpp/src/pmgr'
    make[1]: Entering directory `D:/dsplink/gpp/src/api'
    [API                 ] ------- DIRS ------------------ EXPORT -------------
    make[1]: Leaving directory `D:/dsplink/gpp/src/api'
    C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/make3012-1.sh: cannot create D:dsplink\gpp\ex
    port\BIN\WinCE\OMAPL138\DEBUG\DSPLINK.txt: directory nonexistent
    make: *** [dsplinkdir] Error 2

    then I modify the env var by       set DSPLINK=D:/dsplink   , then compile process can go on more  but get another error

    make[1]: Leaving directory `D:/dsplink/gpp/src/api'

    [SRC                 ] ======= CLEAN ================= DEBUG ==============
    make[1]: Entering directory `D:/dsplink/gpp/src/arch'
    [ARCH                ] ------- CLEAN ----------------- DEBUG --------------
    C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/make3212-1.sh: cannot create C:DOCUME~1ADMINI
    ~1LOCALS~1Tempnull: directory nonexistent
    make[1]: *** [cleandeb] Error 2
    make[1]: Leaving directory `D:/dsplink/gpp/src/arch'
    make: *** [arch.cleandeb] Error 2

    Could you help me to solve these problem?

  • Thanks for your reply , On compiling wince version DSPLINK , I enter Dos Shell , but what path mark should I use? (  a.\   b.\\  c./ ) ? Under linux environment , every thing is OK (use c./ )  , however wince version doc and makefile confuse me.

    Which shell should I use to compile WINCE verison DSPLINK,  DOS or cygwin ?

    Which tools should I use, those from bios/xdc/   or mingw or cygwin ?

    I modify the               D:\dsplink\make\WinCE\systools.mk          to the followning

    # PERL      := $(BASE_PERL)$(DIRSEP)bin$(DIRSEP)perl
    # BANNER    := $(PERL) $(MAKEROOT)$(DIRSEP)bin$(DIRSEP)banner.pl
    # RUNIF     := $(PERL) $(MAKEROOT)$(DIRSEP)bin$(DIRSEP)runif.pl WINDOWS
    # COPYFILES := $(PERL) $(MAKEROOT)$(DIRSEP)bin$(DIRSEP)copyfiles.pl WINDOWS

    PERL      := c:/perl/bin/perl

    BANNER    := c:/perl/bin/perl D:/dsplink/make/bin/banner.pl

    RUNIF     := c:/perl/bin/perl D:/dsplink/make/bin/runif.pl WINDOWS

    COPYFILES := c:/perl/bin/perl D:/dsplink/make/bin/copyfiles.pl WINDOWS

    then few file seem to be compiled , But error happened

    .........................
    [PMGR                ] ------- DIRS ------------------ EXPORT -------------
    make[1]: Leaving directory `D:/dsplink/gpp/src/pmgr'
    make[1]: Entering directory `D:/dsplink/gpp/src/api'
    [API                 ] ------- DIRS ------------------ EXPORT -------------
    make[1]: Leaving directory `D:/dsplink/gpp/src/api'
    C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/make3012-1.sh: cannot create D:dsplink\gpp\ex
    port\BIN\WinCE\OMAPL138\DEBUG\DSPLINK.txt: directory nonexistent
    make: *** [dsplinkdir] Error 2

    then I modify the env var by       set DSPLINK=D:/dsplink   , then compile process can go on more  but get another error

    make[1]: Leaving directory `D:/dsplink/gpp/src/api'

    [SRC                 ] ======= CLEAN ================= DEBUG ==============
    make[1]: Entering directory `D:/dsplink/gpp/src/arch'
    [ARCH                ] ------- CLEAN ----------------- DEBUG --------------
    C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/make3212-1.sh: cannot create C:DOCUME~1ADMINI
    ~1LOCALS~1Tempnull: directory nonexistent
    make[1]: *** [cleandeb] Error 2
    make[1]: Leaving directory `D:/dsplink/gpp/src/arch'
    make: *** [arch.cleandeb] Error 2

    Could you help me to solve these problem?

  • You need to use DOS shell with no cygwin or linux like environment set. If this condition is satisfied, then you should use "\" as the directory separator (without quotes).

    -Madhvi

  • All,

    There is a known issue in DSPLink build system where DSPLINK does not build correctly in CYGWIN environment or in an environment with a mix of Unix and Windows style paths. Though below bug talks only about a specific case, it could be present in a WinCE environment.

    SDOCM00035970 DSPLINK does not build correctly in CYGWIN environment
    Description : DSPLink make system does not build DSP-side sample applications correctly in CYGWIN environment. However, DSPLink libraries on DSP-side and Linux GPP-side build can be completed successfully in CYGWIN environment.
    Workaround: Remove CYGWIN from the path on MSDOS prompt and build DSP-side sample applications using gmake.

    Deepali

  • Hi Deepali

    I am building dsplink in WIN XP and still facing problem while building GPP and dsp side dsplink :

    ************************************8

    I checked the CFG_map.c file and I found that among the understated condition the condition for OMAPL138 is missing:

    ***************************************************************************************************

    #if defined (DM6446GEM)
    extern CFGMAP_Object  DM6446GEMMAP_Config ;
    #endif /* if defined (DM6446GEM) */

    #if defined (DM6467GEM)
    extern CFGMAP_Object  DM6467GEMMAP_Config ;
    #endif/* if defined (DM6467GEM) */

    #if defined (DM6437)
    extern CFGMAP_Object  DM6437MAP_Config ;
    #endif /* if defined (DM6437) */

    #if defined (DM642)
    extern CFGMAP_Object  DM648MAP_Config ;
    #endif /* if defined (DM642) */

    #if defined (DM648)
    extern CFGMAP_Object  DM648MAP_Config ;
    #endif /* if defined (DM648) */

    #if defined (DRX416GEM)
    extern CFGMAP_Object  DRX416GEMMAP_Config ;
    #endif /* if defined (DRX416GEM) */

    #if defined (DRA44XGEM)
    extern CFGMAP_Object  DRA44XGEMMAP_Config ;
    #endif /* if defined (DRA44XGEM) */

    #if defined (OMAP2530)
    extern CFGMAP_Object  OMAP2530MAP_Config ;
    #endif /* if defined (OMAP2530) */

    #if defined (OMAP3530)
    extern CFGMAP_Object  OMAP3530MAP_Config ;
    #endif /* if defined (OMAP3530) */

    #if defined (DA8XXGEM)
    extern CFGMAP_Object  DA8XXGEMMAP_Config ;
    #endif /* if defined (DA8XXGEM) */

    #if defined (TNETV107XGEM)
    extern CFGMAP_Object  TNETV107XGEMMAP_Config ;
    #endif /* if defined (DM6446GEM) */
    ********************************************************************************************************************8

    kindly suggest way ahead

    thanks

    hemant

  • Hi Deepali

    I am working with OMAP L-138 with Win CE 6.0.

    I am able to move a bi ahead, now while including DSPLink in OS during building OS in VS-2005, I am facing errors because of dsplinkk.dll missing from location C:\WINCE600\OSDESIGNS\OMAPL138_AM18X_TI_DEFAULT\OMAPL138_AM18X_TI_DEFAULT\RELDIR\OMAPL138_AM18X_ARMV4I_RELEASE\DSPLINKK.DLL.

    I am using following software,

    1. WINCE 6.0 (R1, R2, R3 and platform builder) from MSDN

    2. DSP\BIOS 5.33.05

    3. CG_Tool Ver 6.1.14

    4. Active Perl

    5. DSPLink

    6. OMAP-L138_Win CE6.0 Source BSP from Adeono

    I followed all the instructions as per "InstallGuide_WinCE_OMAPL138.pdf", but still I am facing errors in VS-2005.

    The snapshot of log is as under:

    Its urgent, I have been posting it for quite some time,

    do suggest where I am wrong.

    thanks

  • Hello

    I have started the process from scratch with all new WINCE and other software.

    Still I am facing same mess. The build logs are attached.  1031.buid log.txt

    I need urgent help on this. can any one help.

    thanks

    hemant