On 04/30/2013 02:22 AM US Central Time, Brice Goglin wrote:
> Le 29/04/2013 15:51, Pavan Balaji a écrit :
>> On 04/29/2013 08:36 AM US Central Time, Brice Goglin wrote:
>>>> I wonder if this CFLAGS=-D_POSIX_SOURCE is supported by FreeBSD headers.
>>> I could not fix this. Google says that FreeBSD does not define u_int
>>> when _POSIX_SOURCE, so the sysctl() prototype cannot be correct. I tend
>>> to think you should remove _POSIX_SOURCE on this FreeBSD release.
>> Is this for any version of POSIX_SOURCE?  Just giving _POSIX_SOURCE
>> falls back to POSIX.1-1990.  Most times we (mpich) only care about
>> POSIX.1-2001 (given by -D_POSIX_C_SOURCE=200112L).
>>
> 
> It seems to fail the same on FreeBSD 9.1 with -D_POSIX_C_SOURCE=200112L
> 
> By the way, regarding the AM_CONDITIONAL issue, you should remove the
> relevant "if" section from src/Makefile.am for now. You likely don't
> want to use plugins anyway? I still don't have a complete solution,
> there will be another mail later to discuss this.

Yes, this is what I've been doing to move things forward, but this is
not a great solution.

 -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji

Reply via email to