Re: Errors compiling NAMD 2.5

From: Gengbin Zheng (gzheng_at_ks.uiuc.edu)
Date: Mon Apr 04 2005 - 03:13:33 CDT

Koo Kee Kiat wrote:

>Hi,
>
>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.
>
>

Could it be that blank in

-I/root/charm/charm-5.8 /net-linux-opteron/include
                       ^

or is it just some blank got pasted?

Gengbin

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:39:17 CST