bug-gnucap
[Top][All Lists]
Advanced

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

[Bug-gnucap] Fwd: [Gnucap-devel] Compilation errors


From: Al Davis
Subject: [Bug-gnucap] Fwd: [Gnucap-devel] Compilation errors
Date: Fri, 25 Oct 2002 20:54:46 -0600

----------  Forwarded Message  ----------

Subject: [Gnucap-devel] Compilation errors
Date: Thu, 24 Oct 2002 16:38:57 -0400
From: "Ko, Yao" <address@hidden>
To: "'address@hidden'" <address@hidden>

Hi,

I'm not sure if this is the correct list; if not, please point
 me to the correct one...

I just downloaded gnucap, versions 0.30, 0.31 and 0.32 and all
 these versions had similar compilation errors. I'm running
 RedHat 8.0 with GCC 3.2 on Intel arch.

Here is a snippet of the error when I ran configure; make:

[...]
cat Make1 Make2.g++ Make3 Make.depend >O/Makefile
(cd O; make -k)
make[2]: Entering directory
 `/cais2/yaok/development/gnucap-0.31/src/O' g++ -DUNIX -O2
 -DNDEBUG -I.. -I. -fno-exceptions -W -c ../m_matrix.cc
 ../m_matrix.cc: In member function `BSMATRIX<T>&
 BSMATRIX<T>::fbsub(T*, const
   T*, T*) [with T = double]':
../m_matrix.cc:438:   instantiated from here
../m_matrix.cc:410: `copy_n' undeclared in namespace `std'
../m_matrix.cc: In member function `BSMATRIX<T>&
 BSMATRIX<T>::fbsub(T*, const
   T*, T*) [with T = COMPLEX]':
../m_matrix.cc:439:   instantiated from here
../m_matrix.cc:410: `copy_n' undeclared in namespace `std'
make[2]: *** [m_matrix.o] Error 1
g++ -DUNIX -O2 -DNDEBUG -I.. -I. -fno-exceptions -W -c
 ../u_xprobe.cc ../u_xprobe.cc:29: default argument given for
 parameter 1 of `double XPROBE::operator()(mod_t = mtNONE, bool
 = false) const' ../u_xprobe.h:51: after previous specification
 in `double XPROBE::operator()(mod_t = mtNONE, bool = false)
 const' ../u_xprobe.cc:29: default argument given for parameter
 2 of `double XPROBE::operator()(mod_t = mtNONE, bool = false)
 const' ../u_xprobe.h:51: after previous specification in
 `double XPROBE::operator()(mod_t = mtNONE, bool = false)
 const' make[2]: *** [u_xprobe.o] Error 1
g++ -DUNIX -O2 -DNDEBUG -I.. -I. -fno-exceptions -W -c
 ../d_admit.cc ../d_admit.cc: In member function `void
 DEV_CPOLY_G::set_parameters(const std::string&, CARD*,
 COMMON_COMPONENT*, double, int, double*, int, const node_t*,
 const double**)':
../d_admit.cc:249: `copy_n' undeclared in namespace `std'
make[2]: *** [d_admit.o] Error 1
g++ -DUNIX -O2 -DNDEBUG -I.. -I. -fno-exceptions -W -c
 ../d_cap.cc ../d_cap.cc: In member function `void
 DEV_FPOLY_CAP::set_parameters(const std::string&, CARD*,
 COMMON_COMPONENT*, double, int, double*, int, const node_t*,
 const double**)':
../d_cap.cc:239: `copy_n' undeclared in namespace `std'
make[2]: *** [d_cap.o] Error 1
g++ -DUNIX -O2 -DNDEBUG -I.. -I. -fno-exceptions -W -c
 ../s__solve.cc ../s__solve.cc: In member function `void
 SIM::advance_time()': ../s__solve.cc:112: `copy_n' undeclared
 in namespace `std' ../s__solve.cc:116: `copy_n' undeclared in
 namespace `std' make[2]: *** [s__solve.o] Error 1
make[2]: Target `gnucap' not remade because of errors.
make[2]: Leaving directory
 `/cais2/yaok/development/gnucap-0.31/src/O' make[1]: *** [g++]
 Error 2
make[1]: Leaving directory
 `/cais2/yaok/development/gnucap-0.31/src' make: *** [gnucap]
 Error 2

The manual says that "any high quality C++ compiler available
 today should work." I hope someone could give me some pointers
 as what I'm doing wrong.

Thanks,

Yao Ko


_______________________________________________
Gnucap-devel mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/gnucap-devel

-------------------------------------------------------




reply via email to

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