This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

libstdc++-2.90.5 Installation problem on Solaris2.6


Hi,
I am having trouble to install libstc++-2.90.5 on a Solaris2.6:
...
Making all in src
make[2]: Entering directory `/home/tar/src/libstdc++-2.90.5/bld-libstdc++/src'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../src -I.. -nostdinc++ -I../..
-I../../stl -I../../libio     -g -D_GNU_SOURCE -fno-implicit-templates  -c ../../src/basic_file.cc
rm -f .libs/basic_file.lo
c++ -DHAVE_CONFIG_H -I. -I../../src -I.. -nostdinc++ -I../.. -I../../stl -I../../libio -g
-D_GNU_SOURCE -fno-implicit-templates -c  -fPIC -DPIC ../../src/basic_file.cc -o .libs/basic_file.lo
In file included from ../../src/basic_file.cc:35:
../../libio/libioP.h:569: parse error before string constant
make[2]: *** [basic_file.lo] Error 1
make[2]: Leaving directory `/home/tar/src/libstdc++-2.90.5/bld-libstdc++/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tar/src/libstdc++-2.90.5/bld-libstdc++'
make: *** [all-recursive-am] Error 2

These are the steps I have made:

1) I created a directory bld-libstdc++
2) I changed to that directory and excuted configure:
  bash-2.03$ ../configure --prefix=${PWD%/*}/H-libstdc++
3) Typing 'make' gives the above listed result

I am using the following compiler:
bash-2.03$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/gcc-2.95/specs
gcc version gcc-2.95 19990615 (prerelease)

Can anybody help? Thanks a lot!
-- 
Ronald Tanner
SEMAFOR Informatik & Energie AG                tel. +41 61 690 9888
Sperrstrasse 104B                              fax. +41 61 690 9880
CH 4057 Basel    Switzerland                   mailto:tanner@semafor.ch

S/MIME Cryptographic Signature


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