FinDispMolecularHessian is defined in fdhess.h and findisp.h. I cannot build using one or the other because their definitions are not identical.
Jeff
mpicxx -DHAVE_CONFIG_H -D_REENTRANT -I../../../src/lib -I/home/jhammond/MPQC/mpqc-trunk/include -I/home/jhammond/MPQC/mpqc-trunk/src/lib -I/home/jhammond/MPQC/mpqc-trunk/src/lib/chemistry/cca/server -I. -I/home/jhammond/MPQC/mpqc-trunk/src/bin/mpqc -g -O3 -c /home/jhammond/MPQC/mpqc-trunk/src/bin/mpqc/mpqc.cc -o mpqc.o
In file included from /home/jhammond/MPQC/mpqc-trunk/src/lib/chemistry/molecule/linkage.h:36,
from /home/jhammond/MPQC/mpqc-trunk/src/lib/chemistry/qc/scf/linkage.h:41,
from /home/jhammond/MPQC/mpqc-trunk/src/bin/mpqc/mpqc.cc:90:
/home/jhammond/MPQC/mpqc-trunk/src/lib/chemistry/molecule/fdhess.h:46: error: redefinition of ‘class sc::FinDispMolecularHessian’
/home/jhammond/MPQC/mpqc-trunk/src/lib/chemistry/molecule/findisp.h:198: error: previous definition of ‘class sc::FinDispMolecularHessian’
In file included from /home/jhammond/MPQC/mpqc-trunk/src/lib/util/class/class.h:45,
from /home/jhammond/MPQC/mpqc-trunk/src/lib/util/keyval/keyval.h:40,
from /home/jhammond/MPQC/mpqc-trunk/src/bin/mpqc/mpqcinit.h:7,
from /home/jhammond/MPQC/mpqc-trunk/src/bin/mpqc/mpqc.cc:55:
/home/jhammond/MPQC/mpqc-trunk/src/lib/util/ref/ref.h: In constructor ‘sc::Ref<t>::Ref(const sc::Ref&) [with A = sc::Molecule, T = sc::KeyVal]’:
/home/jhammond/MPQC/mpqc-trunk/src/bin/mpqc/mpqc.cc:838: instantiated from here
/home/jhammond/MPQC/mpqc-trunk/src/lib/util/ref/ref.h:360: error: cannot convert ‘sc::Molecule’ to ‘sc::KeyVal’ in assignment
In file included from /home/jhammond/MPQC/mpqc-trunk/src/lib/util/keyval/keyval.h:40,
from /home/jhammond/MPQC/mpqc-trunk/src/bin/mpqc/mpqcinit.h:7,
from /home/jhammond/MPQC/mpqc-trunk/src/bin/mpqc/mpqc.cc:55:
/home/jhammond/MPQC/mpqc-trunk/src/lib/util/class/class.h: In member function ‘sc::DescribedClass* sc::ForceLink<t, a="">::create(A) [with T = sc::ETraIn, A = const sc::Ref<sc::keyval>&]</sc::keyval>’:
/home/jhammond/MPQC/mpqc-trunk/src/bin/mpqc/mpqc.cc:1002: instantiated from here
/home/jhammond/MPQC/mpqc-trunk/src/lib/util/class/class.h:338: error: ‘sc::DescribedClass’ is an ambiguous base of ‘sc::ETraIn’
make[3]: *** [mpqc.o] Error 1
make[3]: Leaving directory /veas_home/jhammond/MPQC/mpqc-trunk/build-gcc/src/bin/mpqc'
make[2]: *** [default] Error 1
make[2]: Leaving directory/veas_home/jhammond/MPQC/mpqc-trunk/build-gcc/src/bin'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/veas_home/jhammond/MPQC/mpqc-trunk/build-gcc/src'</t,></t>
Anonymous