Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Problem in epoll checking in the head revision of 1.5
From: Andrew Senin (andrew.senin_at_[hidden])
Date: 2012-02-09 15:16:45


I think there is a problem in the latest commit to the branch 1.5. When
opal_setup_libevent.m4 is upgraded to autotools 1.5.5 the square brackets
in the test C code should be replaced too. Otherwise they'll go unchanged
to the configure file. And the C program which tests for epoll support will

configure:159404: checking for working epoll system call
configure:159455: gcc -o conftest -DNDEBUG -g -O2
-I/usr/include/infiniband -I/usr/include/infiniband conftest.c -lrt
-lnsl -lutil -lm >&5
conftest.c: In function 'main':
conftest.c:725: error: expected expression before '[' token
conftest.c:729: error: expected expression before '[' token
conftest.c:737: error: expected expression before '[' token
configure:159455: $? = 1
configure: program exited with status 1
configure: failed program was:

     int fildes[[2]];
and similar
should be replaced to
    int fildes[2];

I've attached a diff file which worked for me.

Andrew Senin

  • application/octet-stream attachment: diff