Error: Compile charm-5.9 on Fedora core 6?

From: Qiang Zhong (zqiang320_at_webmail.hzau.edu.cn)
Date: Fri Jun 15 2007 - 22:13:19 CDT

Hi:
I am tring to compile source code of NAMD, My OS is Fedora core 6,
processor is inter p4. when I execute below command:

./build charm++ net-linux --no-shared -O -DCMK_OPTIMIZE=1

I got error message bellow:

traceCore.h:20: error: previous declaration of 'int Cpv__traceCoreOn_
[2]' with 'C++' linkage
traceCoreAPI.h:8: error: conflicts with new declaration with 'C' linkage
Fatal Error by charmc in directory
/home/internet/Soft/NAMD/NAMD_2.6_Source/charm-5.9/net-linux/tmp
   Command g++ -I../bin/../include -D__CHARMC__=1 -DCMK_OPTIMIZE=1 -I. -O -c
traceCore.C -o traceCore.o returned error code 1
charmc exiting...

I don't know what happen ? could somebody tell how to do ?
I search same question on NAMD mail list, got similar one:
http://www.ks.uiuc.edu/Research/namd/mailing_list/namd-l/5817.html

Thank you !

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:44:51 CST