Subject: AutoDock compiling

From: Juraina Jamil <[email-masked]>
Date: Sun, 29 Sep 2002 21:09:18 -0700 (PDT)

Hello,

I've been having some problems recompiling autodock
after making some value changes in a couple of its
files required for compilation. For everyone's
information, I'm recompiling it on Redhat 6.2.

At first, I only changed the MAX_TORS value in
constants.h file and managed to recompile autodock
despite some warnings. But I could not run autodock,
it asked me to change the LINE_LEN value since I
changed the MAX_TORS.  And so I increased the LINE_LEN
value and tried recompiling again but it gave me these
errors:

> 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: 'gcc  -O3    -DNOSQRT -L. -lad -lm  >>
> LATEST_MAKE
> gcc  -O3    -DNOSQRT -o autodock3 main.o -L. -lad
-lm 
> ./libad.a(readPDBQ.o): In function `readPDBQ(char *,
> char *, int, int *, float (*)[2], float *, char *,
int
> *, char (*)[4], char *, char (*)[127], int, char *,
> int *, int *, float *, float *, int *, int *, int
> (*)[2047], float (*)[2], int *, int *, int (*)[1],
> long, tms, char *, int *)':
> readPDBQ.o(.text+0x6f1): undefined reference to
> `mkTorTree(int *, char (*)[199], int, int (*)[2047],
> int *, char *, char (*)[4], char *, int *, int *,
> float *, float *, int *)'
> readPDBQ.o(.text+0x743): undefined reference to
> `nonbonds(float (*)[2], int (*)[2047], int, int *,
> int, char (*)[199], int *, int, int *)'
> collect2: ld returned 1 exit status
> make: *** [autodock3] Error 1

Not being a computer person, I've no ides what the
above means. Can anyone help me out, pls. 

Frustrated and desperate,
    Juraina

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com