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]

RE: libstdc++ installation questions.


Hi,

     I tried to install libstdc++ again today. Instead of specifying a
directory on
the --prefix=some_directory, I just use --prefix=./ when I run the configure
script.
And I got the following errors:


gmake
gmake  all-recursive
gmake[1]: Entering directory `/pri_software/gnu/bld-libstdc++'
Making all in math
gmake[2]: Entering directory `/pri_software/gnu/bld-libstdc++/math'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/pri_software/gnu/bld-libstdc++/math'
Making all in string
gmake[2]: Entering directory `/pri_software/gnu/bld-libstdc++/string'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/pri_software/gnu/bld-libstdc++/string'
Making all in libio
gmake[2]: Entering directory `/pri_software/gnu/bld-libstdc++/libio'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/pri_software/gnu/bld-libstdc++/libio'
Making all in src
gmake[2]: Entering directory `/pri_software/gnu/bld-libstdc++/src'
/bin/sh ../libtool --mode=compile
c++ -DHAVE_CONFIG_H -I. -I../../libstdc++-2.90.6.1/src -I.. -nostdinc++ -I..
/../libstdc++-2.90.6.1 -I../../libstdc++-2.90.6.1/stl -I../../libstdc++-2.90
.6.1/libio     -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -W -Wwrite
-strings -Werror  -c ../src/limitsMEMBERS.cc
rm -f .libs/limitsMEMBERS.lo
c++ -DHAVE_CONFIG_H -I. -I../../libstdc++-2.90.6.1/src -I.. -nostdinc++ -I..
/../libstdc++-2.90.6.1 -I../../libstdc++-2.90.6.1/stl -I../../libstdc++-2.90
.6.1/libio -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -W -Wwrite-str
ings -Werror -c  -fPIC -DPIC ../src/limitsMEMBERS.cc -o
.libs/limitsMEMBERS.lo
In file included from ../src/limitsMEMBERS.cc:37:
../bits/std_limits.h: In function `static __wchar_t
numeric_limits<__wchar_t>::min()':
../bits/std_limits.h:306: `WCHAR_MIN' undeclared (first use this function)
../bits/std_limits.h:306: (Each undeclared identifier is reported only once
../bits/std_limits.h:306: for each function it appears in.)
cc1plus: warnings being treated as errors
../bits/std_limits.h:306: warning: control reaches end of non-void function
`numeric_limits<__wchar_t>::min()'
../bits/std_limits.h: In function `static __wchar_t
numeric_limits<__wchar_t>::max()':
../bits/std_limits.h:308: `WCHAR_MAX' undeclared (first use this function)
../bits/std_limits.h:308: warning: control reaches end of non-void function
`numeric_limits<__wchar_t>::max()'
gmake[2]: *** [../src/limitsMEMBERS.lo] Error 1
gmake[2]: Leaving directory `/pri_software/gnu/bld-libstdc++/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/pri_software/gnu/bld-libstdc++'
gmake: *** [all-recursive-am] Error 2



    Thanks!



Cynthia



Benjamin Kosnik <bkoz@cygnus.com> writes:

| >      Thanks for reading this email. I have been trying to install
libstdc++
| > on my system but I counter the following errors:
|
| What's your system? Examples of some systems that work are listed on the
| libstdc++ homepage.
|
| > c++: ../src/limitsMEMBERS.cc: No such file or directory
| > c++: No input files
|
| means mknumeric_limits is not working correctly. . . .

Maybe...

| ...  (gaby) I thought
| this errored out now, so it was a bit more obvious that things were
| failing?

Cursiously I can't reproduce the  reported behaviour.  Can you?

It's important we get this one right...

-- Gaby


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