Errors compiling NAMD 2.5

From: Koo Kee Kiat (
Date: Mon Apr 04 2005 - 01:46:34 CDT


I am trying to compile NAMD 2.5 on RHEL AS 3.0 x86_64 (gcc3.2.3) and i got the following error message when executing the make command: -

g++ -DSOCKLEN_T=socklen_t -DNO_STRSTREAM_H -I/root/charm/charm-5.8 /net-linux-opteron/include -DCMK_OPTIMIZE=1 -Isrc -Iinc -DNAMD_VERSION=\"2.5\" -DNAMD_PLATFORM=\"Linux-amd64\" -O3 -march=athlon -m64 -fexpensive-optimizations -ffast-math -o obj/common.o -c src/common.C
g++: cannot specify -o with -c or -S and multiple compilations
make: *** [obj/common.o] Error 1

Any help is appreciated. Thanks to all in advance.

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