problem with iostream
D. Peter Siddons
siddons at bnl.gov
Sun Jul 26 16:10:45 UTC 2009
OK, as usual, as soon as I make the post, I find the problem. THere were
a bunch of missing trailing *'s in the linkcmds. Sorry to bother you.
Pete.
D. Peter Siddons wrote:
> Hi Joel,
> My linkcmds file is closely similar to that in the uC5282 bsp.
> Although there are some differences in detail, I think all of the same
> sections are defined. I confess that linkcmds I find pretty opaque. I
> have attached it. Do you see any obvious omissions?
> Pete.
>
> Joel Sherrill wrote:
>> D. Peter Siddons wrote:
>>> I am upgrading my bsp to rtems-4.9 from 4.7. I took the tool rpms. I
>>> used alien to make debs and installed them on my Ubuntu Jaunty. I
>>> have got to the point where everything seems to build OK until it
>>> tries to link the iostream example. I get the following:
>>>
>>> 272/testsuites/samples/iostream'
>>> m68k-rtems4.9-g++ -B../../../../../uC5272/lib/ -specs bsp_specs
>>> -qrtems -m5200 -O4 -fomit-frame-pointer -m5200 -o
>>> cxx_iostream.exe init.o
>>> /opt/rtems-4.9/lib/gcc/m68k-rtems4.9/4.3.2/../../../../m68k-rtems4.9/bin/ld:
>>> error: no memory region specified for loadable section
>>> `.text._ZSt18__throw_bad_typeidv'
>>> collect2: ld returned 1 exit status
>>>
>>> Any suggestions?
>>>
>>
>> error: no memory region specified for loadable section
>> Compare the linker scripts in /opt with the one for your BSP.
>> Apparently there is a section not in your linkcmds.
>>> Pete.
>>>
>>>
>>>
>>
>>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
--
D. Peter Siddons
Detector Development Group Leader
National Synchrotron Light Source
Brookhaven National Laboratory
Upton, NY 11973
email: siddons at bnl.gov
Phone: (631) 344-2738
More information about the users
mailing list