Skip to content

Instantly share code, notes, and snippets.

Created November 26, 2012 18:46
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 anonymous/4149858 to your computer and use it in GitHub Desktop.
Save anonymous/4149858 to your computer and use it in GitHub Desktop.
yasm 1.2.0 installation problem
cc -I. \
-c -o genperf.o `test -f tools/genperf/genperf.c || echo './'`tools/genperf/genperf.c
cc -I. \
-c -o gp-perfect.o `test -f tools/genperf/perfect.c || echo './'`tools/genperf/perfect.c
cc -I. \
-c -o gp-phash.o `test -f libyasm/phash.c || echo './'`libyasm/phash.c
cc -I. \
-c -o gp-xmalloc.o `test -f libyasm/xmalloc.c || echo './'`libyasm/xmalloc.c
cc -I. \
-c -o gp-xstrdup.o `test -f libyasm/xstrdup.c || echo './'`libyasm/xstrdup.c
cc -I. \
-c -o re2c-main.o `test -f tools/re2c/main.c || echo './'`tools/re2c/main.c
cc -I. \
-c -o re2c-code.o `test -f tools/re2c/code.c || echo './'`tools/re2c/code.c
cc -I. \
-c -o re2c-dfa.o `test -f tools/re2c/dfa.c || echo './'`tools/re2c/dfa.c
cc -I. \
-c -o re2c-parser.o `test -f tools/re2c/parser.c || echo './'`tools/re2c/parser.c
cc -I. \
-c -o re2c-actions.o `test -f tools/re2c/actions.c || echo './'`tools/re2c/actions.c
cc -I. \
-c -o re2c-scanner.o `test -f tools/re2c/scanner.c || echo './'`tools/re2c/scanner.c
cc -I. \
-c -o re2c-mbo_getopt.o `test -f tools/re2c/mbo_getopt.c || echo './'`tools/re2c/mbo_getopt.c
cc -I. \
-c -o re2c-substr.o `test -f tools/re2c/substr.c || echo './'`tools/re2c/substr.c
cc -I. \
-c -o re2c-translate.o `test -f tools/re2c/translate.c || echo './'`tools/re2c/translate.c
cc -I. \
-c -o genmacro.o `test -f tools/genmacro/genmacro.c || echo './'`tools/genmacro/genmacro.c
cc -I. -c -o genversion.o `test -f modules/preprocs/nasm/genversion.c || echo './'`modules/preprocs/nasm/genversion.c
cc -I. -c -o genstring.o `test -f genstring.c || echo './'`genstring.c
cc -o genperf genperf.o gp-perfect.o gp-phash.o gp-xmalloc.o gp-xstrdup.o
cc -o re2c re2c-main.o re2c-code.o re2c-dfa.o re2c-parser.o re2c-actions.o re2c-scanner.o re2c-mbo_getopt.o re2c-substr.o re2c-translate.o
Undefined symbols for architecture x86_64:
"_N_", referenced from:
_def_xmalloc in gp-xmalloc.o
_def_xcalloc in gp-xmalloc.o
_def_xrealloc in gp-xmalloc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [genperf] Error 1
make: *** Waiting for unfinished jobs....
HOMEBREW_VERSION: 0.9.3
HEAD: 4fabbd179f3f3441d0e4f26d51e81472ddd51d86
CPU: quad-core 64-bit sandybridge
OS X: 10.7.5-x86_64
Xcode: 4.5 (guessed)
CLT: 4.5.0.0.1.1249367152
X11: 2.6.4 => /usr/X11
$brew doctor
Your system is raring to brew.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment