Skip to content

Instantly share code, notes, and snippets.

@kyleterry
Created March 5, 2014 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kyleterry/15b9cb23f3dfca4d8c12 to your computer and use it in GitHub Desktop.
Save kyleterry/15b9cb23f3dfca4d8c12 to your computer and use it in GitHub Desktop.
[ OK kyle@nebula:~/src/personal/Project-Oleg ]
[ [git:master] ]
$ make; make
gcc -std=gnu99 -Wall -Werror -g3 -O2 -I./include -I/usr/local/Cellar/erlang/R16B03/lib/erlang/usr/include/ -I/usr/local/Cellar/erlang/R16B03/lib/erlang/lib/erl_interface-3.7.15/include/ -c -fPIC src/murmur3.c
gcc -std=gnu99 -Wall -Werror -g3 -O2 -I./include -I/usr/local/Cellar/erlang/R16B03/lib/erlang/usr/include/ -I/usr/local/Cellar/erlang/R16B03/lib/erlang/lib/erl_interface-3.7.15/include/ -c -fPIC src/oleg.c
gcc -std=gnu99 -Wall -Werror -g3 -O2 -I./include -I/usr/local/Cellar/erlang/R16B03/lib/erlang/usr/include/ -I/usr/local/Cellar/erlang/R16B03/lib/erlang/lib/erl_interface-3.7.15/include/ -c -fPIC src/dump.c
gcc -std=gnu99 -Wall -Werror -g3 -O2 -I./include -I/usr/local/Cellar/erlang/R16B03/lib/erlang/usr/include/ -I/usr/local/Cellar/erlang/R16B03/lib/erlang/lib/erl_interface-3.7.15/include/ -c -fPIC src/logging.c
gcc -std=gnu99 -Wall -Werror -g3 -O2 -I./include -I/usr/local/Cellar/erlang/R16B03/lib/erlang/usr/include/ -I/usr/local/Cellar/erlang/R16B03/lib/erlang/lib/erl_interface-3.7.15/include/ -c -fPIC src/aol.c
gcc -std=gnu99 -Wall -Werror -g3 -O2 -I./include -I/usr/local/Cellar/erlang/R16B03/lib/erlang/usr/include/ -I/usr/local/Cellar/erlang/R16B03/lib/erlang/lib/erl_interface-3.7.15/include/ -c -fPIC src/port_driver.c
gcc -Wall -Werror -g3 -O2 -I./include -I/usr/local/Cellar/erlang/R16B03/lib/erlang/usr/include/ -I/usr/local/Cellar/erlang/R16B03/lib/erlang/lib/erl_interface-3.7.15/include/ -o /Users/kyle/src/personal/Project-Oleg/build/lib/liboleg.so murmur3.o logging.o dump.o aol.o oleg.o -fpic -shared
gcc -Wall -Werror -g3 -O2 -I./include -I/usr/local/Cellar/erlang/R16B03/lib/erlang/usr/include/ -I/usr/local/Cellar/erlang/R16B03/lib/erlang/lib/erl_interface-3.7.15/include/ -L/usr/local/Cellar/erlang/R16B03/lib/erlang/usr/lib/ -L/usr/local/Cellar/erlang/R16B03/lib/erlang/lib/erl_interface-3.7.15/lib/ -L/Users/kyle/src/personal/Project-Oleg/build/lib/ -o /Users/kyle/src/personal/Project-Oleg/build/lib/libolegserver.so port_driver.o -fpic -shared -loleg -lei
Undefined symbols for architecture x86_64:
"_driver_alloc", referenced from:
_oleg_start in port_driver.o
_oleg_output in port_driver.o
"_driver_free", referenced from:
_oleg_stop in port_driver.o
_oleg_output in port_driver.o
"_driver_output", referenced from:
_oleg_output in port_driver.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: *** [/Users/kyle/src/personal/Project-Oleg/build/lib/liboleg.so] Error 1
gcc -std=gnu99 -Wall -Werror -g3 -O2 -I./include -I/usr/local/Cellar/erlang/R16B03/lib/erlang/usr/include/ -I/usr/local/Cellar/erlang/R16B03/lib/erlang/lib/erl_interface-3.7.15/include/ -c src/test.c
gcc -std=gnu99 -Wall -Werror -g3 -O2 -I./include -I/usr/local/Cellar/erlang/R16B03/lib/erlang/usr/include/ -I/usr/local/Cellar/erlang/R16B03/lib/erlang/lib/erl_interface-3.7.15/include/ -c src/main.c
gcc -Wall -Werror -g3 -O2 -I./include -I/usr/local/Cellar/erlang/R16B03/lib/erlang/usr/include/ -I/usr/local/Cellar/erlang/R16B03/lib/erlang/lib/erl_interface-3.7.15/include/ -L/Users/kyle/src/personal/Project-Oleg/build/lib/ -o /Users/kyle/src/personal/Project-Oleg/build/bin/oleg_test test.o main.o -loleg
erlc -smp -W1 -Werror -b beam -I./include -o /Users/kyle/src/personal/Project-Oleg/build/bin/ -DLIBLOCATION=\"./build/lib/\" src/ol_database.erl
erlc -smp -W1 -Werror -b beam -I./include -o /Users/kyle/src/personal/Project-Oleg/build/bin/ -DLIBLOCATION=\"./build/lib/\" src/ol_http.erl
erlc -smp -W1 -Werror -b beam -I./include -o /Users/kyle/src/personal/Project-Oleg/build/bin/ -DLIBLOCATION=\"./build/lib/\" src/ol_parse.erl
erlc -smp -W1 -Werror -b beam -I./include -o /Users/kyle/src/personal/Project-Oleg/build/bin/ -DLIBLOCATION=\"./build/lib/\" src/ol_util.erl
erlc -smp -W1 -Werror -b beam -I./include -o /Users/kyle/src/personal/Project-Oleg/build/bin/ -DLIBLOCATION=\"./build/lib/\" src/olegdb.erl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment