ADL: Problem Compiling AutoDock 3.0.5

Cecile Bussetta Cecile.Bussetta at afmb.cnrs-mrs.fr
Mon Sep 20 07:31:50 PDT 2004


Hi, autodock users

I'm trying to increase the number of atom maps from six to eight by 
modifying autocomm.h (changing define ATOM_MAPS from 6 to 8)
I am attempting to compile AutoDock 3.0.5 on red hat Linux system. All of the
source code compiled without any problems, except for autodock itself.
This generated a bunch of error messages:

ar r  libad.a call_gs.o cmdmode.o readmap.o readPDBQ.o eval.o getrms.o 
getInitialState.o initautodock.o openfile.o writeMolAsPDBQ.o writePDBQ.o 
writePDBQState.o prTorConList.o simanneal.o success.o summarizegrids.o
ranlib   libad.a
echo . '  on  '`date`', using '`hostname` >> LATEST_MAKE
echo 'Flags: 'g++  -DNDEBUG        -DNOSQRT -L. -lad -lm  >> LATEST_MAKE
g++  -DNDEBUG        -DNOSQRT -o autodock3 main.o -L. -lad -lm
main.o(.text+0x2325): In function `main':
: undefined reference to `intnbtable(char*, int*, int*, int, char*, float, 
float, int, int, float[8] (*) [8])'
main.o(.text+0x23e5): In function `main':
: undefined reference to `intnbtable(char*, int*, int*, int, char*, float, 
float, int, int, float[8] (*) [8])'
main.o(.text+0x43d3): In function `main':
: undefined reference to `nbe(char*, float[8] (*) [8], int)'
main.o(.text+0x6914): In function `main':
: undefined reference to `analysis(int, char (*) [128], float*, char, 
float*, float, float (*) [3], float[8] (*) [8], float, float[8][128] (*) 
[128], float*, int, float, float, float, int, int (*) [2], int, int, 
state*, char*, float*, char, int (*) [2048], int*, float (*) [3], char*, 
float, char, int, char, float*, float*, int)'
main.o(.text+0x6b78): In function `main':
: undefined reference to `investigate(int, float*, char, float*, float (*) 
[3], float (*) [3], float[8] (*) [8], float, float, float, float, int, 
float, float, float, float[8][128] (*) [128], int, int (*) [2], int, int, 
int (*) [2048], int*, float (*) [3], char, unsigned short (*) [256], char*, 
char, unsigned short*, float[2] (*) [8], int*, char, char*, int, int, 
float, float)'
./libad.a(cmdmode.o)(.text+0x86c): In function `cmdmode(int, long, tms, 
float, float, float, float, float, float, float, float[8][128] (*) [128], 
float[8] (*) [8], float, float (*) [3], int (*) [2048], int, int, int (*) 
[2], char (*) [128], float (*) [3], char*, int*, float*, char, float*, 
char*, float, int, float*)':
: undefined reference to `eintcalPrint(int (*) [2], float[8] (*) [8], float 
(*) [3], int*, int, char, float*)'
./libad.a(cmdmode.o)(.text+0xe5e): In function `cmdmode(int, long, tms, 
float, float, float, float, float, float, float, float[8][128] (*) [128], 
float[8] (*) [8], float, float (*) [3], int (*) [2048], int, int, int (*) 
[2], char (*) [128], float (*) [3], char*, int*, float*, char, float*, 
char*, float, int, float*)':
: undefined reference to `eintcalPrint(int (*) [2], float[8] (*) [8], float 
(*) [3], int*, int, char, float*)'
./libad.a(writePDBQState.o)(.text+0x2a8): In function 
`writeStateOfPDBQ(int, char*, char*, float*, state*, int, float*, float*, 
int, char (*) [128], float (*) [3], float*, float*, float*, int, float, 
float (*) [3], int (*) [2048], float (*) [3], int (*) [2], float[8] (*) 
[8], int*, int, char, float*, float[8][128] (*) [128], float, float, float, 
float, float, float, float, char, float*, float*, int)':
: undefined reference to `eintcal(int (*) [2], float[8] (*) [8], float (*) 
[3], int*, int, char, float*)'
./libad.a(simanneal.o)(.text+0xb80): In function `simanneal(int*, int, 
float, char (*) [128], float*, char, float*, float (*) [3], float (*) [3], 
char*, float[8] (*) [8], float*, char, float*, float*, float, float, float, 
int, float, int, long, float, float, float, float[8][128] (*) [128], int, 
int, int (*) [2], int, int, int, int, state, state*, float, char, float, 
char, char*, float*, float, char, float, tms, int (*) [2048], float, char, 
float, char*, int, int, int, float, char, float, int*, float (*) [3], char, 
char, int, int, float, float, char, float, char, char*, char, unsigned 
short (*) [256], char*, char, unsigned short*, float[2] (*) [8], int*, 
char, char, char, float, float, int, int)':
: undefined reference to `eintcal(int (*) [2], float[8] (*) [8], float (*) 
[3], int*, int, char, float*)'
./libad.a(simanneal.o)(.text+0x1dd7): In function `simanneal(int*, int, 
float, char (*) [128], float*, char, float*, float (*) [3], float (*) [3], 
char*, float[8] (*) [8], float*, char, float*, float*, float, float, float, 
int, float, int, long, float, float, float, float[8][128] (*) [128], int, 
int, int (*) [2], int, int, int, int, state, state*, float, char, float, 
char, char*, float*, float, char, float, tms, int (*) [2048], float, char, 
float, char*, int, int, int, float, char, float, int*, float (*) [3], char, 
char, int, int, float, float, char, float, char, char*, char, unsigned 
short (*) [256], char*, char, unsigned short*, float[2] (*) [8], int*, 
char, char, char, float, float, int, int)':
: undefined reference to `eintcal(int (*) [2], float[8] (*) [8], float (*) 
[3], int*, int, char, float*)'
./libad.a(eval.o)(.text+0x493): In function 
`Eval::operator()(Representation**)':
: undefined reference to `eintcal(int (*) [2], float[8] (*) [8], float (*) 
[3], int*, int, char, float*)'
./libad.a(eval.o)(.text+0x73c): In function 
`Eval::operator()(Representation**)':
: undefined reference to `eintcal(int (*) [2], float[8] (*) [8], float (*) 
[3], int*, int, char, float*)'
./libad.a(getInitialState.o)(.text+0x3a0): more undefined references to 
`eintcal(int (*) [2], float[8] (*) [8], float (*) [3], int*, int, char, 
float*)' follow
collect2: ld returned 1 exit status
make: *** [autodock3] Error 1

Comments and solutions will be most appreciated.

Thanks in advance.
Best regard,
Cecile.



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



More information about the autodock mailing list