On 05/05/2013 11:18 AM US Central Time, Pavan Balaji wrote: > - For sysctl and sysctlbyname, I've updated hwloc/config.m4 to use a > full link test instead of just using AC_CHECK_FUNCS, which only checks > to see if the symbol exists or not. For example, the prototype of > sysctl uses u_int, which on some platforms (such as FreeBSD) is only > defined under __BSD_VISIBLE, __USE_BSD or other similar definitions. So > while the symbols "sysctl" and "sysctlbyname" might still be available > in libc (which autoconf checks for), they might not be actually usable. > > The below commit fixes this: > > http://git.mpich.org/mpich.git/commitdiff/db276e4e
You probably also want to pick up this commit: http://git.mpich.org/mpich.git/commitdiff/d2072896 The Intel compiler went very sad without stdio.h for "NULL". -- Pavan -- Pavan Balaji http://www.mcs.anl.gov/~balaji