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).
I can try it out later today.