Skip to content

Instantly share code, notes, and snippets.

@kyleterry
Created November 26, 2014 05:10
Show Gist options
  • Save kyleterry/eb6f6a84f170d13e9800 to your computer and use it in GitHub Desktop.
Save kyleterry/eb6f6a84f170d13e9800 to your computer and use it in GitHub Desktop.
$ make
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/murmur3.c
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/oleg.c
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/logging.c
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/aol.c
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/rehash.c
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/file.c
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/utils.c
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/tree.c
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/lz4.c
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/stack.c
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/cursor.c
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/data.c
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c -fPIC c_src/transaction.c
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -o /home/kyle/src/OlegDB/build/lib/liboleg.so murmur3.o oleg.o logging.o aol.o rehash.o file.o utils.o tree.o lz4.o stack.o cursor.o data.o transaction.o -fpic -shared -lm
cc -Wall -Werror -g3 -O2 -Wstrict-aliasing=2 -I./include -c c_src/test.c
c_src/test.c: In function ‘test_can_jump_cursor’:
c_src/test.c:212:20: error: redefinition of ‘r_val’
unsigned char *r_val = NULL;
^
c_src/test.c:208:20: note: previous definition of ‘r_val’ was here
unsigned char *r_val = NULL;
^
Makefile:30: recipe for target 'test.o' failed
make: *** [test.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment