<div dir="ltr">Hi everyone,<br><br>Please be patient with me as I am a newbie. I intalled the RTEMS toolchain following this link:<br> <a href="http://www.rtems.org/wiki/index.php/MinGW_Tools_for_Windows">http://www.rtems.org/wiki/index.php/MinGW_Tools_for_Windows</a><br>I used the "TLL6527M" instead of the default BSP, and a "blackfin" instead of "powerpc" in each step. Everything worked just fine.<br><br>I installed the Eclipse Plug-In too.<br><br>My paths look like that:<br><br>Base path: C:\opt\rtems-4.10<br>BSP path: C:\opt\rtems-4.10\bfin-rtems4.10\TLL6527M<br>MinGW path: C:\MinGW<br>MSYS path: C:\MinGW\msys\1.0<br><br>then I made a new C project in Eclipse, my project type was : Others> RTEMS Executable<br>I added a source file: main.c, copied and pasted the Hello_World_C program:<br><br>/*<br> *  Simple test program -- simplified version of sample test hello.<br> *<br> *  $Id$<br> */<br><br>#include <bsp.h><br><br>#include <stdlib.h><br>#include <stdio.h><br><br>rtems_task Init(<br>  rtems_task_argument ignored<br>)<br>{<br>  printf( "\n\n*** HELLO WORLD TEST ***\n" );<br>  printf( "Hello World\n" );<br>  printf( "*** END OF HELLO WORLD TEST ***\n" );<br>  exit( 0 );<br>}<br><br><br>/* configuration information */<br><br>/* NOTICE: the clock driver is explicitly disabled */<br>#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER<br>#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER<br><br>#define CONFIGURE_RTEMS_INIT_TASKS_TABLE<br>#define CONFIGURE_MAXIMUM_TASKS 1<br><br>#define CONFIGURE_INIT<br><br>#include <rtems/confdefs.h><br><br>/* end of file */<br><br>Now I have these 4 errors:<br><br>make: *** [test2.exe] Error 1<br>Type 'rtems_task_argument' could not be resolved<br>Type 'rtems_task' could not be resolved<br>undefined reference to `main'<br><br>and the build console shows this:<br><br>18:11:41 **** Build of configuration RTEMS Executable Configuration for project test2 ****<br>make all<br>Building file: ../main.c<br>Invoking: RTEMS C Compiler<br>C:/opt/rtems-4.10/bin/bfin-rtems4.10-gcc -BC:/opt/rtems-4.10/bfin-rtems4.10/TLL6527M/lib/ -specs bsp_specs -qrtems -mcpu=bf527 -Os -g -Wall -c -fmessage-length=0 -pipe -MMD -MP -MF"main.d" -MT"main.d" -o "main.o" "../main.c"<br>Finished building: ../main.c<br> <br>Building target: test2.exe<br>Invoking: RTEMS C++ Linker<br>C:/opt/rtems-4.10/bin/bfin-rtems4.10-g++ -BC:/opt/rtems-4.10/bfin-rtems4.10/TLL6527M/lib/ -specs bsp_specs -qrtems -mcpu=bf527 -o "test2.exe"  ./main.o  <br>C:/opt/rtems-4.10/bfin-rtems4.10/TLL6527M/lib\librtemscpu.a(dummy.o):(.data+0x2c): undefined reference to `main'<br>collect2: ld returned 1 exit status<br>make: *** [test2.exe] Error 1<br><br>18:11:43 Build Finished (took 1s.139ms)<br><br><br>I hope you can guide me, where my problem is ..<br><br></div>