Building project - Eclipse
Binkowski, Cassio
cassioiks at gmail.com
Thu Mar 15 17:01:30 UTC 2012
I think I have it now. But I had to do the whole process as ROOT.
Now what I got in Eclipse is the following:
**** Build of configuration RTEMS Executable Configuration for project test
****
make all
Building file: ../scr/init.c
Invoking: RTEMS C Compiler
/opt/rtems-4.11/bin/sparc-rtems4.11-gcc
-B/opt/rtems-4.11/sparc-rtems4.11/sis/lib/ -specs bsp_specs -qrtems
-mcpu=cypress -Os -g -Wall -c -fmessage-length=0 -pipe -MMD -MP
-MF"scr/init.d" -MT"scr/init.d" -o "scr/init.o" "../scr/init.c"
In file included from ../scr/init.c:12:0:
/opt/rtems-4.11/sparc-rtems4.11/sis/lib/include/rtems/confdefs.h:2434:6:
error: #error "CONFIGURATION ERROR: No tasks or threads configured!!"
/opt/rtems-4.11/sparc-rtems4.11/sis/lib/include/rtems/confdefs.h:2446:2:
error: #error "CONFIGURATION ERROR: No initialization tasks or threads
configured!!"
/opt/rtems-4.11/sparc-rtems4.11/sis/lib/include/rtems/confdefs.h:2496:6:
error: #error "CONFIGURATION ERROR: Do you want the clock driver or not?!?"
../scr/init.c: In function 'init_task':
../scr/init.c:30:18: error: 'RTEMS_STATUS_SUCCESSFUL' undeclared (first use
in this function)
../scr/init.c:30:18: note: each undeclared identifier is reported only once
for each function it appears in
../scr/init.c:31:5: warning: implicit declaration of function 'printf'
[-Wimplicit-function-declaration]
../scr/init.c:31:5: warning: incompatible implicit declaration of built-in
function 'printf' [enabled by default]
../scr/init.c:32:5: warning: implicit declaration of function 'exit'
[-Wimplicit-function-declaration]
../scr/init.c:32:5: warning: incompatible implicit declaration of built-in
function 'exit' [enabled by default]
../scr/init.c:37:5: warning: incompatible implicit declaration of built-in
function 'printf' [enabled by default]
../scr/init.c:38:5: warning: incompatible implicit declaration of built-in
function 'exit' [enabled by default]
../scr/init.c:41:31: error: 'SELF' undeclared (first use in this function)
../scr/init.c:42:3: warning: incompatible implicit declaration of built-in
function 'printf' [enabled by default]
../scr/init.c:43:3: warning: incompatible implicit declaration of built-in
function 'exit' [enabled by default]
../scr/init.c: At top level:
../scr/init.c:65:0: warning: "CONFIGURE_MAXIMUM_TASKS" redefined [enabled
by default]
/opt/rtems-4.11/sparc-rtems4.11/sis/lib/include/rtems/confdefs.h:1353:0:
note: this is the location of the previous definition
make: *** [scr/init.o] Error 1
**** Build Finished ****
I have these includes at the top:
#include <bsp.h>
#include <rtems.h>
#include <rtems/confdefs.h>
Can you please help?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20120315/53b81ec1/attachment-0001.html>
More information about the users
mailing list