[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem compiling RTEMS for edb7312



On Thu, 2005-11-24 at 11:37 +0100, Karel Gardas wrote:
> On Thu, 24 Nov 2005, Ralf Corsepius wrote:
> 
> > On Wed, 2005-11-23 at 23:07 +0100, FrÃdÃric PRACA wrote:
> >> Hello,
> >> while compiling RTEMS (HEAD version) for the edb7312, I got this error message :
> >> ------------------------------------------------
> >> ../../../../../../../../rtems/c/src/lib/libbsp/arm/edb7312/../../shared/console.c:
> >> In function 'console_close':
> >> ../../../../../../../../rtems/c/src/lib/libbsp/arm/edb7312/../../shared/console.c:134:
> >> error: 'current_tty' undeclared (first use in this function)
> >> ../../../../../../../../rtems/c/src/lib/libbsp/arm/edb7312/../../shared/console.c:134:
> >> error: (Each undeclared identifier is reported only once
> >> ../../../../../../../../rtems/c/src/lib/libbsp/arm/edb7312/../../shared/console.c:134:
> >> error: for each function it appears in.)
> >> gmake[6]: *** [console_rel-console.o] Erreur 1
> >
> >>
> >> Any idea ?
> > Insufficient info. These messages probably are followups to an error
> > that has occurred further up.
> 
> I don't think so.  I remember in the time of trying to get RTEMS working on 
> SkyEye emulator, I've tried edb7312 as a most closed target and also got 
> these errors. I needed to comment out the problematic block of code in 
> order to get console.c compile well. The "patch" is below.

Insufficient info, again.

All you are showing us is how to comment out the code which is raising
the error, but we still don't know why the error should occur at all!

Please show me the full error message including
* the failing call to the compiler
* the corresponding configure call.
* the toolchain versions (I know Frederic is experimenting with GCC,
Ada and is trying to use a customized GCC).

I can't reproduce the error, in fact I've built this BSP without any
problems several times, recently - Last time ca. 60 seconds ago ;)

Ralf