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.

Starterware cygwin-gcc compiler error

Other Parts Discussed in Thread: OMAPL138

Dear I have problem during compiling starterware application via cygwin-gcc.

Can you help me ?

Sergio D'Orazio.

 

  • Probably you cannot read the image.... the error is:

    ~/ti/OMAPL138_StarterWare_1_10_03_03/build/armv5/gcc/omapl138/evmOMAPL138/usb_dev_msc

    $ make all

    make TARGET_MODE=debug lib

    make[1]: Entering directory `C:/cygwin/home/T0102950/ti/OMAPL138_StarterWare_1_10_03_03/build/armv5/gcc/omapl138/evmOMAPL138/usb_dev_msc'

    C:/cygwin/tmp/make684-1.sh: line 1: syntax error near unexpected token `$'\\\r''

    C:/cygwin/tmp/make684-1.sh: line 1: `for i in ../../../../../..//build/armv5/gcc/omapl138/drivers ../../../../../..//build/armv5/gcc/omapl138/evmOMAPL138/platform ../../../../../..//buil5/gcc/omapl138/system_config ../../../../../..//build/armv5/gcc/utils ../../../../../..//build/armv5/gcc/grlib ../../../../../..//build/armv5/gcc/omapl138/usblib; ' \

    make[1]: *** [lib] Error 2

    make[1]: Leaving directory `C:/cygwin/home/T0102950/ti/OMAPL138_StarterWare_1_10_03_03/build/armv5/gcc/omapl138/evmOMAPL138/usb_dev_msc'

    make: *** [debug] Error 2

    T0102950@IT30D10034

    ~/ti/OMAPL138_StarterWare_1_10_03_03/build/armv5/gcc/omapl138/evmOMAPL138/usb_dev_msc


    By.

    Sergio D'Orazio.

     

  • Sergio,

    What shell are you using in Cygwin?  The makefiles were developed for use with bash, so it's possible that some modification may be necessary if you're using a different shell.  You can quickly check your shell by running ps in the Cygwin terminal.  You should see something like this if you're using bash:

          PID    PPID    PGID     WINPID   TTY     UID    STIME COMMAND
        10440    6668   10440      10668  pty0    452561 17:27:59 /usr/bin/ps
         6668    6832    6668       3484  pty0    452561   Mar 14 /usr/bin/bash
         6832       1    6832       6832  ?       452561   Mar 14 /usr/bin/mintty

    Hope this helps.