Beginning make make all-local make[1]: Entering directory `/home/penggu/mpich2-1.0.3' if [ ! -d lib ] ; then mkdir lib ; \ else \ echo " src/mpid/ch3 src/mpid/common/sock src/mpi/romio src/pmi/simple src/pm/mpd src/mpe2 src/binding/f90" > lib/pkglist.new ; \ echo "gcc" >>lib/pkglist.new ;\ echo "--prefix=/nfs1/bin/mpich2-install --enable-romio --with-file-system=ufs+nfs+pvfs2" >>lib/pkglist.new ; \ if diff lib/pkglist lib/pkglist.new >/dev/null 2>&1 ; then \ rm -f lib/pkglist.new ; \ else \ make cleanobjsandlibs ; \ rm -f lib/pkglist ; \ mv -f lib/pkglist.new lib/pkglist ; \ fi ; \ fi make[1]: Leaving directory `/home/penggu/mpich2-1.0.3' make[1]: Entering directory `/home/penggu/mpich2-1.0.3/src' make[2]: Entering directory `/home/penggu/mpich2-1.0.3/src/mpid' make[3]: Entering directory `/home/penggu/mpich2-1.0.3/src/mpid/ch3' make[4]: Entering directory `/home/penggu/mpich2-1.0.3/src/mpid/ch3/channels' make[5]: Entering directory `/home/penggu/mpich2-1.0.3/src/mpid/ch3/channels/sock' make[6]: Entering directory `/home/penggu/mpich2-1.0.3/src/mpid/common/sock' make[7]: Entering directory `/home/penggu/mpich2-1.0.3/src/mpid/common/sock/poll' gcc -DHAVE_CONFIG_H -I. -I/home/penggu/mpich2-1.0.3/src/mpid/common/sock/poll -I../../../../include -I/home/penggu/mpich2-1.0.3/src/include -I/home/penggu/pvfs2/include -I/home/penggu/pvfs2/include -c sock.c sock.c:8:24: error: mpidu_sock.h: No such file or directory In file included from sock.c:9: ../../../../include/mpiimpl.h:91:21: error: mpidpre.h: No such file or directory In file included from sock.c:9: ../../../../include/mpiimpl.h:1188: error: expected specifier-qualifier-list before ‘MPID_VCRT’ ../../../../include/mpiimpl.h:1351: error: expected specifier-qualifier-list before ‘MPID_PROGRESS_STATE_DECL’ In file included from sock.c:9: ../../../../include/mpiimpl.h:3273: error: expected declaration specifiers or ‘...’ before ‘MPID_VCRT’ ../../../../include/mpiimpl.h:3277: error: expected ‘)’ before ‘vcrt’ ../../../../include/mpiimpl.h:3281: error: expected ‘)’ before ‘vcrt’ ../../../../include/mpiimpl.h:3285: error: expected ‘)’ before ‘vcrt’ ../../../../include/mpiimpl.h:3290: error: expected ‘)’ before ‘orig_vcr’ ../../../../include/mpiimpl.h:3302: error: expected ‘)’ before ‘vcr’ ../../../../include/mpiimpl.h:3310:22: error: mpidpost.h: No such file or directory sock.c:156: error: expected specifier-qualifier-list before ‘MPIDU_Sock_progress_update_func_t’ sock.c:179: error: field ‘event’ has incomplete type In file included from sock.c:242: socki_util.i:21: warning: ‘enum MPIDU_Sock_op’ declared inside parameter list socki_util.i:21: warning: its scope is only this definition or declaration, which is probably not what you want socki_util.i: In function ‘MPIDU_Socki_os_to_mpi_errno’: socki_util.i:377: error: ‘MPIDU_SOCK_ERR_NOMEM’ undeclared (first use in this function) socki_util.i:377: error: (Each undeclared identifier is reported only once socki_util.i:377: error: for each function it appears in.) socki_util.i:384: error: ‘MPIDU_SOCK_ERR_BAD_BUF’ undeclared (first use in this function) socki_util.i:391: error: ‘MPIDU_SOCK_ERR_CONN_CLOSED’ undeclared (first use in this function) socki_util.i:398: error: ‘MPIDU_SOCK_ERR_CONN_FAILED’ undeclared (first use in this function) socki_util.i:412: error: ‘MPIDU_SOCK_ERR_BAD_SOCK’ undeclared (first use in this function) socki_util.i: In function ‘MPIDU_Socki_sock_alloc’: socki_util.i:492: error: ‘MPIDU_SOCK_ERR_NOMEM’ undeclared (first use in this function) socki_util.i:521: error: invalid application of ‘sizeof’ to incomplete type ‘struct pollfd’ socki_util.i:551: error: invalid application of ‘sizeof’ to incomplete type ‘struct pollfd’ socki_util.i:581: error: invalid use of undefined type ‘struct pollfd’ socki_util.i:581: error: dereferencing pointer to incomplete type socki_util.i:582: error: invalid use of undefined type ‘struct pollfd’ socki_util.i:582: error: dereferencing pointer to incomplete type socki_util.i:583: error: invalid use of undefined type ‘struct pollfd’ socki_util.i:583: error: dereferencing pointer to incomplete type socki_util.i:626: error: invalid use of undefined type ‘struct pollfd’ socki_util.i:626: error: dereferencing pointer to incomplete type socki_util.i:627: error: invalid use of undefined type ‘struct pollfd’ socki_util.i:627: error: dereferencing pointer to incomplete type socki_util.i:628: error: invalid use of undefined type ‘struct pollfd’ socki_util.i:628: error: dereferencing pointer to incomplete type socki_util.i: In function ‘MPIDU_Socki_sock_free’: socki_util.i:674: error: invalid use of undefined type ‘struct pollfd’ socki_util.i:674: error: dereferencing pointer to incomplete type socki_util.i:718: error: dereferencing pointer to incomplete type socki_util.i:719: error: dereferencing pointer to incomplete type socki_util.i:720: error: dereferencing pointer to incomplete type socki_util.i: At top level: socki_util.i:739: error: expected declaration specifiers or ‘...’ before ‘MPIDU_Sock_op_t’ socki_util.i:741: error: conflicting types for ‘MPIDU_Socki_event_enqueue’ socki_util.i:21: error: previous declaration of ‘MPIDU_Socki_event_enqueue’ was here socki_util.i: In function ‘MPIDU_Socki_event_enqueue’: socki_util.i:785: error: ‘op’ undeclared (first use in this function) socki_util.i: In function ‘MPIDU_Socki_event_dequeue’: socki_util.i:830: error: dereferencing pointer to incomplete type socki_util.i:839: error: ‘MPIDU_SOCK_ERR_FAIL’ undeclared (first use in this function) In file included from sock.c:244: sock_init.i: In function ‘MPIDU_Sock_finalize’: sock_init.i:54: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) In file included from sock.c:245: sock_set.i: In function ‘MPIDU_Sock_create_set’: sock_set.i:20: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) sock_set.i:29: error: ‘MPIDU_SOCK_ERR_NOMEM’ undeclared (first use in this function) sock_set.i: In function ‘MPIDU_Sock_destroy_set’: sock_set.i:170: error: storage size of ‘event’ isn’t known sock_set.i:176: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) In file included from sock.c:246: sock_post.i: In function ‘MPIDU_Sock_post_connect_ifaddr’: sock_post.i:49: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) sock_post.i:56: error: ‘MPIDU_SOCK_ERR_FAIL’ undeclared (first use in this function) sock_post.i:95: error: ‘MPIDU_SOCK_ERR_NOMEM’ undeclared (first use in this function) sock_post.i:99: error: invalid use of undefined type ‘struct pollfd’ sock_post.i:99: error: dereferencing pointer to incomplete type sock_post.i:183: error: ‘MPIDU_SOCK_OP_CONNECT’ undeclared (first use in this function) sock_post.i:183: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_post.i:183: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_post.i:190: error: dereferencing pointer to incomplete type sock_post.i:190: error: ‘POLLOUT’ undeclared (first use in this function) sock_post.i:190: error: dereferencing pointer to incomplete type sock_post.i:199: error: ‘MPIDU_SOCK_ERR_CONN_FAILED’ undeclared (first use in this function) sock_post.i:199: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_post.i:199: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_post.i:206: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_post.i:206: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_post.i: In function ‘MPIDU_Sock_listen’: sock_post.i:301: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) sock_post.i:305: error: ‘MPIDU_SOCK_ERR_BAD_PORT’ undeclared (first use in this function) sock_post.i:318: error: ‘MPIDU_SOCK_ERR_FAIL’ undeclared (first use in this function) sock_post.i:504: error: ‘MPIDU_SOCK_ERR_NOMEM’ undeclared (first use in this function) sock_post.i:510: error: invalid use of undefined type ‘struct pollfd’ sock_post.i:510: error: dereferencing pointer to incomplete type sock_post.i:518: error: dereferencing pointer to incomplete type sock_post.i:518: error: ‘POLLIN’ undeclared (first use in this function) sock_post.i:518: error: dereferencing pointer to incomplete type sock_post.i: At top level: sock_post.i:544: error: expected declaration specifiers or ‘...’ before ‘MPIDU_Sock_progress_update_func_t’ sock_post.i: In function ‘MPIDU_Sock_post_read’: sock_post.i:553: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) sock_post.i:554: error: ‘MPIDU_SOCK_ERR_BAD_SOCK’ undeclared (first use in this function) sock_post.i:556: error: invalid use of undefined type ‘struct pollfd’ sock_post.i:556: error: dereferencing pointer to incomplete type sock_post.i:560: error: ‘MPIDU_SOCK_ERR_CONN_CLOSED’ undeclared (first use in this function) sock_post.i:560: error: ‘MPIDU_SOCK_ERR_CONN_FAILED’ undeclared (first use in this function) sock_post.i:560: error: ‘MPIDU_SOCK_ERR_INPROGRESS’ undeclared (first use in this function) sock_post.i:561: error: dereferencing pointer to incomplete type sock_post.i:561: error: ‘POLLIN’ undeclared (first use in this function) sock_post.i:566: error: ‘MPIDU_SOCK_ERR_BAD_LEN’ undeclared (first use in this function) sock_post.i:578: error: ‘struct pollinfo’ has no member named ‘read_progress_update_fn’ sock_post.i:578: error: ‘fn’ undeclared (first use in this function) sock_post.i:580: error: dereferencing pointer to incomplete type sock_post.i:580: error: dereferencing pointer to incomplete type sock_post.i: At top level: sock_post.i:593: error: expected declaration specifiers or ‘...’ before ‘MPIDU_Sock_progress_update_func_t’ sock_post.i: In function ‘MPIDU_Sock_post_readv’: sock_post.i:602: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) sock_post.i:603: error: ‘MPIDU_SOCK_ERR_BAD_SOCK’ undeclared (first use in this function) sock_post.i:605: error: invalid use of undefined type ‘struct pollfd’ sock_post.i:605: error: dereferencing pointer to incomplete type sock_post.i:609: error: ‘MPIDU_SOCK_ERR_CONN_CLOSED’ undeclared (first use in this function) sock_post.i:609: error: ‘MPIDU_SOCK_ERR_CONN_FAILED’ undeclared (first use in this function) sock_post.i:609: error: ‘MPIDU_SOCK_ERR_INPROGRESS’ undeclared (first use in this function) sock_post.i:610: error: dereferencing pointer to incomplete type sock_post.i:610: error: ‘POLLIN’ undeclared (first use in this function) sock_post.i:615: error: ‘MPIDU_SOCK_ERR_BAD_LEN’ undeclared (first use in this function) sock_post.i:627: error: ‘struct pollinfo’ has no member named ‘read_progress_update_fn’ sock_post.i:627: error: ‘fn’ undeclared (first use in this function) sock_post.i:629: error: dereferencing pointer to incomplete type sock_post.i:629: error: dereferencing pointer to incomplete type sock_post.i: At top level: sock_post.i:643: error: expected declaration specifiers or ‘...’ before ‘MPIDU_Sock_progress_update_func_t’ sock_post.i: In function ‘MPIDU_Sock_post_write’: sock_post.i:652: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) sock_post.i:653: error: ‘MPIDU_SOCK_ERR_BAD_SOCK’ undeclared (first use in this function) sock_post.i:655: error: invalid use of undefined type ‘struct pollfd’ sock_post.i:655: error: dereferencing pointer to incomplete type sock_post.i:659: error: ‘MPIDU_SOCK_ERR_CONN_CLOSED’ undeclared (first use in this function) sock_post.i:659: error: ‘MPIDU_SOCK_ERR_CONN_FAILED’ undeclared (first use in this function) sock_post.i:659: error: ‘MPIDU_SOCK_ERR_INPROGRESS’ undeclared (first use in this function) sock_post.i:660: error: dereferencing pointer to incomplete type sock_post.i:660: error: ‘POLLOUT’ undeclared (first use in this function) sock_post.i:665: error: ‘MPIDU_SOCK_ERR_BAD_LEN’ undeclared (first use in this function) sock_post.i:672: error: ‘struct pollinfo’ has no member named ‘write’ sock_post.i:673: error: ‘struct pollinfo’ has no member named ‘write’ sock_post.i:674: error: ‘struct pollinfo’ has no member named ‘write’ sock_post.i:675: error: ‘struct pollinfo’ has no member named ‘write_iov_flag’ sock_post.i:676: error: ‘struct pollinfo’ has no member named ‘write_nb’ sock_post.i:677: error: ‘struct pollinfo’ has no member named ‘write_progress_update_fn’ sock_post.i:677: error: ‘fn’ undeclared (first use in this function) sock_post.i:679: error: dereferencing pointer to incomplete type sock_post.i:679: error: dereferencing pointer to incomplete type sock_post.i: At top level: sock_post.i:692: error: expected declaration specifiers or ‘...’ before ‘MPIDU_Sock_progress_update_func_t’ sock_post.i: In function ‘MPIDU_Sock_post_writev’: sock_post.i:701: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) sock_post.i:702: error: ‘MPIDU_SOCK_ERR_BAD_SOCK’ undeclared (first use in this function) sock_post.i:704: error: invalid use of undefined type ‘struct pollfd’ sock_post.i:704: error: dereferencing pointer to incomplete type sock_post.i:708: error: ‘MPIDU_SOCK_ERR_CONN_CLOSED’ undeclared (first use in this function) sock_post.i:708: error: ‘MPIDU_SOCK_ERR_CONN_FAILED’ undeclared (first use in this function) sock_post.i:708: error: ‘MPIDU_SOCK_ERR_INPROGRESS’ undeclared (first use in this function) sock_post.i:709: error: dereferencing pointer to incomplete type sock_post.i:709: error: ‘POLLOUT’ undeclared (first use in this function) sock_post.i:714: error: ‘MPIDU_SOCK_ERR_BAD_LEN’ undeclared (first use in this function) sock_post.i:721: error: ‘struct pollinfo’ has no member named ‘write’ sock_post.i:722: error: ‘struct pollinfo’ has no member named ‘write’ sock_post.i:723: error: ‘struct pollinfo’ has no member named ‘write’ sock_post.i:724: error: ‘struct pollinfo’ has no member named ‘write_iov_flag’ sock_post.i:725: error: ‘struct pollinfo’ has no member named ‘write_nb’ sock_post.i:726: error: ‘struct pollinfo’ has no member named ‘write_progress_update_fn’ sock_post.i:726: error: ‘fn’ undeclared (first use in this function) sock_post.i:728: error: dereferencing pointer to incomplete type sock_post.i:728: error: dereferencing pointer to incomplete type sock_post.i: In function ‘MPIDU_Sock_post_close’: sock_post.i:751: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) sock_post.i:752: error: ‘MPIDU_SOCK_ERR_BAD_SOCK’ undeclared (first use in this function) sock_post.i:754: error: invalid use of undefined type ‘struct pollfd’ sock_post.i:754: error: dereferencing pointer to incomplete type sock_post.i:771: error: dereferencing pointer to incomplete type sock_post.i:771: error: ‘POLLIN’ undeclared (first use in this function) sock_post.i:771: error: ‘POLLOUT’ undeclared (first use in this function) sock_post.i:777: error: ‘MPIDU_SOCK_ERR_SOCK_CLOSED’ undeclared (first use in this function) sock_post.i:780: error: dereferencing pointer to incomplete type sock_post.i:782: error: ‘MPIDU_SOCK_OP_READ’ undeclared (first use in this function) sock_post.i:782: warning: passing argument 3 of ‘MPIDU_Socki_event_enqueue’ makes pointer from integer without a cast sock_post.i:782: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_post.i:782: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_post.i:782: error: ‘MPIDU_SOCK_ERR_FAIL’ undeclared (first use in this function) sock_post.i:786: error: dereferencing pointer to incomplete type sock_post.i:788: error: ‘MPIDU_SOCK_OP_WRITE’ undeclared (first use in this function) sock_post.i:788: error: ‘struct pollinfo’ has no member named ‘write_nb’ sock_post.i:788: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_post.i:788: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_post.i:792: error: dereferencing pointer to incomplete type sock_post.i:792: error: dereferencing pointer to incomplete type sock_post.i:792: error: dereferencing pointer to incomplete type sock_post.i:792: error: dereferencing pointer to incomplete type sock_post.i:803: error: dereferencing pointer to incomplete type sock_post.i:803: error: dereferencing pointer to incomplete type sock_post.i:803: error: dereferencing pointer to incomplete type sock_post.i:803: error: dereferencing pointer to incomplete type sock_post.i:806: error: ‘MPIDU_SOCK_OP_CLOSE’ undeclared (first use in this function) sock_post.i:806: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_post.i:806: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ In file included from sock.c:247: sock_immed.i: In function ‘MPIDU_Sock_accept’: sock_immed.i:31: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) sock_immed.i:32: error: ‘MPIDU_SOCK_ERR_BAD_SOCK’ undeclared (first use in this function) sock_immed.i:35: error: invalid use of undefined type ‘struct pollfd’ sock_immed.i:35: error: dereferencing pointer to incomplete type sock_immed.i:68: error: dereferencing pointer to incomplete type sock_immed.i:68: error: ‘POLLIN’ undeclared (first use in this function) sock_immed.i:68: error: dereferencing pointer to incomplete type sock_immed.i:76: error: ‘MPIDU_SOCK_ERR_NO_NEW_SOCK’ undeclared (first use in this function) sock_immed.i:81: error: ‘MPIDU_SOCK_ERR_NOMEM’ undeclared (first use in this function) sock_immed.i:104: error: ‘MPIDU_SOCK_ERR_FAIL’ undeclared (first use in this function) sock_immed.i:188: error: invalid use of undefined type ‘struct pollfd’ sock_immed.i:188: error: dereferencing pointer to incomplete type sock_immed.i: At top level: sock_immed.i:220: error: expected ‘)’ before ‘sock’ sock_immed.i:324: error: expected ‘)’ before ‘sock’ sock_immed.i:427: error: expected ‘)’ before ‘sock’ sock_immed.i:509: error: expected ‘)’ before ‘sock’ sock_immed.i: In function ‘MPIDU_Sock_wakeup’: sock_immed.i:596: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) In file included from sock.c:248: sock_misc.i: In function ‘MPIDU_Sock_hostname_to_host_description’: sock_misc.i:20: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) sock_misc.i:25: error: ‘MPIDU_SOCK_ERR_BAD_LEN’ undeclared (first use in this function) sock_misc.i: In function ‘MPIDU_Sock_get_host_description’: sock_misc.i:52: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) sock_misc.i:56: error: ‘MPIDU_SOCK_ERR_BAD_LEN’ undeclared (first use in this function) sock_misc.i:73: error: ‘MPIDU_SOCK_ERR_BAD_HOST’ undeclared (first use in this function) sock_misc.i:97: error: ‘MPIDU_SOCK_ERR_FAIL’ undeclared (first use in this function) sock_misc.i: At top level: sock_misc.i:113: error: expected declaration specifiers or ‘...’ before ‘MPIDU_SOCK_NATIVE_FD’ sock_misc.i: In function ‘MPIDU_Sock_native_to_sock’: sock_misc.i:126: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) sock_misc.i:133: error: ‘MPIDU_SOCK_ERR_NOMEM’ undeclared (first use in this function) sock_misc.i:139: error: invalid use of undefined type ‘struct pollfd’ sock_misc.i:139: error: dereferencing pointer to incomplete type sock_misc.i:143: error: ‘fd’ undeclared (first use in this function) sock_misc.i:147: error: ‘MPIDU_SOCK_ERR_FAIL’ undeclared (first use in this function) sock_misc.i:163: error: dereferencing pointer to incomplete type sock_misc.i:164: error: dereferencing pointer to incomplete type sock_misc.i:165: error: dereferencing pointer to incomplete type sock_misc.i: In function ‘MPIDU_Sock_set_user_ptr’: sock_misc.i:201: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) sock_misc.i:203: error: ‘MPIDU_SOCK_INVALID_SOCK’ undeclared (first use in this function) sock_misc.i:204: error: ‘MPIDU_SOCK_INVALID_SET’ undeclared (first use in this function) sock_misc.i:211: error: ‘MPIDU_SOCK_ERR_BAD_SOCK’ undeclared (first use in this function) sock_misc.i: In function ‘MPIDU_Sock_get_sock_id’: sock_misc.i:233: error: ‘MPIDU_SOCK_INVALID_SOCK’ undeclared (first use in this function) sock_misc.i:235: error: ‘MPIDU_SOCK_INVALID_SET’ undeclared (first use in this function) sock_misc.i: In function ‘MPIDU_Sock_get_sock_set_id’: sock_misc.i:264: error: ‘MPIDU_SOCK_INVALID_SET’ undeclared (first use in this function) sock_misc.i: In function ‘MPIDU_Sock_get_error_class_string’: sock_misc.i:295: error: ‘MPIDU_SOCK_ERR_FAIL’ undeclared (first use in this function) sock_misc.i:298: error: ‘MPIDU_SOCK_ERR_INIT’ undeclared (first use in this function) sock_misc.i:301: error: ‘MPIDU_SOCK_ERR_NOMEM’ undeclared (first use in this function) sock_misc.i:304: error: ‘MPIDU_SOCK_ERR_BAD_SET’ undeclared (first use in this function) sock_misc.i:307: error: ‘MPIDU_SOCK_ERR_BAD_SOCK’ undeclared (first use in this function) sock_misc.i:310: error: ‘MPIDU_SOCK_ERR_BAD_HOST’ undeclared (first use in this function) sock_misc.i:313: error: ‘MPIDU_SOCK_ERR_BAD_HOSTNAME’ undeclared (first use in this function) sock_misc.i:316: error: ‘MPIDU_SOCK_ERR_BAD_PORT’ undeclared (first use in this function) sock_misc.i:319: error: ‘MPIDU_SOCK_ERR_BAD_BUF’ undeclared (first use in this function) sock_misc.i:322: error: ‘MPIDU_SOCK_ERR_BAD_LEN’ undeclared (first use in this function) sock_misc.i:325: error: ‘MPIDU_SOCK_ERR_SOCK_CLOSED’ undeclared (first use in this function) sock_misc.i:328: error: ‘MPIDU_SOCK_ERR_CONN_CLOSED’ undeclared (first use in this function) sock_misc.i:331: error: ‘MPIDU_SOCK_ERR_CONN_FAILED’ undeclared (first use in this function) sock_misc.i:334: error: ‘MPIDU_SOCK_ERR_INPROGRESS’ undeclared (first use in this function) sock_misc.i:337: error: ‘MPIDU_SOCK_ERR_TIMEOUT’ undeclared (first use in this function) sock_misc.i:340: error: ‘MPIDU_SOCK_ERR_INTR’ undeclared (first use in this function) sock_misc.i:343: error: ‘MPIDU_SOCK_ERR_NO_NEW_SOCK’ undeclared (first use in this function) In file included from sock.c:249: sock_wait.i: In function ‘MPIDU_Sock_wait’: sock_wait.i:48: error: dereferencing pointer to incomplete type sock_wait.i:48: error: ‘MPIDU_SOCK_OP_CLOSE’ undeclared (first use in this function) sock_wait.i:198: error: ‘MPIDU_SOCK_ERR_TIMEOUT’ undeclared (first use in this function) sock_wait.i:203: error: ‘MPIDU_SOCK_INFINITE_TIME’ undeclared (first use in this function) sock_wait.i:214: error: ‘MPIDU_SOCK_ERR_NOMEM’ undeclared (first use in this function) sock_wait.i:220: error: ‘MPIDU_SOCK_ERR_FAIL’ undeclared (first use in this function) sock_wait.i:237: error: invalid use of undefined type ‘struct pollfd’ sock_wait.i:237: error: dereferencing pointer to incomplete type sock_wait.i:240: error: dereferencing pointer to incomplete type sock_wait.i:240: error: ‘POLLIN’ undeclared (first use in this function) sock_wait.i:240: error: ‘POLLOUT’ undeclared (first use in this function) sock_wait.i:240: error: dereferencing pointer to incomplete type sock_wait.i:241: error: dereferencing pointer to incomplete type sock_wait.i:241: error: dereferencing pointer to incomplete type sock_wait.i:243: error: dereferencing pointer to incomplete type sock_wait.i:243: error: dereferencing pointer to incomplete type sock_wait.i:257: error: dereferencing pointer to incomplete type sock_wait.i:257: error: ‘POLLNVAL’ undeclared (first use in this function) sock_wait.i:261: error: dereferencing pointer to incomplete type sock_wait.i:266: error: dereferencing pointer to incomplete type sock_wait.i:266: error: ‘POLLHUP’ undeclared (first use in this function) sock_wait.i:276: error: dereferencing pointer to incomplete type sock_wait.i:276: error: ‘POLLERR’ undeclared (first use in this function) sock_wait.i:286: error: dereferencing pointer to incomplete type sock_wait.i:313: error: dereferencing pointer to incomplete type sock_wait.i:314: error: ‘MPIDU_SOCK_OP_ACCEPT’ undeclared (first use in this function) sock_wait.i:314: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_wait.i:314: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_wait.i:324: error: dereferencing pointer to incomplete type sock_wait.i:339: error: dereferencing pointer to incomplete type sock_wait.i: In function ‘MPIDU_Socki_handle_pollhup’: sock_wait.i:413: error: dereferencing pointer to incomplete type sock_wait.i:413: error: ‘POLLOUT’ undeclared (first use in this function) sock_wait.i:418: error: ‘MPIDU_SOCK_ERR_CONN_CLOSED’ undeclared (first use in this function) sock_wait.i:420: error: ‘MPIDU_SOCK_OP_WRITE’ undeclared (first use in this function) sock_wait.i:420: error: ‘struct pollinfo’ has no member named ‘write_nb’ sock_wait.i:420: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_wait.i:420: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_wait.i:420: error: ‘MPIDU_SOCK_ERR_FAIL’ undeclared (first use in this function) sock_wait.i:422: error: dereferencing pointer to incomplete type sock_wait.i:422: error: dereferencing pointer to incomplete type sock_wait.i:422: error: dereferencing pointer to incomplete type sock_wait.i:422: error: ‘POLLIN’ undeclared (first use in this function) sock_wait.i:422: error: dereferencing pointer to incomplete type sock_wait.i:437: error: dereferencing pointer to incomplete type sock_wait.i:437: error: dereferencing pointer to incomplete type sock_wait.i:444: error: dereferencing pointer to incomplete type sock_wait.i:451: error: dereferencing pointer to incomplete type sock_wait.i:452: error: dereferencing pointer to incomplete type sock_wait.i: In function ‘MPIDU_Socki_handle_pollerr’: sock_wait.i:486: error: ‘MPIDU_SOCK_ERR_FAIL’ undeclared (first use in this function) sock_wait.i:499: error: dereferencing pointer to incomplete type sock_wait.i:499: error: ‘POLLIN’ undeclared (first use in this function) sock_wait.i:499: error: ‘POLLOUT’ undeclared (first use in this function) sock_wait.i:499: error: dereferencing pointer to incomplete type sock_wait.i:502: error: dereferencing pointer to incomplete type sock_wait.i:508: error: ‘MPIDU_SOCK_ERR_NOMEM’ undeclared (first use in this function) sock_wait.i:519: error: ‘MPIDU_SOCK_OP_WRITE’ undeclared (first use in this function) sock_wait.i:519: error: ‘struct pollinfo’ has no member named ‘write_nb’ sock_wait.i:519: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_wait.i:519: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_wait.i:521: error: dereferencing pointer to incomplete type sock_wait.i:521: error: dereferencing pointer to incomplete type sock_wait.i:521: error: dereferencing pointer to incomplete type sock_wait.i:521: error: dereferencing pointer to incomplete type sock_wait.i:535: error: dereferencing pointer to incomplete type sock_wait.i:535: error: dereferencing pointer to incomplete type sock_wait.i:542: error: dereferencing pointer to incomplete type sock_wait.i:543: error: dereferencing pointer to incomplete type sock_wait.i:548: error: dereferencing pointer to incomplete type sock_wait.i: In function ‘MPIDU_Socki_handle_read’: sock_wait.i:612: error: ‘MPIDU_SOCK_OP_READ’ undeclared (first use in this function) sock_wait.i:612: warning: passing argument 3 of ‘MPIDU_Socki_event_enqueue’ makes pointer from integer without a cast sock_wait.i:612: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_wait.i:612: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_wait.i:612: error: ‘MPIDU_SOCK_ERR_FAIL’ undeclared (first use in this function) sock_wait.i:614: error: dereferencing pointer to incomplete type sock_wait.i:614: error: ‘POLLIN’ undeclared (first use in this function) sock_wait.i:614: error: dereferencing pointer to incomplete type sock_wait.i:614: error: dereferencing pointer to incomplete type sock_wait.i:614: error: ‘POLLOUT’ undeclared (first use in this function) sock_wait.i:614: error: dereferencing pointer to incomplete type sock_wait.i:623: error: ‘MPIDU_SOCK_ERR_CONN_CLOSED’ undeclared (first use in this function) sock_wait.i:625: error: dereferencing pointer to incomplete type sock_wait.i:627: error: ‘MPIDU_SOCK_OP_WRITE’ undeclared (first use in this function) sock_wait.i:627: error: ‘struct pollinfo’ has no member named ‘write_nb’ sock_wait.i:627: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_wait.i:627: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_wait.i:630: warning: passing argument 3 of ‘MPIDU_Socki_event_enqueue’ makes pointer from integer without a cast sock_wait.i:630: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_wait.i:630: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_wait.i:633: error: dereferencing pointer to incomplete type sock_wait.i:633: error: dereferencing pointer to incomplete type sock_wait.i:633: error: dereferencing pointer to incomplete type sock_wait.i:633: error: dereferencing pointer to incomplete type sock_wait.i:662: error: dereferencing pointer to incomplete type sock_wait.i:664: error: ‘struct pollinfo’ has no member named ‘write_nb’ sock_wait.i:664: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_wait.i:664: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_wait.i:666: error: dereferencing pointer to incomplete type sock_wait.i:666: error: dereferencing pointer to incomplete type sock_wait.i:666: error: dereferencing pointer to incomplete type sock_wait.i:666: error: dereferencing pointer to incomplete type sock_wait.i:672: warning: passing argument 3 of ‘MPIDU_Socki_event_enqueue’ makes pointer from integer without a cast sock_wait.i:672: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_wait.i:672: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_wait.i:674: error: dereferencing pointer to incomplete type sock_wait.i:674: error: dereferencing pointer to incomplete type sock_wait.i:674: error: dereferencing pointer to incomplete type sock_wait.i:674: error: dereferencing pointer to incomplete type sock_wait.i: In function ‘MPIDU_Socki_handle_write’: sock_wait.i:701: error: ‘struct pollinfo’ has no member named ‘write_iov_flag’ sock_wait.i:704: error: ‘struct pollinfo’ has no member named ‘write’ sock_wait.i:704: error: ‘struct pollinfo’ has no member named ‘write’ sock_wait.i:705: error: ‘struct pollinfo’ has no member named ‘write’ sock_wait.i:705: error: ‘struct pollinfo’ has no member named ‘write’ sock_wait.i:711: error: ‘struct pollinfo’ has no member named ‘write’ sock_wait.i:711: error: ‘struct pollinfo’ has no member named ‘write_nb’ sock_wait.i:712: error: ‘struct pollinfo’ has no member named ‘write’ sock_wait.i:712: error: ‘struct pollinfo’ has no member named ‘write_nb’ sock_wait.i:722: error: ‘struct pollinfo’ has no member named ‘write_nb’ sock_wait.i:724: error: ‘struct pollinfo’ has no member named ‘write_iov_flag’ sock_wait.i:725: error: ‘struct pollinfo’ has no member named ‘write’ sock_wait.i:725: error: ‘struct pollinfo’ has no member named ‘write’ sock_wait.i:725: error: ‘struct pollinfo’ has no member named ‘write’ sock_wait.i:726: error: ‘struct pollinfo’ has no member named ‘write_nb’ sock_wait.i:726: error: ‘struct pollinfo’ has no member named ‘write’ sock_wait.i:730: error: ‘MPIDU_SOCK_OP_WRITE’ undeclared (first use in this function) sock_wait.i:730: error: ‘struct pollinfo’ has no member named ‘write_nb’ sock_wait.i:730: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_wait.i:730: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_wait.i:730: error: ‘MPIDU_SOCK_ERR_FAIL’ undeclared (first use in this function) sock_wait.i:732: error: dereferencing pointer to incomplete type sock_wait.i:732: error: ‘POLLOUT’ undeclared (first use in this function) sock_wait.i:732: error: dereferencing pointer to incomplete type sock_wait.i:732: error: dereferencing pointer to incomplete type sock_wait.i:732: error: ‘POLLIN’ undeclared (first use in this function) sock_wait.i:732: error: dereferencing pointer to incomplete type sock_wait.i:757: error: ‘struct pollinfo’ has no member named ‘write_nb’ sock_wait.i:757: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_wait.i:757: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_wait.i:759: error: dereferencing pointer to incomplete type sock_wait.i:759: error: dereferencing pointer to incomplete type sock_wait.i:759: error: dereferencing pointer to incomplete type sock_wait.i:759: error: dereferencing pointer to incomplete type sock_wait.i: In function ‘MPIDU_Socki_handle_connect’: sock_wait.i:793: error: dereferencing pointer to incomplete type sock_wait.i:796: error: ‘MPIDU_SOCK_OP_CONNECT’ undeclared (first use in this function) sock_wait.i:796: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_wait.i:796: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_wait.i:796: error: ‘MPIDU_SOCK_ERR_FAIL’ undeclared (first use in this function) sock_wait.i:804: error: ‘MPIDU_SOCK_ERR_NOMEM’ undeclared (first use in this function) sock_wait.i:806: error: ‘MPIDU_SOCK_ERR_CONN_FAILED’ undeclared (first use in this function) sock_wait.i:809: warning: passing argument 4 of ‘MPIDU_Socki_event_enqueue’ makes integer from pointer without a cast sock_wait.i:809: error: too many arguments to function ‘MPIDU_Socki_event_enqueue’ sock_wait.i:814: error: dereferencing pointer to incomplete type sock_wait.i:814: error: ‘POLLOUT’ undeclared (first use in this function) sock_wait.i:814: error: dereferencing pointer to incomplete type sock_wait.i:814: error: dereferencing pointer to incomplete type sock_wait.i:814: error: ‘POLLIN’ undeclared (first use in this function) sock_wait.i:814: error: dereferencing pointer to incomplete type make[7]: *** [sock.o] Error 1 make[7]: Leaving directory `/home/penggu/mpich2-1.0.3/src/mpid/common/sock/poll' make[6]: *** [all-redirect] Error 1 make[6]: Leaving directory `/home/penggu/mpich2-1.0.3/src/mpid/common/sock' make[5]: *** [all-redirect] Error 2 make[5]: Leaving directory `/home/penggu/mpich2-1.0.3/src/mpid/ch3/channels/sock' make[4]: *** [all-redirect] Error 1 make[4]: Leaving directory `/home/penggu/mpich2-1.0.3/src/mpid/ch3/channels' make[3]: *** [all-redirect] Error 2 make[3]: Leaving directory `/home/penggu/mpich2-1.0.3/src/mpid/ch3' make[2]: *** [all-redirect] Error 1 make[2]: Leaving directory `/home/penggu/mpich2-1.0.3/src/mpid' make[1]: *** [all-redirect] Error 2 make[1]: Leaving directory `/home/penggu/mpich2-1.0.3/src' make: *** [all-redirect] Error 2