This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

egcs 1.1.2 for m68k problems?


Forgive the forward.  I didn't realize this may be a problem with
egcs.  I just recently began upgrading from egcs-1.1b to 1.1.2.
I'm using the patches that come with the RTEMS distributions.


   Cheers,
   Jake


> On Mon, May 03, 1999 at 08:19:24AM -0500, joel@OARcorp.com wrote:
> > 
> > On Sun, 2 May 1999, Jake Janovetz wrote:
> > 
> > > Hello,
> > > 
> > >    I decided to upgrade my tools (I'm always a bit behind the group
> > > on these) using the newest patches.  binutils and egcs-1.1.2 
> > > build fine, but when I get to newlib, I get the following errors.
> > > I'm don't use C++, incidentally.  Any ideas?
> > > 
> > >     Cheers,
> > >     Jake
> > > 
> > > 
> > > /home/tools.build/build-m68k-tools/gcc/xgcc -B/home/tools.build/build-m68k-tools/gcc/ -idirafter /home/tools.build/build-m68k-tools/m68k-rtems/newlib/targ-include -idirafter /home/tools.build/src/newlib/libc/include -nostdinc -c -g -O2 -fno-implicit-templates -I. -I../../../src/libio -nostdinc++  ../../../src/libio/filebuf.cc
> > > ../../../src/libio/streambuf.h:427: previous declaration of `void filebuf::init()' with C++ linkage
> > > ../../../src/libio/filebuf.cc:35: conflicts with new declaration with C linkage
> > > ../../../src/libio/streambuf.h:430: previous declaration of `filebuf::filebuf()' with C++ linkage
> > > ../../../src/libio/filebuf.cc:40: conflicts with new declaration with C linkage
> > > ../../../src/libio/streambuf.h:431: previous declaration of `filebuf::filebuf(int)' with C++ linkage
> > > 
> > > .
> > > .  more of this drivel.
> > > .
> > 
> > 
> > This is actually in the C++ libraries included with egcs.  I have not see
> > this before.  The code in question is some declarations for an overloaded
> > function:
> > 
> > streambuf.h:430    filebuf();
> > streambuf.h:431    filebuf(int fd);
> > 
> > I think you need to hit the egcs list.
> > 
> > 
> > > ../../../src/libio/filebuf.cc:209: conflicts with new declaration with C linkage
> > > ../../../src/libio/filebuf.cc:216: parse error at end of input
> > > gmake[1]: *** [filebuf.o] Error 1
> > > gmake[1]: Leaving directory `/home/tools.build/build-m68k-tools/m68k-rtems/libio'
> > > gmake: *** [all-target-libio] Error 2
> > > ERROR: **** FAILED **** base build (step 1)


-- 
   janovetz@uiuc.edu    | Once you have flown, you will walk the earth with
 University of Illinois | your eyes turned skyward, for there you have been,
                        | there you long to return.     -- da Vinci
        PP-ASEL         | http://www.ews.uiuc.edu/~janovetz/index.html


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