Skip to content

Instantly share code, notes, and snippets.

@candlerb
Created April 23, 2013 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save candlerb/5445020 to your computer and use it in GitHub Desktop.
Save candlerb/5445020 to your computer and use it in GitHub Desktop.
Build errors when trying to upgrade fio from 2.0.7 to 2.0.15 using Homebrew. OSX 10.7.5, Xcode 4.6.2.
Brians-MacBook-Air:~ $ brew unlink fio
Unlinking /usr/local/Cellar/fio/2.0.7... 4 links removed
Brians-MacBook-Air:~ $ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install fio
==> Downloading http://brick.kernel.dk/snaps/fio-2.0.15.tar.bz2
Already downloaded: /Users/brian/Library/Caches/Homebrew/fio-2.0.15.tar.bz2
tar xf /Users/brian/Library/Caches/Homebrew/fio-2.0.15.tar.bz2
==> make prefix=/usr/local/Cellar/fio/2.0.15 mandir=/usr/local/Cellar/fio/2.0.15/share/man CC=cc CFLAGS= install
make prefix=/usr/local/Cellar/fio/2.0.15 mandir=/usr/local/Cellar/fio/2.0.15/share/man CC=cc CFLAGS= install
Makefile:12: config-host.mak: No such file or directory
FIO_VERSION = fio-2.0.15
Running configure for you...
Operating system Darwin
CPU x86_64
Big endian no
Compiler cc
Cross compile no
Wordsize 64
Linux AIO support no
POSIX AIO support yes
POSIX AIO support needs -lrt no
POSIX AIO fsync yes
Solaris AIO support no
__sync_fetch_and_add yes
libverbs no
rdmacm no
Linux fallocate no
POSIX fadvise no
POSIX fallocate no
sched_setaffinity(3 arg) no
sched_setaffinity(2 arg) no
clock_gettime no
CLOCK_MONOTONIC no
CLOCK_MONOTONIC_PRECISE no
gettimeofday yes
fdatasync yes
sync_file_range no
EXT4 move extent no
Linux splice(2) no
GUASI no
Fusion-io atomic engine no
libnuma no
strsep yes
strcasestr yes
getopt_long_only() yes
inet_aton yes
socklen_t yes
__thread yes
RUSAGE_THREAD no
SCHED_IDLE no
TCP_NODELAY yes
RLIMIT_MEMLOCK yes
CC gettime.o
In file included from gettime.c:13:
./hash.h:28:2: error: Define GOLDEN_RATIO_PRIME for your wordsize.
#error Define GOLDEN_RATIO_PRIME for your wordsize.
^
./hash.h:54:10: error: use of undeclared identifier 'GOLDEN_RATIO_PRIME'
hash *= GOLDEN_RATIO_PRIME;
^
./hash.h:63:30: error: use of undeclared identifier 'BITS_PER_LONG'
return __hash_long(val) >> (BITS_PER_LONG - bits);
^
./hash.h:116:14: error: use of undeclared identifier 'GOLDEN_RATIO_PRIME'
a = b = c = JHASH_INITVAL + length + initval;
^
./hash.h:80:23: note: expanded from macro 'JHASH_INITVAL'
#define JHASH_INITVAL GOLDEN_RATIO_PRIME
^
4 errors generated.
make: *** [gettime.o] Error 1
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: 7d64328ac2cf9e91a439a9cf63172f0e844ea360
CPU: quad-core 64-bit sandybridge
OS X: 10.7.5-x86_64
Xcode: 4.6.2
CLT: 4.6.0.0.1.1365549073
X11: 2.6.5 => /usr/X11
==> ENV
CC: cc
CXX: c++
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig
HOMEBREW_MAKE_JOBS: 1
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin
Error: fio did not build
Logs: /Users/brian/Library/Logs/Homebrew/fio/config.log
These open issues may also help:
https://github.com/mxcl/homebrew/issues/19380
Brians-MacBook-Air:~ $ ls ~/Library/Logs/Homebrew/fio/
config.log
Brians-MacBook-Air:~ $ cat ~/Library/Logs/Homebrew/fio/config.log
# FIO configure log Tue 23 Apr 2013 17:14:32 BST
# Configured with: './configure'
#
cc -D_GNU_SOURCE -include config-host.h -c -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-2074-23460-21004.o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:2:2: error: __ANDROID__ not defined
#error __ANDROID__ not defined
^
1 error generated.
cc -D_GNU_SOURCE -include config-host.h -c -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-2074-23460-21004.o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:2:2: error: __linux__ not defined
#error __linux__ not defined
^
1 error generated.
cc -D_GNU_SOURCE -include config-host.h -c -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-2074-23460-21004.o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:2:2: error: __OpenBSD__ not defined
#error __OpenBSD__ not defined
^
1 error generated.
cc -D_GNU_SOURCE -include config-host.h -c -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-2074-23460-21004.o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:2:2: error: __sun__ not defined
#error __sun__ not defined
^
1 error generated.
Compiling test case cross
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Compiling test case endian
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Compiling test case wordsize
cc -D_GNU_SOURCE -include config-host.h -DWORDSIZE=32 -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:5:3: error: array size is negative
BUILD_BUG_ON(sizeof(long)*CHAR_BIT != WORDSIZE);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:2:52: note: expanded from macro 'BUILD_BUG_ON'
#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~~~~~~~~~~~~~~
1 error generated.
Compiling test case wordsize
cc -D_GNU_SOURCE -include config-host.h -DWORDSIZE=64 -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Compiling test case libaio
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c -laio
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:1:10: fatal error: 'libaio.h' file not found
#include <libaio.h>
^
1 error generated.
Compiling test case posixaio
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Compiling test case posix_aio_fsync
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Compiling test case solarisaio
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c -laio
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:2:10: fatal error: 'sys/asynch.h' file not found
#include <sys/asynch.h>
^
1 error generated.
Compiling test case __sync_fetch_and_add()
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Compiling test case libverbs
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c -libverbs
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:2:10: fatal error: 'infiniband/arch.h' file not found
#include <infiniband/arch.h>
^
1 error generated.
Compiling test case rdma
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c -lrdmacm
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:2:10: fatal error: 'rdma/rdma_cma.h' file not found
#include <rdma/rdma_cma.h>
^
1 error generated.
Compiling test case linux_fallocate
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:2:10: fatal error: 'linux/falloc.h' file not found
#include <linux/falloc.h>
^
1 error generated.
Compiling test case posix_fadvise
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:5:34: error: use of undeclared identifier 'POSIX_FADV_NORMAL'
int r = posix_fadvise(0, 0, 0, POSIX_FADV_NORMAL);
^
1 error generated.
Compiling test case posix_fallocate
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Undefined symbols for architecture x86_64:
"_posix_fallocate", referenced from:
_main in fio-conf-9615-23460-31318-JHTCA1.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Compiling test case sched_setaffinity(,,)
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:4:3: error: use of undeclared identifier 'cpu_set_t'
cpu_set_t mask;
^
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:5:38: error: use of undeclared identifier 'mask'
return sched_setaffinity(0, sizeof(mask), &mask);
^
2 errors generated.
Compiling test case sched_setaffinity(,)
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:4:3: error: use of undeclared identifier 'cpu_set_t'
cpu_set_t mask;
^
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:5:32: error: use of undeclared identifier 'mask'
return sched_setaffinity(0, &mask);
^
2 errors generated.
Compiling test case clock_gettime
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Undefined symbols for architecture x86_64:
"_clock_gettime", referenced from:
_main in fio-conf-9615-23460-31318-WzpVJi.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Compiling test case clock_gettime
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c -lrt
ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Compiling test case gettimeofday
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Compiling test case fdatasync
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Compiling test case sync_file_range
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:4:10: fatal error: 'linux/fs.h' file not found
#include <linux/fs.h>
^
1 error generated.
Compiling test case ext4 move extent
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:5:22: error: variable has incomplete type 'struct move_extent'
struct move_extent me;
^
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:5:10: note: forward declaration of 'struct move_extent'
struct move_extent me;
^
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:6:19: error: use of undeclared identifier 'EXT4_IOC_MOVE_EXT'
return ioctl(0, EXT4_IOC_MOVE_EXT, &me);
^
2 errors generated.
Compiling test case linux splice
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:5:38: error: use of undeclared identifier 'SPLICE_F_NONBLOCK'
return splice(0, NULL, 0, NULL, 0, SPLICE_F_NONBLOCK);
^
1 error generated.
Compiling test case guasi
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:1:10: fatal error: 'guasi.h' file not found
#include <guasi.h>
^
1 error generated.
Compiling test case fusion-aw
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c -L/usr/lib/fio -lnvm-primitives
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:1:10: fatal error: 'nvm/vectored_write.h' file not found
#include <nvm/vectored_write.h>
^
1 error generated.
Compiling test case libnuma
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c -lnuma
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:1:10: fatal error: 'numa.h' file not found
#include <numa.h>
^
1 error generated.
Compiling test case strsep
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Compiling test case strcasestr
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Compiling test case getopt_long_only
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Compiling test case inet_aton
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Compiling test case socklen_t
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Compiling test case __thread
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Compiling test case RUSAGE_THREAD
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:6:13: error: use of undeclared identifier 'RUSAGE_THREAD'
getrusage(RUSAGE_THREAD, &ru);
^
1 error generated.
Compiling test case SCHED_IDLE
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
/var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c:5:32: error: use of undeclared identifier 'SCHED_IDLE'
return sched_setscheduler(0, SCHED_IDLE, &p);
^
1 error generated.
Compiling test case TCP_NODELAY
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Compiling test case RLIMIT_MEMLOCK
cc -D_GNU_SOURCE -include config-host.h -o /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-28112-23460-18265.exe /var/folders/f8/nggm8yyx2qvbflgmqg1zq5gh0000gp/T//fio-conf-9615-23460-31318.c
Brians-MacBook-Air:~ $ brew doctor
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
fio
p11-kit
Brians-MacBook-Air:~ $ brew link fio
Linking /usr/local/Cellar/fio/2.0.7... 4 symlinks created
Brians-MacBook-Air:~ $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment