I use gems and simics-3.0.30.
When I build opal, the error happens and it said that the conflicts
were found. But I can build ruby successful.
Follow is the error output when building opal.
system/simdist12.C: In function `void* mm_malloc(size_t, size_t, const
char*, const char*, int, int)':
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(constchar*, 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
|