Hi Everybody,
During compiling Opal I am getting following compilation errors. Can
anyone plz tell me what is the problem? I am using Gems1.2 with Simics
2.2.19 (64 bit).
Thanks.
----------
Hemayet Hossain
----------------------------------------------------------------------------------------------------------------------------------------
usr/bin/g++ -o amd64-linux/obj/threadstat.o -c system/threadstat.C
-DTARGET_SPARC_V9 -DTARGET_ULTRA -DTARGET_VA_BITS=64 -DTARGET_PA_BITS=64
-DYY_NO_UNPUT -Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused
-m64 -march=opteron -fPIC -g -ggdb -g3 -O0 -w -DSIMICS_2_0 -DSIMICS
-DIS_OPAL -DVERIFY_SIMICS -DRETIRE_ZERO_TOLERANCE -DREDECODE_EACH
-Icommon -Ifetch -Isparc -Isystem -Imodule -Itrace -Itester
-I../common/ioutil -Igenerated -I../simics/amd64-linux/obj/include/
-I../simics/amd64-linux/obj/include/simics
-I../simics/amd64-linux/obj/include/simics-api-1
-I../simics/amd64-linux/config -Ibenchmark/tester
system/simdist12.C: In function `void* mm_malloc(size_t, size_t, const
char*, const char*, int, int)':
system/simdist12.C:189: error: declaration of C function `void*
mm_malloc(size_t, size_t, const char*, const char*, int, int)' conflicts
with
../simics/amd64-linux/obj/include/simics/alloc.h:46: 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:195: error: declaration of C function `void*
mm_zalloc(size_t, size_t, const char*, const char*, int, int)' conflicts
with
../simics/amd64-linux/obj/include/simics/alloc.h:50: 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:200: error: declaration of C function `char*
mm_strdup(const char*, const char*, int, int)' conflicts with
../simics/amd64-linux/obj/include/simics/alloc.h:60: 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:213: error: declaration of C function `void*
mm_realloc(void*, size_t, size_t, const char*, const char*, int, int)'
conflicts with
../simics/amd64-linux/obj/include/simics/alloc.h:52: error: previous
declaration `void* mm_realloc(void*, size_t, size_t, const char*, const
char*, int)' here
make[1]: *** [amd64-linux/obj/simdist12.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/vax2/u2/hossain/gems2/opal'
make: *** [module] Error 2
|