Announcement

Collapse
No announcement yet.

Building Samples or Anything else

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Building Samples or Anything else

    For some reason it looks like its building the startup.o in the detailed debug view. But I never see it in the work directory nor does it find it. I've tried editing the make file and nothing seems to fix this issue.

    Code:
    C:\Program Files\Lantronix\Evolution XPort Pro SDK v5.0.0.0.R14\samples\xport_pr
    o>cs-make helloworld
    ../../sdk/startup.c
    process_begin: CreateProcess(NULL, m68k-elf-gcc -O0 -g3 -gdwarf-2 -Wall -fmessag
    e-length=0 -mcpu=5208 -I./ -I../../sdk/include -I../../sdk/include/coldfire -I..
    /../sdk/xport_pro -I../xport_pro -DPROD_XPORT_PRO -DSDK_IMAGE_PARTITION_SIZE_BYT
    ES=786000UL -c ../../sdk/startup.c -o work/startup.o, ...) failed.
    make (e=2): The system cannot find the file specified.
    cs-make: *** [work/startup.o] Error 2
    Detailed Debug
    Code:
     No implicit rule found for `helloworld'.
      Considering target file `mkdirs'.
       File `mkdirs' does not exist.
       Finished prerequisites of target file `mkdirs'.
      Must remake target `mkdirs'.
    Creating temporary batch file C:\DOCUME~1\Brad\LOCALS~1\Temp\make1572-1.bat
    CreateProcess(C:\DOCUME~1\Brad\LOCALS~1\Temp\make1572-1.bat,C:\DOCUME~1\Brad\LOC
    ALS~1\Temp\make1572-1.bat,...)
    Putting child 0x00ba8458 (mkdirs) PID 12259080 on the chain.
    Live child 0x00ba8458 (mkdirs) PID 12259080
    Main thread handle = 0x000007ac
    Reaping winning child 0x00ba8458 PID 12259080
    Cleaning up temp batch file C:\DOCUME~1\Brad\LOCALS~1\Temp\make1572-1.bat
    Removing child 0x00ba8458 PID 12259080 from chain.
      Successfully remade target file `mkdirs'.
      Considering target file `helloworld.romz'.
       File `helloworld.romz' does not exist.
        Considering target file `helloworld.out'.
         File `helloworld.out' does not exist.
          Considering target file `work/startup.o'.
           File `work/startup.o' does not exist.
            Considering target file `../../sdk/startup.c'.
             Looking for an implicit rule for `../../sdk/startup.c'.
             Trying pattern rule with stem `startup'.
             Trying implicit prerequisite `../../sdk/startup.y'.
             Trying pattern rule with stem `startup'.
             Trying implicit prerequisite `../../sdk/startup.l'.
             Trying pattern rule with stem `startup'.
             Trying implicit prerequisite `../../sdk/startup.w'.
             Trying pattern rule with stem `startup'.
             Trying implicit prerequisite `../../sdk/startup.w'.
             Trying pattern rule with stem `startup.c'.
             Trying implicit prerequisite `../../sdk/startup.c,v'.
             Trying pattern rule with stem `startup.c'.
             Trying implicit prerequisite `../../sdk/RCS/startup.c,v'.
             Trying pattern rule with stem `startup.c'.
             Trying implicit prerequisite `../../sdk/RCS/startup.c'.
             Trying pattern rule with stem `startup.c'.
             Trying implicit prerequisite `../../sdk/s.startup.c'.
             Trying pattern rule with stem `startup.c'.
             Trying implicit prerequisite `../../sdk/SCCS/s.startup.c'.
             Trying pattern rule with stem `startup'.
             Trying implicit prerequisite `../../sdk/startup.y'.
             Looking for a rule with intermediate file `../../sdk/startup.y'.
              Avoiding implicit rule recursion.
              Trying pattern rule with stem `startup.y'.
              Trying implicit prerequisite `../../sdk/startup.y,v'.
              Trying pattern rule with stem `startup.y'.
              Trying implicit prerequisite `../../sdk/RCS/startup.y,v'.
              Trying pattern rule with stem `startup.y'.
              Trying implicit prerequisite `../../sdk/RCS/startup.y'.
              Trying pattern rule with stem `startup.y'.
              Trying implicit prerequisite `../../sdk/s.startup.y'.
              Trying pattern rule with stem `startup.y'.
              Trying implicit prerequisite `../../sdk/SCCS/s.startup.y'.
             Trying pattern rule with stem `startup'.
             Trying implicit prerequisite `../../sdk/startup.l'.
             Looking for a rule with intermediate file `../../sdk/startup.l'.
              Avoiding implicit rule recursion.
              Trying pattern rule with stem `startup.l'.
              Trying implicit prerequisite `../../sdk/startup.l,v'.
              Trying pattern rule with stem `startup.l'.
              Trying implicit prerequisite `../../sdk/RCS/startup.l,v'.
              Trying pattern rule with stem `startup.l'.
              Trying implicit prerequisite `../../sdk/RCS/startup.l'.
              Trying pattern rule with stem `startup.l'.
              Trying implicit prerequisite `../../sdk/s.startup.l'.
              Trying pattern rule with stem `startup.l'.
              Trying implicit prerequisite `../../sdk/SCCS/s.startup.l'.
             Trying pattern rule with stem `startup'.
             Trying implicit prerequisite `../../sdk/startup.w'.
             Looking for a rule with intermediate file `../../sdk/startup.w'.
              Avoiding implicit rule recursion.
              Trying pattern rule with stem `startup.w'.
              Trying implicit prerequisite `../../sdk/startup.w,v'.
              Trying pattern rule with stem `startup.w'.
              Trying implicit prerequisite `../../sdk/RCS/startup.w,v'.
              Trying pattern rule with stem `startup.w'.
              Trying implicit prerequisite `../../sdk/RCS/startup.w'.
              Trying pattern rule with stem `startup.w'.
              Trying implicit prerequisite `../../sdk/s.startup.w'.
              Trying pattern rule with stem `startup.w'.
              Trying implicit prerequisite `../../sdk/SCCS/s.startup.w'.
             Trying pattern rule with stem `startup'.
             Rejecting impossible implicit prerequisite `../../sdk/startup.w'.
             No implicit rule found for `../../sdk/startup.c'.
             Finished prerequisites of target file `../../sdk/startup.c'.
            No need to remake target `../../sdk/startup.c'.
           Finished prerequisites of target file `work/startup.o'.
          Must remake target `work/startup.o'.
    Creating temporary batch file C:\DOCUME~1\Brad\LOCALS~1\Temp\make1572-1.bat
    CreateProcess(C:\DOCUME~1\Brad\LOCALS~1\Temp\make1572-1.bat,C:\DOCUME~1\Brad\LOC
    ALS~1\Temp\make1572-1.bat,...)
    Putting child 0x00bb1b10 (work/startup.o) PID 12267064 on the chain.
    Live child 0x00bb1b10 (work/startup.o) PID 12267064
    ../../sdk/startup.c
    Reaping winning child 0x00bb1b10 PID 12267064
    Cleaning up temp batch file C:\DOCUME~1\Brad\LOCALS~1\Temp\make1572-1.bat
    CreateProcess(NULL,m68k-elf-gcc -O0 -g3 -gdwarf-2 -Wall -fmessage-length=0 -mcpu
    =5208 -I./ -I../../sdk/include -I../../sdk/include/coldfire -I../../sdk/xport_pr
    o -I../xport_pro -DPROD_XPORT_PRO -DSDK_IMAGE_PARTITION_SIZE_BYTES=786000UL -c .
    ./../sdk/startup.c -o work/startup.o,...)
    process_begin: CreateProcess(NULL, m68k-elf-gcc -O0 -g3 -gdwarf-2 -Wall -fmessag
    e-length=0 -mcpu=5208 -I./ -I../../sdk/include -I../../sdk/include/coldfire -I..
    /../sdk/xport_pro -I../xport_pro -DPROD_XPORT_PRO -DSDK_IMAGE_PARTITION_SIZE_BYT
    ES=786000UL -c ../../sdk/startup.c -o work/startup.o, ...) failed.
    Live child 0x00bb1b10 (work/startup.o) PID 12267064
    make (e=2): The system cannot find the file specified.
    Reaping losing child 0x00bb1b10 PID 12267064
    cs-make: *** [work/startup.o] Error 2
    Removing child 0x00bb1b10 PID 12267064 from chain.
    It doesn't quite make sense to me. Has anyone experienced this issue before?

  • #2
    I needed to change the compiler. Apparently m68k-elf-gcc is not included in Sourcery G++ ...

    Comment

    Working...
    X