Error building 4.5.0 beta1c.

Charles-Antoine Gauthier charles.gauthier at nrc.ca
Fri Apr 7 14:22:49 UTC 2000


I think that Chill and Objective-C cannot be built as cross-compilers.
You must have configured gcc manually rather than use the bit script. If
so, use '--enable-languages=c,c++' as one of the configure arguments.
You may need 'make LANGUAGES="c c++"' also. I had some problems with
some past releases of gcc honoring the --enable-languages=. This is a
relatively recent addition to the configure script that removes the need
for the LANGUAGES= argument to make. I am 99% sure that
--enable-languages= is accepted by 2.95.2, but I don't remember if it
works. BTW, the java compiler can be built as a cross-compiler. I don't
know if f77 can.

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, and would "share"
> with me what's upppppp :-)
> 
> 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)
> 
> Thanks;
> Robert..
> 
> __________________________________________
> Robert Gordon -  Technical Staff.
> Power Micro Research,  Austin  Texas.
> (512) 257-3031 Ext. 441.

-- 
Charles-Antoine Gauthier
Institute for Information Technology   Institut de technologie de
l'information
National Research Council of Canada    Conseil national de recherches du
Canada



More information about the users mailing list