Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] Problem in epoll checking in the head revision of 1.5
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-02-09 16:41:51

Committed -- thanks!

On Feb 9, 2012, at 3:16 PM, Andrew Senin wrote:

> 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
> <diff>_______________________________________________
> users mailing list
> users_at_[hidden]

Jeff Squyres
For corporate legal information go to: