[ewg] Problems building mvapich on ia64 on RedHat EL5.1

Woodruff, Robert J robert.j.woodruff at intel.com
Mon Dec 3 13:08:19 PST 2007


I get the following build error trying to build
mvapich on ia64 on RedHat EL5.1 using today's OFED daily build.

gcc -DHAVE_CONFIG_H -I.
-I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/ch_gen2
-I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/include
-I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/include
-I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/ch_gen2
-I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/util
-DMPID_DEVICE_CODE  -DHAVE_UNAME=1 -DHAVE_NETDB_H=1
-DHAVE_GETHOSTBYNAME=1  -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -fPIC -O3
-fno-strict-aliasing -g -D_GNU_SOURCE -DCH_GEN2 -DMEMORY_SCALE
-D_AFFINITY_ -DCOMPAT_MODE -Wall -D_SMP_ -D_SMP_RNDV_
-DVIADEV_RPUT_SUPPORT -DEARLY_SEND_COMPLETION -DLAZY_MEM_UNREGISTER
-D_IA64_ -I/usr/include -DHAVE_MPICHCONF_H -D_GNU_SOURCE
-I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639
-I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/ch_gen2 -I.    -c
viainit.c
viainit.c: In function 'viainit_setaffinity': 
viainit.c:140: warning: passing argument 3 of 'sched_setaffinity' from
incompatible pointer type
viainit.c: In function 'viainit_exchange':
viainit.c:752: warning: unused variable 'other_qp_list'
viainit.c: In function 'MPID_VIA_Init':
viainit.c:952: warning: implicit declaration of function 'init_apm_lock'
viainit.c:788: warning: unused variable 'smpi_ptr'
viainit.c:784: warning: unused variable 'j'
viainit.c:784: warning: unused variable 'i'
viainit.c: In function 'ib_qp_enable':
viainit.c:1379: warning: implicit declaration of function
'reload_alternate_path'
viainit.c: In function 'ib_rank_lid_table': 
viainit.c:1917: warning: pointer targets in assignment differ in
signedness
viainit.c: At top level: 
viainit.c:1907: warning: 'ib_rank_lid_table' defined but not used
gcc -DHAVE_CONFIG_H -I.
-I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/ch_gen2
-I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/include
-I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/include
-I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/ch_gen2
-I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/util
-DMPID_DEVICE_CODE  -DHAVE_UNAME=1 -DHAVE_NETDB_H=1
-DHAVE_GETHOSTBYNAME=1  -DMPID_DEBUG_NONE -DMPID_STAT_NONE  -fPIC -O3
-fno-strict-aliasing -g -D_GNU_SOURCE -DCH_GEN2 -DMEMORY_SCALE
-D_AFFINITY_ -DCOMPAT_MODE -Wall -D_SMP_ -D_SMP_RNDV_
-DVIADEV_RPUT_SUPPORT -DEARLY_SEND_COMPLETION -DLAZY_MEM_UNREGISTER
-D_IA64_ -I/usr/include -DHAVE_MPICHCONF_H -D_GNU_SOURCE
-I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639
-I/var/tmp/OFED_topdir/BUILD/mvapich-1.0.0-1639/mpid/ch_gen2 -I.    -c
viasend.c 
In file included from /usr/include/netdb.h:28,
                 from cm.h:25,
                 from viapriv.h:44,
                 from viasend.c:29:
/usr/include/netinet/in.h:355: error: expected ')' before '__netshort'
/usr/include/netinet/in.h:355: error: expected ')' before '>>' token
/usr/include/netinet/in.h:355: error: expected ')' before '&' token



More information about the ewg mailing list