Skip to content

sys/cpuset.h cannot be found on FreeBSD

Current "configure.ac" cannot detect "sys/cpuset.h" even if it exists on FreeBSD 9.1:

checking sys/cpuset.h presence... yes
configure: WARNING: sys/cpuset.h: present but cannot be compiled
configure: WARNING: sys/cpuset.h:     check for missing prerequisite headers?
configure: WARNING: sys/cpuset.h: see the Autoconf documentation
configure: WARNING: sys/cpuset.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sys/cpuset.h: proceeding with the compiler's result
configure: WARNING:     ## ----------------------------------------------- ##
configure: WARNING:     ## Report this to glasgow-haskell-bugs@haskell.org ##
configure: WARNING:     ## ----------------------------------------------- ##
checking for sys/cpuset.h... no

This is because sys/param.h should be included in the test.

Trac metadata
Trac field Value
Version 7.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information