[Dock-fans] dock 6.2 error message

snoze pa snoze.pa at gmail.com
Wed Jul 16 12:37:20 PDT 2008


Fixed the problem after adding  these headers
#include <limits.h>
#include <cstring>

in following files.

amber_typer.cpp
conf_gen.cpp
dockmol.cpp
library_file.cpp
orient.cpp
score.cpp
simplex.cpp
..
..
etc




On Wed, Jul 16, 2008 at 1:51 PM, snoze pa <snoze.pa at gmail.com> wrote:
> Dear Dockers,
>  I am trying to compile the dock6.2 but getting following error
> messages in fedora 9. Both stand alone and parallel version are
> showing following error messages.
> Any Idea or help? Thanks for your help.
> s
>
>
> Starting installation of
> DOCK v6.2
> at Wed Jul 16 13:49:10 CDT 2008.
>
> cd ../src && make install
> make[1]: Entering directory `/home/guest/PROG/dock6/src'
> cd dock && make install
> make[2]: Entering directory `/home/guest/PROG/dock6/src/dock'
> g++ -c  -DBUILD_DOCK_WITH_MPI -DMPICH_IGNORE_CXX_SEEK
> -DMPICH_SKIP_MPICXX -I/usr/local/mpich2//include -O2 -o amber_typer.o
> amber_typer.cpp
> amber_typer.cpp: In function 'char* white_line(char*)':
> amber_typer.cpp:16: error: 'strlen' was not declared in this scope
> amber_typer.cpp: In function 'int assign_node(ATOM_TYPE_NODE&, int)':
> amber_typer.cpp:67: error: 'strtok' was not declared in this scope
> amber_typer.cpp:67: error: 'strcpy' was not declared in this scope
> amber_typer.cpp:88: error: 'strncmp' was not declared in this scope
> amber_typer.cpp: In function 'int check_type(const char*, const char*)':
> amber_typer.cpp:126: error: 'strstr' was not declared in this scope
> amber_typer.cpp: In constructor 'ATOM_TYPE::ATOM_TYPE()':
> amber_typer.cpp:252: error: 'INT_MIN' was not declared in this scope
> amber_typer.cpp: In member function 'void
> ATOM_TYPER::get_vdw_labels(std::string, bool)':
> amber_typer.cpp:286: error: 'strncmp' was not declared in this scope
> amber_typer.cpp:347: error: 'strtok' was not declared in this scope
> amber_typer.cpp:383: error: 'INT_MIN' was not declared in this scope
> amber_typer.cpp:388: error: 'INT_MIN' was not declared in this scope
> amber_typer.cpp: In member function 'int
> ATOM_TYPER::assign_vdw_labels(DOCKMol&, int)':
> amber_typer.cpp:476: error: 'strcmp' was not declared in this scope
> amber_typer.cpp: In member function 'void
> BOND_TYPER::get_flex_labels(std::string)':
> amber_typer.cpp:532: error: 'strncmp' was not declared in this scope
> amber_typer.cpp:545: error: 'strlen' was not declared in this scope
> amber_typer.cpp:562: error: 'strtok' was not declared in this scope
> amber_typer.cpp: In member function 'void
> BOND_TYPER::get_flex_search(std::string)':
> amber_typer.cpp:599: error: 'strtok' was not declared in this scope
> amber_typer.cpp:601: error: 'strcmp' was not declared in this scope
> amber_typer.cpp: In member function 'void
> CHEM_TYPER::get_chem_labels(std::string)':
> amber_typer.cpp:754: error: 'strncmp' was not declared in this scope
> amber_typer.cpp:763: error: 'strtok' was not declared in this scope
> make[2]: *** [amber_typer.o] Error 1
>


More information about the Dock-fans mailing list