Mingw32 compilation


Click here for full thread
Gets Around
Hi Edo,

I tried to compile with
export CCSDTQ = yes

there was a problem too.
gfortran -m32 -march=pentium4 -mtune=pentium4 -g -O0  -L/home/amnikitin/nwchem-6
.5/lib/LINUX -L/home/amnikitin/nwchem-6.5/src/tools/install/lib  -o /home/amniki
tin/nwchem-6.5/bin/LINUX/nwchem nwchem.o stubs.o -lnwctask -lccsd -lmcscf -lselc
i -lmp2 -lmoints -lstepper -ldriver -loptim -lnwdft -lgradients -lcphf -lesp -ld
dscf -ldangchang -lguess -lhessian -lvib -lnwcutil -lrimp2 -lproperty -lsolvatio
n -lnwints -lprepar -lnwmd -lnwpw -lofpw -lpaw -lpspw -lband -lnwpwlib -lnwxc -l
cafe -lspace -lanalyze -lqhop -lpfft -ldplot -ldrdy -lvscf -lqmmm -lqmd -letrans
 -lpspw -ltce -lbq -lcons -lperfm -ldntmc -lccca -lnwcutil -lga -larmci -lpeigs
-lperfm -lcons -lbq -lnwcutil -llapack  -lblas -llapack  -lblas   -L/home/amniki
tin/MPICH2/lib -lfmpich2g -lmpi    -lwsock32
D:/MinGW/msys/1.0/home/amnikitin/nwchem-6.5/lib/LINUX/libtce.a(tce_energy.o): In
 function `tce_energy_':
D:\MinGW\msys\1.0\home\amnikitin\nwchem-6.5\src\tce/tce_energy.F:5916: undefined
 reference to `eomccsdtq_x1_'
D:\MinGW\msys\1.0\home\amnikitin\nwchem-6.5\src\tce/tce_energy.F:5935: undefined
 reference to `eomccsdtq_x2_'
D:\MinGW\msys\1.0\home\amnikitin\nwchem-6.5\src\tce/tce_energy.F:5955: undefined
 reference to `eomccsdtq_x3_'
D:\MinGW\msys\1.0\home\amnikitin\nwchem-6.5\src\tce/tce_energy.F:5975: undefined
 reference to `eomccsdtq_x4_'
D:\MinGW\msys\1.0\home\amnikitin\nwchem-6.5\src\tce/tce_energy.F:6152: undefined
 reference to `ccsdtq_lr_alpha_'
D:\MinGW\msys\1.0\home\amnikitin\nwchem-6.5\src\tce/tce_energy.F:6176: undefined
 reference to `ccsdtq_lr_alpha_'
D:\MinGW\msys\1.0\home\amnikitin\nwchem-6.5\src\tce/tce_energy.F:10247: undefine
d reference to `eomccsdtq_x1_'
D:\MinGW\msys\1.0\home\amnikitin\nwchem-6.5\src\tce/tce_energy.F:10267: undefine
d reference to `eomccsdtq_x2_'
D:\MinGW\msys\1.0\home\amnikitin\nwchem-6.5\src\tce/tce_energy.F:10287: undefine
d reference to `eomccsdtq_x3_'
D:\MinGW\msys\1.0\home\amnikitin\nwchem-6.5\src\tce/tce_energy.F:10307: undefine
d reference to `eomccsdtq_x4_'
collect2.exe: error: ld returned 1 exit status
make: *** [all] Error 1