Hi,
There is a #if statement in system/simdisst12.C. If you are using simics
3.0.30 you have to change the 0 to 1. There is a note regarding this in the
source file.
Berkin
-----Original Message-----
From: gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-bounces@xxxxxxxxxxx]
On Behalf Of Guang Hai
Sent: 2008-02-01 13:11
To: gems-users@xxxxxxxxxxx
Subject: [Gems-users] opal compile error
Hi All,
When I try to compile opal, I meet the following errors:
I use simics 3.0.30, gcc 3.4.1.
Can some one help me out?
Thanks
system/simdist12.C:548: error: declaration of C function `void*
mm_malloc(size_t, size_t, const char*, const char*, int, int)'
conflicts with
/opt/virtutech/simics-3.0.30/src/include/simics/util/alloc.h:61:
error: previous declaration `void* mm_malloc(size_t, size_t, const
char*, const char*, int)' here
system/simdist12.C: In function `void* mm_zalloc(size_t, size_t, const
char*, const char*, int, int)':
system/simdist12.C:554: error: declaration of C function `void*
mm_zalloc(size_t, size_t, const char*, const char*, int, int)'
conflicts with
/opt/virtutech/simics-3.0.30/src/include/simics/util/alloc.h:65:
error: previous declaration `void* mm_zalloc(size_t, size_t, const
char*, const char*, int)' here
system/simdist12.C: In function `char* mm_strdup(const char*, const
char*, int, int)':
system/simdist12.C:559: error: declaration of C function `char*
mm_strdup(const char*, const char*, int, int)' conflicts with
/opt/virtutech/simics-3.0.30/src/include/simics/util/alloc.h:75:
error: previous declaration `char* mm_strdup(const char*, const char*,
int)' here
system/simdist12.C: In function `void* mm_realloc(void*, size_t,
size_t, const char*, const char*, int, int)':
system/simdist12.C:572: error: declaration of C function `void*
mm_realloc(void*, size_t, size_t, const char*, const char*, int, int)'
conflicts with
/opt/virtutech/simics-3.0.30/src/include/simics/util/alloc.h:67:
error: previous declaration `void* mm_realloc(void*, size_t, size_t,
const char*, const char*, int)' here
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding
"site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
|