This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Redboot compilation problems


Hi there,

I have the impression that I had submitted a patch about this a year or
two ago... The problem was in the cast to (CYG_ADDRWORD) in the macro
call, which was moved into the macro definition in the appropriate
places to avoid the problem.

Did it got lost?

Regards.

David Fernandez

> 

David Fernandez
Wireless Comms Specialist - Vehicle Telematics Team
TRAFFICMASTER PLC
MARTELL HOUSE / UNIVERSITY WAY
CRANFIELD / BEDFORDSHIRE / MK43 0TR
T: 01234 759234
F: 01234 759207
M: 07981 752948
E: david.fernandez@trafficmaster.co.uk

 
Please consider the environment before printing this email.
--------------------------------------------------------

Trafficmaster PLC is a limited Company registered in England and Wales.
Registered number: 2292714   Registered office: Martell House, University Way, Cranfield, BEDS. MK43 0TR
 
This message (and any associated files) is intended only for the use of larsi@wh2.tu-dresden.de, ecos-patches@ecos.sourceware.org, paul.chavent@free.fr and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not larsi@wh2.tu-dresden.de, ecos-patches@ecos.sourceware.org, paul.chavent@free.fr you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Any views or opinions presented are solely those of the author david.fernandez@trafficmaster.co.uk and do not necessarily represent those of the company.
 
Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
--------------------------------------------------------

-----Original Message-----

> From: Lars Poeschel [mailto:larsi@wh2.tu-dresden.de]
> Sent: 11 January 2008 13:26
> To: ecos-patches@ecos.sourceware.org
> Cc: Paul Chavent
> Subject: Re: Redboot compilation problems
> 
> On Freitag, 11. Januar 2008, Paul Chavent wrote:
> > Good morning.
> >
> > When i compile redboot i get this error :
> >
> > 8<-------------------------------------
> >
> > make -r -C redboot/current build
> > make[1]: Entering directory
> `/opt/gba/ecos/untitled_build/redboot/current'
> > arm-thumb-elf-gcc -c  -I/opt/gba/ecos/untitled_install/include
> > -I/home/paul/Gba/sources/ecos/packages/redboot/current
> > -I/home/paul/Gba/sources/ecos/packages/redboot/current/src
> > -I/home/paul/Gba/sources/ecos/packages/redboot/current/tests -I.
> > -I/home/paul/Gba/sources/ecos/packages/redboot/current/src/
> > -finline-limit=7000 -mthumb-interwork -Wall -Wpointer-arith
> > -Wstrict-prototypes -Winline -Wundef  -g -O2 -ffunction-sections
> > -fdata-sections  -fno-exceptions -Wp,-MD,src/main.tmp -o
> > src/redboot_main.o
> > /home/paul/Gba/sources/ecos/packages/redboot/current/src/main.c
> > make[1]: Leaving directory
> `/opt/gba/ecos/untitled_build/redboot/current'
> > /home/paul/Gba/sources/ecos/packages/redboot/current/src/main.c: In
> > function 'cyg_start':
> > make: Leaving directory `/opt/gba/ecos/untitled_build'
> > /home/paul/Gba/sources/ecos/packages/redboot/current/src/main.c:397:
> > error: lvalue required as left operand of assignment
> >
> > /home/paul/Gba/sources/ecos/packages/redboot/current/src/main.c: In
> > function 'do_go':
> > /home/paul/Gba/sources/ecos/packages/redboot/current/src/main.c:603:
> > error: lvalue required as left operand of assignment
> > make[1]: *** [src/main.o.d] Error 1
> > make: *** [build] Error 2
> >
> 
> ...
> 
> > The atached patch solve this problem.
> >
> > Thanks for your comments.
> 
> Hi!
> 
> I also have the problem using a recent gcc version.
> The problem with your patch is that a compiler warning is generated
about
> not
> converted types in an assignment.
> I'd suggest the attatched solution.
> 
> Lars


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]