Hi,

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
fail:

...
configure:159404: checking for working epoll system call
configure:159455: gcc -o conftest -DNDEBUG -g -O2
-I/hpc/home/USERS/senina/projects/hg/shmem-dev/opal/mca/hwloc/hwloc131/hwloc/include
-I/hpc/home/USERS/senina/projects/distribs/valgrind-3.7.0/install/include
-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:
...

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

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

Regards,
Andrew Senin

Attachment: diff
Description: Binary data

Reply via email to