build RTEMS TIc4x

Joel Sherrill joel.sherrill at oarcorp.com
Mon Nov 13 15:49:28 UTC 2006


Ralf Corsepius wrote:
> On Mon, 2006-11-13 at 08:00 -0600, Joel Sherrill wrote:
>   
>> Ralf Corsepius wrote:
>>     
>>> On Thu, 2006-11-09 at 15:54 +0800, liu danil wrote:
>>>       
>
>
>   
>> This must be what I was remembering as the problem that prevented it 
>> from being buildable.
>>     
>>>> /opt/rtems/tic4x-rtems/c3xsim/lib/librtemscpu.a(libscore_a-threadhandler.o):threadhandler.:(.text+0x27): 
>>>> undefined reference to `__init'
>>>> /opt/rtems/tic4x-rtems/c3xsim/lib/librtemsbsp.a(startup.rel):bootcard.c:(.const+0x23): 
>>>> undefined reference to `__fini'
>>>>
>>>> How can I do to solve these problems?
>>>>     
>>>>         
>>> You don't seem to have the rtems-patches to newlib and gcc applied.
>>>
>>>   
>>>       
>> That explains the __init/__fini problem but the console one may indicate 
>> a missing file in the Makefile.am
>> or something worse.
>>     
> Which console error are you referring to?
>   
http://www.rtems.org/ml/rtems-users/2006/november/msg00045.html

/opt/rtems/tic4x-rtems/c3xsim/lib/librtemsbsp.a(console.rel):simio.c:(.text+0x1f6): 
undefined reference to `_Console_Port_Count'

It looks like the c4xsim BSP is linking against shared/console.c instead of the BSP specific
one.  See c4xsim/Makefile.am and doublecheck me.


> Ralf
>
> PS: This mailing lists's headers are still broken.
>
>   

I will ping Jeff.

--joel




More information about the users mailing list