Skip to content

Instantly share code, notes, and snippets.

@whatwho
Created August 1, 2012 13:46
Show Gist options
  • Save whatwho/3226987 to your computer and use it in GitHub Desktop.
Save whatwho/3226987 to your computer and use it in GitHub Desktop.
brew install -v hiredis
==> Downloading https://github.com/antirez/hiredis/tarball/v0.10.1
Already downloaded: /Library/Caches/Homebrew/hiredis-0.10.1.tgz
/usr/bin/tar xf /Library/Caches/Homebrew/hiredis-0.10.1.tgz
==> make install PREFIX=/usr/local/Cellar/hiredis/0.10.1
make install PREFIX=/usr/local/Cellar/hiredis/0.10.1
/usr/bin/clang -std=c99 -pedantic -c -O3 -fPIC -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c
/usr/bin/clang -std=c99 -pedantic -c -O3 -fPIC -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c
hiredis.c:799:31: error: second argument to 'va_arg' is of incomplete type 'void'
va_arg(ap,void);
~~~~~~~~~~^~~~~
/usr/bin/../lib/clang/4.0/include/stdarg.h:35:50: note: expanded from macro 'va_arg'
#define va_arg(ap, type) __builtin_va_arg(ap, type)
^
1 error generated.
make: *** [hiredis.o] Error 1
make: *** Waiting for unfinished jobs....
==> Exit Status: 2
https://github.com/mxcl/master/blob/master/Library/Formula/hiredis.rb#L22
==> Build Environment
HOMEBREW_VERSION: 0.9.2
HEAD: ed76c6df9417a54d188ce3d7f227d670dda3bd5b
CPU: dual-core 64-bit penryn
OS X: 10.8-x86_64
Xcode: 4.4
CLT: 4.4.0.0.1.1249367152
X11: N/A
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CPPFLAGS: -isystem /usr/local/include
LDFLAGS: -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.8
MAKEFLAGS: -j2
PKG_CONFIG_PATH: /usr/local/Library/Homebrew/pkgconfig
Error: Failed executing: make install PREFIX=/usr/local/Cellar/hiredis/0.10.1 (hiredis.rb:22)
This may help you fix or report the issue if `brew doctor` does not:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment