Error building 4.5.0 beta1c.

Ralf Corsepius corsepiu at faw.uni-ulm.de
Fri Apr 7 09:05:49 UTC 2000


Robert Gordon wrote:
> 
> Hi,
> 
> I'm attempting to build the subject beta version and
> associated build environment have the following error,
> wondered if anyone else has seen it,

Yes, I did :)

> and would "share"
> with me what's upppppp :-)

Building gcc's libobjc fails for the i960 ;)

> 
> cc -I../../../gcc-2.95.2/libobjc/../include
> ../../../gcc-2.95.2/libobjc/encoding.c
> ../../../gcc-2.95.2/libobjc/encoding.c: In function
> `objc_layout_finish_structure':
> ../../../gcc-2.95.2/libobjc/encoding.c:882: `REAL_TYPE' undeclared (first
> use in this function)
> ../../../gcc-2.95.2/libobjc/encoding.c:882: (Each undeclared identifier is
> reported only once
> ../../../gcc-2.95.2/libobjc/encoding.c:882: for each function it appears
> in.)
> ../../../gcc-2.95.2/libobjc/encoding.c:882: `XFmode' undeclared (first use
> in this function)
> gmake[1]: *** [encoding.o] Error 1
> gmake[1]: Leaving directory
> `/usr/rtems/tools/build-i960-tools/i960-rtems/libobjc'
> gmake: *** [all-target-libobjc] Error 2
> ERROR: **** FAILED **** base build (step 1)

The only work around I know about is not to build objc / libobjc for the
i960 (It's probably a bug in gcc).

Instead of using the bit scripts, you might consider trying rpm and
RTEMS-4.5.0's rpm specs to build the toolchain (cf.
rtems-4.5.0-xxx/scripts/README and
rtems-4.5.0-xxx/scripts/gccnewlib/gccnewlib_c_only.spec.in).

Ralf

-- 
Ralf Corsepius 
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW)
Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
mailto:corsepiu at faw.uni-ulm.de           FAX: +49/731/501-999  
http://www.faw.uni-ulm.de



More information about the users mailing list