Hello,

I am currently using Geisler's RCC 1.2 and RTEMS 4.10. I am getting an error 
after compiling my c files into object files, and then linking them together. 
The error I get is:

/opt/rtems-4.10/sparc-rtems/leon3/lib/librtemscpu.a(dummy.o):(.data+0x2c): 
undefined reference to `main'
collect2: ld returned 1 exit status

I am using "sparc-rtems-gcc" to do the linking, and cannot seem to figure out 
how to get around this problem. The file "librtemscpu.a" is part of the 
prebuilt libraries included in the RCC 1.2 distribution, and I cannot find any 
source code for this file to inspect the unresolved reference to main. I am 
wondering if any of you have suggestions about solving this issue or maybe have 
run into the same thing. Please let me know.


Thank you,

Reuben Fresquez
Student, ISR-3
[email protected]<mailto:[email protected]>

_______________________________________________
users mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/users

Reply via email to