Hi,

I am getting the following error when I try to build the code.

build-bootloader:
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/sys.C: In function ‘uint32_t sysGetThreadId()’:
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/sys.C:1140:30: error: cast from ‘void*’ to ‘uint32_t {aka unsigned int}’ loses precision [-fpermissive]
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/sys.C: In function ‘uint32_t sysMonitorCreate()’:
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/sys.C:1260:18: error: cast from ‘vmmonitor_t*’ to ‘uint32_t {aka unsigned int}’ loses precision [-fpermissive]
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/sys.C: In function ‘void* sysMalloc(int)’:
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/sys.C:1567:36: error: cast from ‘void*’ to ‘uint32_t {aka unsigned int}’ loses precision [-fpermissive]
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/sys.C: In function ‘void* sysMMapErrno(char*, size_t, int, int, int, int32_t)’:
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/sys.C:1792:18: error: cast from ‘char*’ to ‘uint32_t {aka unsigned int}’ loses precision [-fpermissive]
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/sys.C: In function ‘void findMappable()’:
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/sys.C:1842:36: error: cast from ‘char*’ to ‘uint32_t {aka unsigned int}’ loses precision [-fpermissive]
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/ia32/libvm.c: In function ‘int createVM()’:
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/ia32/libvm.c:1000:53: error: cast from ‘void*’ to ‘uint32_t {aka unsigned int}’ loses precision [-fpermissive]
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/ia32/libvm.c:1006:53: error: cast from ‘void*’ to ‘uint32_t {aka unsigned int}’ loses precision [-fpermissive]
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/ia32/libvm.c:1012:53: error: cast from ‘void*’ to ‘uint32_t {aka unsigned int}’ loses precision [-fpermissive]
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/ia32/libvm.c:1047:50: error: cast from ‘void*’ to ‘uint32_t {aka unsigned int}’ loses precision [-fpermissive]
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/ia32/libvm.c:1048:50: error: cast from ‘void*’ to ‘uint32_t {aka unsigned int}’ loses precision [-fpermissive]
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/ia32/libvm.c:1049:50: error: cast from ‘void*’ to ‘uint32_t {aka unsigned int}’ loses precision [-fpermissive]
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/ia32/libvm.c:1050:50: error: cast from ‘void*’ to ‘uint32_t {aka unsigned int}’ loses precision [-fpermissive]
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/ia32/libvm.c:1051:50: error: cast from ‘void*’ to ‘uint32_t {aka unsigned int}’ loses precision [-fpermissive]
     [exec] /host/sem1/study/adv_comp/project/jikesrvm-3.1.2/tools/bootImageRunner/ia32/libvm.c:1052:50: error: cast from ‘void*’ to ‘uint32_t {aka unsigned int}’ loses precision [-fpermissive]

BUILD FAILED
/host/sem1/study/adv_comp/project/jikesrvm-3.1.2/build.xml:1753: The following error occurred while executing this line:
/host/sem1/study/adv_comp/project/jikesrvm-3.1.2/build.xml:1758: exec returned: 1

Please help me in overcoming this.

Regards,
Poornima