FirsTry compilations error

Help
gogasan
2013-01-12
2013-04-29
  • gogasan

    gogasan - 2013-01-12

    Hello,
    First of all sory about my English.

    For installation used this manual: http://lejos-osek.sourceforge.net/installation_windows.htm
    All installed, tool_gcc.mak updated.

    # specify GNU-ARM root directory
    ifndef GNUARM_ROOT
    GNUARM_ROOT = /cygdrive/c/cygwin/GNUARM
    #GNUARM_ROOT = /cygdrive/c/Program\ Files/GNUARM
    endif
    # specify NeXTTool root directory
    ifndef NEXTTOOL_ROOT
    NEXTTOOL_ROOT = /cygdrive/c/cygwin/nexttool
    #NEXTTOOL_ROOT = /cygdrive/c/cygwin/bin
    endif
    

    But, when i'm going to /cygdrive/c/cygwin/nxtOSEK/samples_c++/cpp/Helloworld and executing make all i got this:

    Compiling ../../../ecrobot/../toppers_osek/kernel/alarm.c to alarm.o
    process_begin: CreateProcess(NULL, /cygdrive/c/cygwin/GNUARM/bin/arm-elf-gcc -c -ffreestanding -fsigned-char -mcpu=arm7tdmi -Os -Winline -Wall -Werror-implicit-function-declaration --param max-inline-insns-single=1000 -mthumb -mthumb-interwork -ffunction-sections -fdata-sections -iquote ../../../ecrobot/../lejos_nxj/src//nxtvm/platform/nxt -iquote ../../../ecrobot/../lejos_nxj/src//nxtvm/javavm -iquote ../../../ecrobot/../ecrobot/bios -iquote ../../../ecrobot/../ecrobot -iquote ../../../ecrobot/../ecrobot/c++/device -iquote ../../../ecrobot/../ecrobot/c++/util -iquote ../../../ecrobot/../ecrobot/c -I. -I../../../ecrobot/../toppers_osek/kernel -I../../../ecrobot/../toppers_osek/com -I../../../ecrobot/../toppers_osek/include -I../../../ecrobot/../toppers_osek/config/at91sam7s-gnu -I../../../ecrobot/../toppers_osek/config/at91sam7s-gnu/lego_nxt -I../../../ecrobot/../toppers_osek/sg -I../../../ecrobot/../toppers_osek/syslib/at91sam7s-gnu/lego_nxt -std=gnu99 -c -MD -o build/kernel/alarm.o ../../../ecrobot/../toppers_osek/kernel/alarm.c, ...) failed.
    make (e=2): file not found.
    make: *** [build/kernel/alarm.o] Error 2
    

    Pleace help. Thanks.

     
  • gogasan

    gogasan - 2013-01-12

    Add:

    I just tryed to run

    /cygdrive/c/cygwin/GNUARM/bin/arm-elf-gcc -c -ffreestanding -fsigned-char -mcpu=arm7tdmi -Os -Winline -Wall -Werror-implicit-function-declaration --param max-inline-insns-single=1000 -mthumb -mthumb-interwork -ffunction-sections -fdata-sections -iquote ../../../ecrobot/../lejos_nxj/src//nxtvm/platform/nxt -iquote ../../../ecrobot/../lejos_nxj/src//nxtvm/javavm -iquote ../../../ecrobot/../ecrobot/bios -iquote ../../../ecrobot/../ecrobot -iquote ../../../ecrobot/../ecrobot/c++/device -iquote ../../../ecrobot/../ecrobot/c++/util -iquote ../../../ecrobot/../ecrobot/c -I. -I../../../ecrobot/../toppers_osek/kernel -I../../../ecrobot/../toppers_osek/com -I../../../ecrobot/../toppers_osek/include -I../../../ecrobot/../toppers_osek/config/at91sam7s-gnu -I../../../ecrobot/../toppers_osek/config/at91sam7s-gnu/lego_nxt -I../../../ecrobot/../toppers_osek/sg -I../../../ecrobot/../toppers_osek/syslib/at91sam7s-gnu/lego_nxt -std=gnu99 -c -MD -o build/kernel/alarm.o ../../../ecrobot/../toppers_osek/kernel/alarm.c
    

    manually. It works. What and how I should fix to solve this problem?

     
  • gogasan

    gogasan - 2013-01-12

    Neww issue:

    $ make all
    Generating OSEK kernel config files from ./sample.oil
    process_begin: CreateProcess(NULL, ../../../ecrobot/../toppers_osek/sg/sg sample.oil -os=ECC2 -IC:/cygwin/nxtOSEK/toppers_osek/sg/impl_oil -template=C:/cygwin/nxtOSEK/toppers_osek/sg/lego_nxt.sgt, ...) failed.
    make (e=2): ▒▒ ▒▒▒▒▒▒▒ ▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒ ▒▒▒▒. (some like "not found")
    make: *** [kernel_cfg.c] Error 2
    $ ../../../ecrobot/../toppers_osek/sg/sg sample.oil -os=ECC2 -IC:/cygwin/nxtOSEK/toppers_osek/sg/impl_oil -template=C:/cygwin/nxtOSEK/toppers_osek/sg/lego_nxt.sgt
    -bash: ../../../ecrobot/../toppers_osek/sg/sg: No such file or directory
    
     
  • Krzysztof

    Krzysztof - 2013-02-27

    Hmm You must check Yours sg.exe file!!!

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks