[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Date: Mon, 3 May 1999 08:19:24 -0500 (CDT)
- From: joel at OARcorp.com (joel at OARcorp.com)
- Subject: newlib patch?
On Sun, 2 May 1999, Jake Janovetz wrote:
> 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?
> /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
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: *** [filebuf.o] Error 1
> gmake: Leaving directory `/home/tools.build/build-m68k-tools/m68k-rtems/libio'
> gmake: *** [all-target-libio] Error 2
> ERROR: **** FAILED **** base build (step 1)
> janovetz at 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
- newlib patch?
- From: janovetz at tempest.ece.uiuc.edu (Jake Janovetz)