From: A. S. <as...@ga...> - 2010-05-05 06:23:25
|
Dear All, I am facing the following errors while compiling libcommon-0.5, necessary to compile pimc++: ------------------------------------- /bin/sh ../libtool --tag=CXX --mode=link g++ -I/home/asen/blitz-0.9/. -mssse3 -fPIC -pthread -g -o VinetFit VinetFit.o libfitting.la ../MatrixOps/libmatops.la ../IO/libIO.la -L/home/asen/blitz-0.9/src/.libs -lblitz -lgsl -lgslcblas -lm -llapack -lblas -lblas -lhdf5 -lm g++ -I/home/asen/blitz-0.9/. -mssse3 -fPIC -pthread -g -o VinetFit VinetFit.o ./.libs/libfitting.a ../MatrixOps/.libs/libmatops.a ../IO/.libs/libIO.a -L/home/asen/blitz-0.9/src/.libs -lblitz -lgsl -lgslcblas -llapack -lblas -lhdf5 -lm g++ -DHAVE_CONFIG_H -I. -I.. -I/home/asen/blitz-0.9/. -mssse3 -fPIC -pthread -g -MT VinetFit2.o -MD -MP -MF .deps/VinetFit2.Tpo -c -o VinetFit2.o VinetFit2.cc In file included from VinetFit2.cc:5: PhononFreeEnergy.h:27: error: redefinition of ‘int vorder’ PhononFreeEnergy.h:27: error: ‘int vorder’ previously declared here PhononFreeEnergy.h:31: error: redefinition of ‘int vorder’ PhononFreeEnergy.h:31: error: ‘int vorder’ previously declared here VinetFit2.cc: In function ‘void ThermalFit(std::string, PhononFreeEnergy&)’: VinetFit2.cc:206: error: no matching function for call to ‘PhononFreeEnergy::FitF(int, int, blitz::Array<double, 1>&, blitz::Array<double, 1>&, blitz::Array<double, 1>&)’ PhononFreeEnergy.h:27: note: candidates are: void PhononFreeEnergy::FitF(int, blitz::Array<double, 1>&, blitz::Array<double, 1>&, blitz::Array<double, 1>&) make[2]: *** [VinetFit2.o] Error 1 make[2]: Leaving directory `/home/asen/libcommon-0.5/Fitting' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/asen/libcommon-0.5' make: *** [all] Error 2 ----------------------------- I would greatly appreciate your help and suggestions in this regard! Best regards, Sen |