This is the mail archive of the gcc-bugs@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]

HELP! Linux egcs-1.1a build fails


Refer to my earlier posting. It seems that if I delete ``-nostdinc++'' from the
makefile isscan.c compile statement below, it compiles without problems.

So, does anyone have any idea on how to proceed in order to successfully build
the egcs-1.1 ? Highly appreciated.

Thank you. --joern

  /usr/src/egcs-obj/gcc/xgcc -B/usr/src/egcs-obj/gcc/ -c -g -O2
-fno-implicit-templates -I. -I/usr/src/egcs-1.1a/libio -nostdinc++
-D_G_HAVE_MMAP -fpic /usr/src/egcs-1.1a/libio/isscan.cc -o pic/isscan.o


On Sep 7, 10:08pm, Joern Amundsen wrote:
> Subject: Linux egcs-1.1a build fails in libio:isscan.cc
> Hi!
>
> I am trying to build the full 1.1a release on a Linux elf 2.0.34 system w/
gcc
> 2.7.2.1.f.1, libc5.4.46 and binutils 2.9.1.
>
> Configuration srcdir/configure --prefix=/usr --enable-shared, build with make
> CFLAGS=-O2 CXXFLAGS=-O2 bootstrap-lean .
>
> I executed the failing xgcc command from the make log once more with -v
> -save-temps added. The screen output is:
>
> isdn-a104:libio$ $(tail -9 /usr/src/egcs-obj/make.log |head -1) -v
-save-temps
> Reading specs from /usr/src/egcs-obj/gcc/specs
> gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
>  /usr/src/egcs-obj/gcc/cpp -lang-c++ -nostdinc++ -v -I.
> -I/usr/src/egcs-1.1a/libio -isystem /usr/src/egcs-obj/gcc/include -undef
> -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -D__ELF__ -Dunix
> -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix)
> -D__EXCEPTIONS -D__OPTIMIZE__ -g -Asystem(unix) -Acpu(i386) -Amachine(i386)
> -Di386 -D__i386 -D__i386__ -Di586 -Dpentium -D__i586 -D__i586__ -D__pentium
> -D__pentium__ -D__PIC__ -D__pic__ -D_G_HAVE_MMAP
> /usr/src/egcs-1.1a/libio/isscan.cc isscan.ii
> GNU CPP version egcs-2.91.57 19980901 (egcs-1.1 release) (i386 Linux/ELF)
> #include "..." search starts here:
> #include <...> search starts here:
>  .
>  /usr/src/egcs-1.1a/libio
>  /usr/src/egcs-obj/gcc/include
>  /usr/local/include
>  /usr/include
> End of search list.
>  /usr/src/egcs-obj/gcc/cc1plus isscan.ii -quiet -dumpbase isscan.cc -g -O2
> -version -fno-implicit-templates -fpic -o isscan.s
> GNU C++ version egcs-2.91.57 19980901 (egcs-1.1 release)
> (i586-pc-linux-gnulibc1) compiled by GNU C version egcs-2.91.57 19980901
> (egcs-1.1 release).
> /usr/src/egcs-1.1a/libio/isscan.cc: In method `class istream &
> istream::scan(const char * ...)':
> /usr/src/egcs-1.1a/libio/isscan.cc:34: no matching function for call to
> `streambuf::vscan (const char *&, void *&, istream *)'
> /usr/src/egcs-1.1a/libio/streambuf.h:403: candidates are:
> streambuf::vscan(const char *, char *, ios *)
>
>
> The source file as provided from -save-temps is available on URL
> http://www.itea.ntnu.no/~joern/isscan.ii.gz .
>
> Do you have any clues ? Thank you !
>
> Best Regards --Jørn Amundsen
>
>
>-- End of excerpt from Joern Amundsen




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