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]

Trouble building egcs1.1b (libio, actually) on Solaris 2.6



Hi,

I am getting this error message when trying to build egcs1.1b on Solaris
2.6 machine:

/var/tmp/egcs-1.1b-build/gcc/xgcc -B/var/tmp/egcs-1.1b-build/gcc/ -c -g -O2 -fno-implicit-templates -I. -I/local/dogwood/a/egcs-1.1b/libio -nostdinc++  `case "-g -O2 -g -O2 -fno-implicit-templates" in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac` /local/dogwood/a/egcs-1.1b/libio/isscan.cc -o pic/isscan.o
/local/dogwood/a/egcs-1.1b/libio/isscan.cc: In method `class istream & istream::scan(const char * ...)':
/local/dogwood/a/egcs-1.1b/libio/isscan.cc:34: no matching function for call to `streambuf::vscan (const char *&, void *&, istream *)'
/local/dogwood/a/egcs-1.1b/libio/streambuf.h:403: candidates are: streambuf::vscan(const char *, char *, ios *)

This only occurs when I build with --enable-shared (and I must have a
.so version of libstdc++) and only on Solaris 2.6 (build on RH5.1 Linux
went just fine).  Here's config.status:

#!/bin/sh
# This file was generated automatically by configure.  Do not edit.
# This directory was configured as follows:
/local/dogwood/a/egcs-1.1b/configure --with-gcc-version-trigger=/local/dogwood/a/egcs-1.1b/gcc/version.c --host=sparc-sun-solaris2.6 --prefix=/usr/misc --enable-shared --with-gnu-as --with-gnu-ld --norecursion 
# using "mh-frag" and "mt-frag"

Any suggestions?

Thanks,

Marat.


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