build NAMD

From: bioinfo Gu (bioinfowistar_at_yahoo.com)
Date: Mon Sep 08 2003 - 09:54:12 CDT

Hello,
 
I am try to build NAMD from source code.
 
Source version: NAMD_2.5b1_Source
charm-5.4
arch : Linux-ia64
 
when I compile, it gives me some error:
 
 ecpc -D_IA64 -I/usr/local/gnu/include -DSOCKLEN_T=socklen_t -I/usr/compbio/NAMD_2.5b1_Source/charm-5.4/include -Isrc -Iinc -I/usr/compbio/tcl8.3/include -I/root/tcl-linux/include -DNAMD_TCL -I/usr/compbio/fftw-3.0.1/include -I/root/fftw-linux/include -DNAMD_FFTW -O2 -DCMK_OPTIMIZE -DNAMD_VERSION=\"2.5b1\" -DNAMD_PLATFORM=\"Linux-ia64\" -o obj/ComputeHomePatches.o -c src/ComputeHomePatches.C
/usr/compbio/NAMD_2.5b1_Source/charm-5.4/include/charm++.h(70): warning #873: function "Chare::operator new(size_t={_Sizet={unsigned long}}, void *)" has no corresponding operator delete (to be called if an exception is thrown during initialization of an allocated object)
      void *operator new(size_t, void *ptr) { return ptr; };
            ^
src/UniqueSortedArray.h(59): error: no suitable conversion function from "const PatchElem" to "const void *" exists
    this->found = bsearch(elem);
                          ^
          detected during:
            instantiation of "int UniqueSortedArray<Elem>::insert(const Elem &) [with Elem=PatchElem]" at line 50
            instantiation of "int UniqueSortedArray<Elem>::add(const Elem &) [with Elem=PatchElem]"
src/UniqueSortedArray.h(59): error #165: too few arguments in function call
    this->found = bsearch(elem);
                              ^
          detected during:
            instantiation of "int UniqueSortedArray<Elem>::insert(const Elem &) [with Elem=PatchElem]" at line 50
            instantiation of "int UniqueSortedArray<Elem>::add(const Elem &) [with Elem=PatchElem]"
src/UniqueSortedArray.h(59): warning #556: a value of type "void *" cannot be assigned to an entity of type "int"
    this->found = bsearch(elem);
                ^
          detected during:
            instantiation of "int UniqueSortedArray<Elem>::insert(const Elem &) [with Elem=PatchElem]" at line 50
            instantiation of "int UniqueSortedArray<Elem>::add(const Elem &) [with Elem=PatchElem]"
compilation aborted for src/ComputeHomePatches.C (code 2)
make: *** [obj/ComputeHomePatches.o] Error 2

 
Thanks a lot,
 
Grace

---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:37:02 CST