Compiling charm on a opteron cluster

From: Gianluca Interlandi (gianluca_at_bioc.unizh.ch)
Date: Fri Dec 03 2004 - 15:11:18 CST

Dear all,

In the previous mail the command line wasn't completely correct, sorry!

I'm compliling the charm libraries on a opteron cluster with SuSE9.2:

The command line

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

gives after a while the error :

In file included from memory.c:100:
memory-gnu.c:1763: error: parse error before '{' token
memory-gnu.c:1774: error: redefinition of `__malloc_initialized'
memory-gnu.c:1631: error: `__malloc_initialized' previously defined here
memory-gnu.c:1774: warning: data definition has no type or storage class
memory-gnu.c:1794: error: parse error before '&' token
memory-gnu.c:1795: error: parse error before '&' token
memory-gnu.c:1797: error: parse error before '=' token
memory-gnu.c:1871: error: redefinition of `__malloc_initialized'
memory-gnu.c:1774: error: `__malloc_initialized' previously defined here
memory-gnu.c:1871: warning: data definition has no type or storage class
memory-gnu.c:1872: error: parse error before '}' token
Fatal Error by charmc in directory
/home/bioc/gianluca/NAMD/NAMD_2.5_Source_gb/charm/net-linux-opteron-pgcc/tmp
Command gcc -m64 -fPIC -DHAVE_USR_INCLUDE_MALLOC_H=1 -D__CHARMC__=1
-DCMK_OPTIMIZE=1 -DCMK_MEMORY_BUILD_DEFAULT -O -I../bin/../include -c
memory.c -o memory.o returned error code 1

The version of the gcc compiler is 3.3.4

Is there a bug in memory-gnu.c or is the compiler guilty?

I would be very glad to get a hand.

Many thanks,

          Gianluca

-----------------------------------------------------
Gianluca Interlandi gianluca_at_bioc.unizh.ch
                    +41 (0) 1 635 55 93
                    +41 (0)79 655 73 35
                    http://biocroma.unizh.ch/gianluca/

PhD-Student of the Department of Biochemistry
at the University of Zurich Irchel, Switzerland
-----------------------------------------------------

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