Re: [Gems-users] opal compile error


Date: Fri, 1 Feb 2008 14:18:04 -0600 (CST)
From: Luke Yen <lyen@xxxxxxxxxxx>
Subject: Re: [Gems-users] opal compile error

  Per previous postings, change the #if 0 to #if 1 in simdist.C.

  Luke

On Fri, 1 Feb 2008, Guang Hai wrote:

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.

[← Prev in Thread] Current Thread [Next in Thread→]