* Trouble building egcs1.1b (libio, actually) on Solaris 2.6
@ 1998-10-27 18:13 Marat Boshernitsan
1998-10-30 2:40 ` Alexandre Oliva
0 siblings, 1 reply; 2+ messages in thread
From: Marat Boshernitsan @ 1998-10-27 18:13 UTC (permalink / raw)
To: egcs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Trouble building egcs1.1b (libio, actually) on Solaris 2.6
1998-10-27 18:13 Trouble building egcs1.1b (libio, actually) on Solaris 2.6 Marat Boshernitsan
@ 1998-10-30 2:40 ` Alexandre Oliva
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 1998-10-30 2:40 UTC (permalink / raw)
To: Marat Boshernitsan; +Cc: egcs
Marat Boshernitsan <maratb@CS.Berkeley.EDU> writes:
> /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
Amazing! I've never got this problem myself, and I regularly build
egcs on Solaris 2.6 with shared libraries... I suggest you to wipe
out the build tree, configure with a difference prefix and build
again. Then, if the problem remains, submit a new report, with the
preprocessed source file, as suggested in
http://egcs.cygnus.com/faq.html#bugreport
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-10-30 2:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-27 18:13 Trouble building egcs1.1b (libio, actually) on Solaris 2.6 Marat Boshernitsan
1998-10-30 2:40 ` Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).