[MPICH] MPICH Build Error
Yu Yang
yuyang08 at gmail.com
Fri Jan 20 07:00:37 CST 2006
Hello,
I am building MPICH2-1.03 with the following configuration:
configure --with-device=ch3:ssm --with-thread-package=posix
--enable-threads=multiple:global_mutex
Make gives out the following error report. Any suggetios?
In file included from ../../../../include/mpiimpl.h:83,
from sock.c:9:
../../../../include/mpiimplthread.h:10:6: error: ':' without preceding '?'
../../../../include/mpiimplthread.h:26:6: error: ':' without preceding '?'
../../../../include/mpiimplthread.h:48:6: error: ':' without preceding '?'
In file included from sock.c:9:
../../../../include/mpiimpl.h:1751:6: error: ':' without preceding '?'
../../../../include/mpiimpl.h:1900:6: error: ':' without preceding '?'
In file included from sock.c:9:
../../../../include/mpiimpl.h:1948: error: syntax error before
'MPID_Thread_mutex_t'../../../../include/mpiimpl.h:1948: warning: no
semicolon at end of struct or union
../../../../include/mpiimpl.h:1950: warning: data definition has no
type or storage class
../../../../include/mpiimpl.h:1951: error: syntax error before 'MPIR_Process'
../../../../include/mpiimpl.h:1951: warning: data definition has no
type or storage class
../../../../include/mpiimpl.h:1990:5: error: ':' without preceding '?'
../../../../include/mpiimpl.h:1997:5: error: ':' without preceding '?'
../../../../include/mpiimpl.h:2118:6: error: ':' without preceding '?'
../../../../include/mpiimpl.h:2208:6: error: ':' without preceding '?'
In file included from
/home/yuyang/software/mpich2/m01/src/mpid/ch3/include/mpidpost.h:578,
from ../../../../include/mpiimpl.h:3310,
from sock.c:9:
/home/yuyang/software/mpich2/m01/src/mpid/ch3/channels/ssm/include/mpidi_ch3_post.h:37:6:
error: ':' without preceding '?'
/home/yuyang/software/mpich2/m01/src/mpid/ch3/channels/ssm/include/mpidi_ch3_post.h:44:6:
error: ':' without preceding '?'
sock.c:136:7: error: ':' without preceding '?'
sock.c:205:7: error: ':' without preceding '?'
In file included from sock.c:242:
socki_util.i:9:6: error: ':' without preceding '?'
socki_util.i:56:6: error: ':' without preceding '?'
socki_util.i:323:6: error: ':' without preceding '?'
socki_util.i:549:11: error: ':' without preceding '?'
In file included from sock.c:242:
socki_util.i: In function 'MPIDU_Socki_sock_alloc':
socki_util.i:556: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'
socki_util.i:560: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'
socki_util.i:594:11: error: ':' without preceding '?'
socki_util.i:612:9: error: ':' without preceding '?'
socki_util.i:630:9: error: ':' without preceding '?'
socki_util.i:681:9: error: ':' without preceding '?'
socki_util.i:712:9: error: ':' without preceding '?'
In file included from sock.c:245:
sock_set.i:43:9: error: ':' without preceding '?'
sock_set.i:54:9: error: ':' without preceding '?'
sock_set.i:141:13: error: ':' without preceding '?'
sock_set.i:189:9: error: ':' without preceding '?'
In file included from sock.c:246:
sock_post.i: In function 'MPIDU_Sock_post_connect_ifaddr':
sock_post.i:190: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_post.i:190: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_post.i:190: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_post.i: In function 'MPIDU_Sock_listen':
sock_post.i:518: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_post.i:518: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_post.i:518: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_post.i: In function 'MPIDU_Sock_post_read':
sock_post.i:580: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_post.i:580: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_post.i:580: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_post.i: In function 'MPIDU_Sock_post_readv':
sock_post.i:629: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_post.i:629: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_post.i:629: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_post.i: In function 'MPIDU_Sock_post_write':
sock_post.i:679: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_post.i:679: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_post.i:679: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_post.i: In function 'MPIDU_Sock_post_writev':
sock_post.i:728: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_post.i:728: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_post.i:728: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_post.i: In function 'MPIDU_Sock_post_close':
sock_post.i:792: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_post.i:792: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_post.i:792: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_post.i:803: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_post.i:803: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_post.i:803: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
In file included from sock.c:247:
sock_immed.i: In function 'MPIDU_Sock_accept':
sock_immed.i:68: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_immed.i:68: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_immed.i:68: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_immed.i: In function 'MPIDU_Sock_read':
sock_immed.i:273: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_immed.i:273: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'
sock_immed.i:273: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_updated'
sock_immed.i:305: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_immed.i:305: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'
sock_immed.i:305: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_updated'
sock_immed.i: In function 'MPIDU_Sock_readv':
sock_immed.i:376: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_immed.i:376: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'
sock_immed.i:376: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_updated'
sock_immed.i:408: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_immed.i:408: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'
sock_immed.i:408: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_updated'
In file included from sock.c:247:
sock_immed.i:599:6: error: ':' without preceding '?'
In file included from sock.c:249:
sock_wait.i:81:11: error: ':' without preceding '?'
In file included from sock.c:249:
sock_wait.i: In function 'MPIDU_Sock_wait':
sock_wait.i:101: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_wait.i:107: error: request for member
'global_mutex' in something not a structure or union
sock_wait.i:126: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_wait.i:133: error: request for member
'global_mutex' in something not a structure or union
sock_wait.i:146: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_updated'
sock_wait.i:150: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_wait.i:162: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_wait.i:168: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_active'sock_wait.i:178: error: 'struct
MPIDU_Sock_set' has no member named 'pollfds_active'sock_wait.i:180:
error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_wait.i:183: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_wait.i:186: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_wait.i:187: error: 'struct MPIDU_Sock_set' has no
member named 'wakeup_posted'
sock_wait.i:317: error: syntax error before ':' token
sock_wait.i: In function 'MPIDU_Socki_handle_pollhup':
sock_wait.i:422: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_wait.i:422: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_wait.i:422: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_wait.i: In function 'MPIDU_Socki_handle_pollerr':
sock_wait.i:521: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_wait.i:521: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_wait.i:521: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_wait.i: In function 'MPIDU_Socki_handle_read':
sock_wait.i:614: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_wait.i:614: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_wait.i:614: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_wait.i:633: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_wait.i:633: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_wait.i:633: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_wait.i:666: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_wait.i:666: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_wait.i:666: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_wait.i:674: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_wait.i:674: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_wait.i:674: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_wait.i: In function 'MPIDU_Socki_handle_write':
sock_wait.i:732: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_wait.i:732: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_wait.i:732: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_wait.i:759: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_wait.i:759: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_wait.i:759: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
sock_wait.i: In function 'MPIDU_Socki_handle_connect':
sock_wait.i:814: error: 'struct pollinfo' has no member named 'pollfd_events'
sock_wait.i:814: error: 'struct MPIDU_Sock_set' has no member named
'pollfds_active'sock_wait.i:814: error: 'struct MPIDU_Sock_set' has no
member named 'pollfds_updated'
make[7]: *** [sock.o] Error 1
make[7]: Leaving directory
`/home/yuyang/software/mpich2/m01/src/mpid/common/sock/poll'
make[6]: *** [all-redirect] Error 1
make[6]: Leaving directory
`/home/yuyang/software/mpich2/m01/src/mpid/common/sock'
make[5]: *** [all-redirect] Error 2
make[5]: Leaving directory
`/home/yuyang/software/mpich2/m01/src/mpid/ch3/channels/ssm'
make[4]: *** [all-redirect] Error 1
make[4]: Leaving directory
`/home/yuyang/software/mpich2/m01/src/mpid/ch3/channels'
make[3]: *** [all-redirect] Error 2
make[3]: Leaving directory `/home/yuyang/software/mpich2/m01/src/mpid/ch3'
make[2]: *** [all-redirect] Error 1
make[2]: Leaving directory `/home/yuyang/software/mpich2/m01/src/mpid'
make[1]: *** [all-redirect] Error 2
make[1]: Leaving directory `/home/yuyang/software/mpich2/m01/src'
make: *** [all-redirect] Error 2
Thanks!
Yu
More information about the mpich-discuss
mailing list