Skip to content

Instantly share code, notes, and snippets.

@jsam
Created April 29, 2014 13:17
Show Gist options
  • Save jsam/11400064 to your computer and use it in GitHub Desktop.
Save jsam/11400064 to your computer and use it in GitHub Desktop.
..[dev@blackbook] - [~/Develop/kalashnikov-522/kalashnikovdb-code/src] - [Tue Apr 29, 03:16]
..[$] <( (svn)-[code:522]-)> make swig
cd swig && swig -python kalashnikovDB.i && python setup.py build_ext --inplace && cd ..
../file/table.h:30: Warning 302: Identifier 'AK_create_table' redefined (ignored),
../file/table.c:50: Warning 302: previous definition of 'AK_create_table'.
../trans/transaction.c:30: Warning 302: Identifier 'observable_transaction' redefined (ignored),
../trans/transaction.h:48: Warning 302: previous definition of 'observable_transaction'.
../sql/command.h:8: Warning 302: Identifier 'AK_command' redefined (ignored),
../sql/command.c:50: Warning 302: previous definition of 'AK_command'.
../dm/dbman.h:110: Warning 454: Setting a pointer/reference variable may leak memory.
../dm/dbman.h:153: Warning 454: Setting a pointer/reference variable may leak memory.
../mm/memoman.h:121: Warning 454: Setting a pointer/reference variable may leak memory.
../mm/memoman.h:126: Warning 454: Setting a pointer/reference variable may leak memory.
../mm/memoman.h:131: Warning 454: Setting a pointer/reference variable may leak memory.
../file/table.c:601: Warning 454: Setting a pointer/reference variable may leak memory.
../auxi/iniparser.c:755: Warning 454: Setting a pointer/reference variable may leak memory.
running build_ext
building '_kalashnikovDB' extension
clang -pthread -w -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -I/usr/include/python3.3m -c kalashnikovDB_wrap.c -o build/temp.linux-x86_64-3.3/kalashnikovDB_wrap.o
In file included from kalashnikovDB_wrap.c:3029:
In file included from ./implementation.h:16:
In file included from ./../auxi/mempro.c:23:
./../rec/../auxi/mempro.h:181:7: error: conflicting types for 'AK_calloc'
void* AK_calloc(size_t, size_t);
^
./../rec/redo_log.c:40:26: note: previous implicit declaration is here
if((record = (char*) AK_calloc(MAX_VARCHAR_LENGTH, sizeof(char))) == NULL){
^
In file included from kalashnikovDB_wrap.c:3029:
In file included from ./implementation.h:16:
In file included from ./../auxi/mempro.c:23:
./../rec/../auxi/mempro.h:182:7: error: conflicting types for 'AK_malloc'
void* AK_malloc(size_t);
^
./../rec/redo_log.c:44:30: note: previous implicit declaration is here
char* int_char = (char*) AK_malloc(MAX_VARCHAR_LENGTH * sizeof(char));
^
In file included from kalashnikovDB_wrap.c:3029:
In file included from ./implementation.h:16:
In file included from ./../auxi/mempro.c:23:
./../rec/../auxi/mempro.h:183:6: error: conflicting types for 'AK_free'
void AK_free(void*);
^
./../rec/redo_log.c:90:5: note: previous implicit declaration is here
AK_free(record);
^
In file included from kalashnikovDB_wrap.c:3029:
In file included from ./implementation.h:16:
In file included from ./../auxi/mempro.c:23:
./../rec/../auxi/mempro.h:184:7: error: conflicting types for 'AK_realloc'
void* AK_realloc(void*, size_t);
^
./../opti/query_optimization.c:213:27: note: previous implicit declaration is here
temp = (AK_list *)AK_realloc(temp, num_perms * sizeof(temps));
^
In file included from kalashnikovDB_wrap.c:3029:
In file included from ./implementation.h:16:
./../auxi/mempro.c:425:7: error: conflicting types for 'AK_calloc'
void* AK_calloc(size_t num, size_t size){
^
./../rec/redo_log.c:40:26: note: previous implicit declaration is here
if((record = (char*) AK_calloc(MAX_VARCHAR_LENGTH, sizeof(char))) == NULL){
^
In file included from kalashnikovDB_wrap.c:3029:
In file included from ./implementation.h:16:
./../auxi/mempro.c:441:7: error: conflicting types for 'AK_malloc'
void* AK_malloc(size_t size){
^
./../rec/redo_log.c:44:30: note: previous implicit declaration is here
char* int_char = (char*) AK_malloc(MAX_VARCHAR_LENGTH * sizeof(char));
^
In file included from kalashnikovDB_wrap.c:3029:
In file included from ./implementation.h:16:
./../auxi/mempro.c:451:6: error: conflicting types for 'AK_free'
void AK_free(void* ptr){
^
./../rec/redo_log.c:90:5: note: previous implicit declaration is here
AK_free(record);
^
In file included from kalashnikovDB_wrap.c:3029:
In file included from ./implementation.h:16:
./../auxi/mempro.c:463:7: error: conflicting types for 'AK_realloc'
void* AK_realloc(void* ptr, size_t size){
^
./../opti/query_optimization.c:213:27: note: previous implicit declaration is here
temp = (AK_list *)AK_realloc(temp, num_perms * sizeof(temps));
^
In file included from kalashnikovDB_wrap.c:3029:
In file included from ./implementation.h:37:
./../sql/view.c:45:7: error: conflicting types for 'AK_get_view_query'
char* AK_get_view_query(char *name){
^
./../opti/query_optimization.c:282:19: note: previous implicit declaration is here
char* query = AK_get_view_query("view1");
^
In file included from kalashnikovDB_wrap.c:3029:
In file included from ./implementation.h:37:
./../sql/view.c:65:7: error: conflicting types for 'AK_get_rel_exp'
char* AK_get_rel_exp(char *name){
^
./../opti/query_optimization.c:159:18: note: previous implicit declaration is here
char* record = AK_get_rel_exp(list_elem->data);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment