compiling namd on amd opteron arch : TCL problems (fwd)

From: Jerry Ebalunode (jebalunode_at_adrik.bchs.uh.edu)
Date: Fri Apr 23 2004 - 17:07:40 CDT

---------- Forwarded message ----------
Date: Thu, 22 Apr 2004 09:30:25 -0400
From: Jerry Ebalunode <jebalunode_at_adrik.bchs.uh.edu>
To: namd-l_at_ks.uiuc.edu
Subject: compiling namd on amd opteron arch : TCL problems

compiler versions tried gcc3.23 , gcc3.31
charm++ versions tried charm latest tar.gz and charm-5.8
TCL version tcl8.4.4
fftw version 2.1.5
namd version bleeding edge and 2.5
Hi all,
I tried compiling namd on an opteron machine with fftw and tcl enabled but
had servral errors in compiling the src/GlobalMasterTcl.C file. Below is
the error reported. The build was successful after disabled tcl in the
configuration. However I would like to build with tcl enabled. I am
currently downloading the 8.3 version of tcl and intend to build with 8.3
to see if this helps. I would appreciate any assistance or suggestions on
this matter. Thanks.

[jebalunode_at_medusa Linux-amd64-MPI-g++]$ make
/opt/mvapich/bin/mpiCC -DSOCKLEN_T=socklen_t -DNO_STRSTREAM_H
-I/home/jebalunode/src/charm/mpi-linux-opteron-vmi/include
-DCMK_OPTIMIZE=1 -Isrc -Iinc -I/home/jebalunode/tcl/include
-I/home/jebalunode/tcl/include -DNAMD_TCL -I/home/jebalunode/fftw/include
-I/home/jebalunode/fftw/include -DNAMD_FFTW -DNAMD_VERSION=\"2.5\"
-DNAMD_PLATFORM=\"Linux-amd64-MPI\" -O2 -o obj/GlobalMasterTcl.o -c
src/GlobalMasterTcl.C
src/GlobalMasterTcl.C: In static member function `static int
   GlobalMasterTcl::Tcl_addgroup(void*, Tcl_Interp*, int, char**)':
src/GlobalMasterTcl.C:115: invalid conversion from `char***' to `const
char***'
src/GlobalMasterTcl.C: In member function `void
GlobalMasterTcl::initialize()':
src/GlobalMasterTcl.C:456: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C:458: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C:460: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C:462: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C:464: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C:466: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C:468: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C:470: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C:472: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C:477: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C:479: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C:494: invalid conversion from `const char*' to
`char*'
src/GlobalMasterTcl.C:499: invalid conversion from `const char*' to
`char*'
src/GlobalMasterTcl.C:519: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C:521: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C:523: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C:525: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C:527: invalid conversion from `int (*)(void*,
Tcl_Interp*,
   int, char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
src/GlobalMasterTcl.C: In member function `virtual void
   GlobalMasterTcl::calculate()':
src/GlobalMasterTcl.C:550: invalid conversion from `const char*' to
`char*'
src/GlobalMasterTcl.C:553: invalid conversion from `const char*' to
`char*'
make: *** [obj/GlobalMasterTcl.o] Error 1

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:38:36 CST