help-gnucap
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Help-gnucap] cant compile or install on solaris 5.8


From: Ko, Yao
Subject: RE: [Help-gnucap] cant compile or install on solaris 5.8
Date: Tue, 19 Nov 2002 17:14:36 -0500

Try using gcc < 3.0
 
I had the same problem with gcc 3.0 on linux. By downloading an older version of gcc (2.96) it worked fine.
 
Cheers,
Yao Ko
-----Original Message-----
From: Surendra Anubolu [mailto:address@hidden
Sent: Tuesday, November 19, 2002 3:40 AM
To: address@hidden
Subject: [Help-gnucap] cant compile or install on solaris 5.8

It might be my machine setup. I am not a software engineer and many of the
error messages didnt make much sense to me.
 
I have download gnucap-0.31 and tried compiling on a sun machine.
uname -a
SunOS willers 5.8 Generic_108528-16 sun4u sparc
> g++ -dumpversion
3.1

I have done ./configure; make
I am getting these types of erros
 
g++ -DUNIX -O2 -DNDEBUG -I.. -I. -fno-exceptions -W -c ../m_matrix.cc^M
../m_matrix.cc: In member function `BSMATRIX<T>& BSMATRIX<T>::fbsub(T*, const ^M
   T*, T*) [with T = double]':^M
../m_matrix.cc:438:   instantiated from here^M
../m_matrix.cc:410: `copy_n' undeclared in namespace `std'^M
../m_matrix.cc: In member function `BSMATRIX<T>& BSMATRIX<T>::fbsub(T*, const ^M
   T*, T*) [with T = COMPLEX]':^M
../m_matrix.cc:439:   instantiated from here^M
../m_matrix.cc:410: `copy_n' undeclared in namespace `std'^M
make[2]: *** [m_matrix.o] Error 1^M
g++ -DUNIX -O2 -DNDEBUG -I.. -I. -fno-exceptions -W -c ../u_xprobe.cc^M
../u_xprobe.cc:29: default argument given for parameter 1 of `double ^M
   XPROBE::operator()(mod_t = mtNONE, bool = false) const'^M
../u_xprobe.h:51: after previous specification in `double ^M
   XPROBE::operator()(mod_t = mtNONE, bool = false) const'^M
../u_xprobe.cc:29: default argument given for parameter 2 of `double ^M
   XPROBE::operator()(mod_t = mtNONE, bool = false) const'^M
../u_xprobe.h:51: after previous specification in `double ^M
   XPROBE::operator()(mod_t = mtNONE, bool = false) const'^M
I am not very familiar these functions. I might be missing some libraries.
can you tell me if I am not using right setup.
 
I have also tried bringing binary from another sun 5.8 machine and got message
ld.so.1: gnucap: fatal: libstdc++.so.2.10.0: open failed: No such file or directory
 
 
Thanks
Surendra

 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]