Subject: Autodock - compilation error

From: Guenther Peters <[email-masked]>
Date: Sat, 7 Sep 2002 17:04:18 +0200

Dear "autodock" users,

I try to install autodock 3.0.3 and encountered three error messages listed below.
One error occurred when compiling 'atmtobnd.c' and two errors occurred when 
running 'make' in 'autodock'.

I was wondering if anybody has encountered the same problem before and could
provide me with some hints how to proceed.

Thanks in advance for any help.

Guenther

COMPILATION ERROR:

1)
        cc -bnoquiet -o atmtobnd atmtobnd.c

ld: 0711-318 ERROR: Undefined symbols were found.
        The following symbols are in error:
 Symbol                    Inpndx  TY CL Source-File(Object-File) OR Import-File{Shared-object}
                              RLD: Address  Section  Rld-type Referencing Symbol
 ----------------------------------------------------------------------------------------------
 .hypot                    [98]    ER PR atmtobnd.c(atmtobnd.o)
                                   000002dc .text    R_RBR    [14]    .do_dist
                                   000002ec .text    R_RBR    [14]    .do_dist

2)
        c++  -DNDEBUG     -O3   -IPA -LNO:auto_dist=ON:gather_scatter=2     -c -DWRITEPDBQSTATE main.cc
main.cc:60: declaration of C function `int gethostname(char *, int)' conflicts with
/usr/include/unistd.h:579: previous declaration `int gethostname(char *, long unsigned int)' here

3)
        c++  -DNDEBUG     -O3   -IPA -LNO:auto_dist=ON:gather_scatter=2     -c support.cc
In file included from support.cc:19:
support.h:53: syntax error before `&'
support.h:84: syntax error before `&'
support.h:113: syntax error before `&'
support.h:143: syntax error before `&'
support.h:242: definition of implicitly-declared `Individual::operator =(const Individual &)'
support.cc:281: definition of implicitly-declared `Genotype::operator =(const Genotype &)'
support.cc:437: definition of implicitly-declared `Phenotype::operator =(const Phenotype &)'
support.cc: In method `struct Molecule * Individual::getMol()':
support.cc:626: warning: address of local variable `returnedMol' returned
support.cc: At top level:
support.cc:648: definition of implicitly-declared `Population::operator =(const Population &)'
make: 1254-004 The error code from the last command is 1.