Skip to content

Instantly share code, notes, and snippets.

@follesoe
Created September 13, 2010 17:49
Show Gist options
  • Select an option

  • Save follesoe/577718 to your computer and use it in GitHub Desktop.

Select an option

Save follesoe/577718 to your computer and use it in GitHub Desktop.
Jonas-Folless-iMac:~ follesoe$ brew install vcprompt
/usr/local/bin/hg
==> Cloning hg://http://vc.gerg.ca/hg/vcprompt/
Updating /Users/follesoe/Library/Caches/Homebrew/vcprompt--hg
pulling from http://vc.gerg.ca/hg/vcprompt/
searching for changes
no changes found
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
==> make
/usr/bin/cc -Wall -Wextra -Wno-unused-parameter -g -O2 -c -o src/common.o src/common.c
/usr/bin/cc -Wall -Wextra -Wno-unused-parameter -g -O2 -c -o src/cvs.o src/cvs.c
/usr/bin/cc -Wall -Wextra -Wno-unused-parameter -g -O2 -c -o src/git.o src/git.c
/usr/bin/cc -Wall -Wextra -Wno-unused-parameter -g -O2 -c -o src/hg.o src/hg.c
/usr/bin/cc -Wall -Wextra -Wno-unused-parameter -g -O2 -c -o src/svn.o src/svn.c
/usr/bin/cc -Wall -Wextra -Wno-unused-parameter -g -O2 -c -o src/vcprompt.o src/vcprompt.c
src/common.c: In function ‘result_set_revision’:
src/common.c:38: warning: implicit declaration of function ‘strndup’
src/common.c:38: warning: incompatible implicit declaration of built-in function ‘strndup’
/usr/bin/cc -o vcprompt src/common.o src/cvs.o src/git.o src/hg.o src/svn.o src/vcprompt.o
Undefined symbols:
"_strndup", referenced from:
_result_set_revision in common.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [vcprompt] Error 1
Exit status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/vcprompt.rb#L8
==> Environment
HOMEBREW_VERSION: 0.7
HEAD: a8d02a54c03e7b2d46a3ed0f4a0314ad3a1ec52d
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: 8-core 64-bit nehalem
OS X: 10.6.4
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
GCC-4.0: build 5494
GCC-4.2: build 5664
LLVM: build 2326
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /usr/bin/gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/bin/gcc-4.2
CFLAGS: -O3 -march=core2 -msse4 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4 -w -pipe
MAKEFLAGS: -j8
Error: Failure while executing: make
Please report this bug at http://github.com/mxcl/homebrew/issues
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
Jonas-Folless-iMac:~ follesoe$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment