..[dev@blackbook] - [~/Develop/kalashnikov-522/kalashnikovdb-code/src] - [Tue Apr 29, 03:29]
..[$] <( (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: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:283: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:160:18: note: previous implicit declaration is here
char* record = AK_get_rel_exp(list_elem->data);
^
2 errors generated.
error: command 'clang' failed with exit status 1
Makefile:52: recipe for target 'swig' failed
make: *** [swig] Error 1