Folks,

hwloc-1.9.1 doesn’t seem to build on FreeBSD64 with strict flags.

----8<----
% ./configure CFLAGS='-Werror-implicit-function-declaration 
-D_POSIX_C_SOURCE=200112L’

% make  
Making all in src
  CC       topology.lo
topology.c: In function 'hwloc_fallback_nbprocessors':
topology.c:164:2: warning: #warning No known way to discover number of 
available processors on this system [-Wcpp]
topology.c:165:2: warning: #warning hwloc_fallback_nbprocessors will default to 
1 [-Wcpp]
  CC       traversal.lo
In file included from traversal.c:12:0:
/home/autotest/balaji/hwloc/hwloc-1.9.1/include/private/misc.h: In function 
'hwloc_strncasecmp':
/home/autotest/balaji/hwloc/hwloc-1.9.1/include/private/misc.h:360:3: error: 
implicit declaration of function 'strncasecmp' 
[-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
*** [traversal.lo] Error code 1

Stop in /usr/home/autotest/balaji/hwloc/hwloc-1.9.1/src.
*** [all-recursive] Error code 1

Stop in /usr/home/autotest/balaji/hwloc/hwloc-1.9.1.
----8<----

Thanks,

  — Pavan

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

Reply via email to