[mvapich-discuss] Questions about compiling MVAPICH2
Bas van der Vlies
basv at sara.nl
Thu Jan 25 10:08:07 EST 2007
Hello,
I am trying to compile the 0.9.8 version of MVAPICH2. The previous
version we could compile without any problems.
Our operating system is: Debian Sarge
Here are the questions:
- libumad is required now ( I could not found a deb package for it).
I have download the openib 1.1 source and build the libumad and
libcommon from source is this the right version or must we use another one?
- the package did not compile see error below. We comment the mem*
functions and everything compiled smoothly:
+568
#if __STD_C
/* HvB en HvW
void* memset(void*, int, size_t);
void* memcpy(void*, const void*, size_t);
*/
ib-r1n1.irc.sara.nl:/scratch/MVAPICH/gnu/mvapich2-0.9.8/src/mpid/osu_ch3/channels/mrail/src/gen2/ptmalloc2
root# make
cc -c -g -O -DUSE_TSD_DATA_HACK -D_REENTRANT -Isysdeps/generic
-DTHREAD_STATS=1 malloc.c
malloc.c:568: error: syntax error before "__extension__"
malloc.c:568: error: syntax error before "__uint8_t"
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before '}' token
malloc.c:568: warning: initialization makes pointer from integer without
a cast
malloc.c:568: error: initializer element is not constant
malloc.c:568: error: syntax error before ';' token
malloc.c:568: error: conflicting types for `__u'
malloc.c:568: error: previous declaration of `__u'
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before "case"
malloc.c:568: warning: initialization makes integer from pointer without
a cast
malloc.c:568: error: initializer element is not constant
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before "case"
malloc.c:568: error: redefinition of `__u'
malloc.c:568: error: `__u' previously defined here
malloc.c:568: warning: initialization makes integer from pointer without
a cast
malloc.c:568: error: initializer element is not constant
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before "case"
malloc.c:568: error: redefinition of `__u'
malloc.c:568: error: `__u' previously defined here
malloc.c:568: warning: initialization makes integer from pointer without
a cast
malloc.c:568: error: initializer element is not constant
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before '->' token
malloc.c:568: error: redefinition of `__u'
malloc.c:568: error: `__u' previously defined here
malloc.c:568: warning: initialization makes integer from pointer without
a cast
malloc.c:568: error: initializer element is not constant
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before "case"
malloc.c:568: error: redefinition of `__u'
malloc.c:568: error: `__u' previously defined here
malloc.c:568: warning: initialization makes integer from pointer without
a cast
malloc.c:568: error: initializer element is not constant
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before "case"
malloc.c:568: error: redefinition of `__u'
malloc.c:568: error: `__u' previously defined here
malloc.c:568: warning: initialization makes integer from pointer without
a cast
malloc.c:568: error: initializer element is not constant
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before "case"
malloc.c:568: error: redefinition of `__u'
malloc.c:568: error: `__u' previously defined here
malloc.c:568: warning: initialization makes integer from pointer without
a cast
malloc.c:568: error: initializer element is not constant
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before "case"
malloc.c:568: error: redefinition of `__u'
malloc.c:568: error: `__u' previously defined here
malloc.c:568: warning: initialization makes integer from pointer without
a cast
malloc.c:568: error: initializer element is not constant
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before "case"
malloc.c:568: error: redefinition of `__u'
malloc.c:568: error: `__u' previously defined here
malloc.c:568: warning: initialization makes integer from pointer without
a cast
malloc.c:568: error: initializer element is not constant
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before "case"
malloc.c:568: error: redefinition of `__u'
malloc.c:568: error: `__u' previously defined here
malloc.c:568: warning: initialization makes integer from pointer without
a cast
malloc.c:568: error: initializer element is not constant
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before "case"
malloc.c:568: error: redefinition of `__u'
malloc.c:568: error: `__u' previously defined here
malloc.c:568: warning: initialization makes integer from pointer without
a cast
malloc.c:568: error: initializer element is not constant
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before "case"
malloc.c:568: error: redefinition of `__u'
malloc.c:568: error: `__u' previously defined here
malloc.c:568: warning: initialization makes integer from pointer without
a cast
malloc.c:568: error: initializer element is not constant
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before "case"
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before '}' token
malloc.c:568: error: syntax error before '\x0'
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: warning: data definition has no type or storage class
malloc.c:568: error: syntax error before '}' token
make: *** [malloc.o] Error 1
--
********************************************************************
* *
* Bas van der Vlies e-mail: basv at sara.nl *
* SARA - Academic Computing Services phone: +31 20 592 8012 *
* Kruislaan 415 fax: +31 20 6683167 *
* 1098 SJ Amsterdam *
* *
********************************************************************
More information about the mvapich-discuss
mailing list