$ python ./setup.py bdist_wheel -running bdist_wheel
running build
running build_py
running build_ext
generating cffi module 'build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c'
already up-to-date
building 'monetdbe._lowlevel' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/opt/python/cp36-cp36m/include/python3.6m -c build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c -o build/temp.linux-x86_64-3.6/build/temp.linux-x86_64-3.6/monetdbe._lowlevel.o
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c: In function ‘_cffi_d_monetdb_append’:
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:1055:37: warning: passing argument 4 of ‘monetdb_append’ from incompatible pointer type [-Wincompatible-pointer-types]
return monetdb_append(x0, x1, x2, x3, x4);
^~
In file included from build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:541:
/usr/local/include/monetdb/monetdb_embedded.h:154:23: note: expected ‘bat *’ {aka ‘int *’} but argument is of type ‘monetdb_column **’ {aka ‘struct <anonymous> **’}
embedded_export char* monetdb_append(monetdb_connection conn, const char* schema, const char* table, bat *batids, size_t column_count);
^~~~~~~~~~~~~~
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c: In function ‘_cffi_f_monetdb_append’:
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:1121:41: warning: passing argument 4 of ‘monetdb_append’ from incompatible pointer type [-Wincompatible-pointer-types]
{ result = monetdb_append(x0, x1, x2, x3, x4); }
^~
In file included from build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:541:
/usr/local/include/monetdb/monetdb_embedded.h:154:23: note: expected ‘bat *’ {aka ‘int *’} but argument is of type ‘monetdb_column **’ {aka ‘struct <anonymous> **’}
embedded_export char* monetdb_append(monetdb_connection conn, const char* schema, const char* table, bat *batids, size_t column_count);
^~~~~~~~~~~~~~
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c: At top level:
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:1461:52: error: unknown type name ‘monetdb_table’; did you mean ‘monetdb_types’?
static char * _cffi_d_monetdb_get_table(void * x0, monetdb_table * * x1, char const * x2, char const * x3)
^~~~~~~~~~~~~
monetdb_types
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c: In function ‘_cffi_f_monetdb_get_table’:
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:1470:3: error: unknown type name ‘monetdb_table’; did you mean ‘monetdb_types’?
monetdb_table * * x1;
^~~~~~~~~~~~~
monetdb_types
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:1497:39: error: ‘monetdb_table’ undeclared (first use in this function); did you mean ‘monetdb_time’?
x1 = ((size_t)datasize) <= 640 ? (monetdb_table * *)alloca((size_t)datasize) : NULL;
^~~~~~~~~~~~~
monetdb_time
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:1497:39: note: each undeclared identifier is reported only once for each function it appears in
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:1497:56: error: expected expression before ‘)’ token
x1 = ((size_t)datasize) <= 640 ? (monetdb_table * *)alloca((size_t)datasize) : NULL;
^
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:1523:36: warning: passing argument 2 of ‘monetdb_get_table’ from incompatible pointer type [-Wincompatible-pointer-types]
{ result = monetdb_get_table(x0, x1, x2, x3); }
^~
In file included from build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:541:
/usr/local/include/monetdb/monetdb_embedded.h:156:23: note: expected ‘sql_table **’ {aka ‘struct sql_table **’} but argument is of type ‘int **’
embedded_export char* monetdb_get_table(monetdb_connection conn, sql_table** table, const char* schema_name, const char* table_name);
^~~~~~~~~~~~~~~~~
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c: In function ‘_cffi_d_monetdb_in_transaction’:
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:1538:10: warning: implicit declaration of function ‘monetdb_in_transaction’; did you mean ‘_cffi_d_monetdb_in_transaction’? [-Wimplicit-function-declaration]
return monetdb_in_transaction(x0);
^~~~~~~~~~~~~~~~~~~~~~
_cffi_d_monetdb_in_transaction
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c: In function ‘_cffi_d_monetdb_result_fetch’:
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:1688:35: warning: passing argument 2 of ‘monetdb_result_fetch’ from incompatible pointer type [-Wincompatible-pointer-types]
return monetdb_result_fetch(x0, x1, x2, x3);
^~
In file included from build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:541:
/usr/local/include/monetdb/monetdb_embedded.h:148:23: note: expected ‘monetdb_column **’ {aka ‘struct <anonymous> **’} but argument is of type ‘monetdb_result *’ {aka ‘struct <anonymous> *’}
embedded_export char* monetdb_result_fetch(monetdb_connection conn, monetdb_column** res, monetdb_result* mres, size_t column_index);
^~~~~~~~~~~~~~~~~~~~
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:1688:39: warning: passing argument 3 of ‘monetdb_result_fetch’ from incompatible pointer type [-Wincompatible-pointer-types]
return monetdb_result_fetch(x0, x1, x2, x3);
^~
In file included from build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:541:
/usr/local/include/monetdb/monetdb_embedded.h:148:23: note: expected ‘monetdb_result *’ {aka ‘struct <anonymous> *’} but argument is of type ‘monetdb_column **’ {aka ‘struct <anonymous> **’}
embedded_export char* monetdb_result_fetch(monetdb_connection conn, monetdb_column** res, monetdb_result* mres, size_t column_index);
^~~~~~~~~~~~~~~~~~~~
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c: In function ‘_cffi_f_monetdb_result_fetch’:
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:1743:39: warning: passing argument 2 of ‘monetdb_result_fetch’ from incompatible pointer type [-Wincompatible-pointer-types]
{ result = monetdb_result_fetch(x0, x1, x2, x3); }
^~
In file included from build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:541:
/usr/local/include/monetdb/monetdb_embedded.h:148:23: note: expected ‘monetdb_column **’ {aka ‘struct <anonymous> **’} but argument is of type ‘monetdb_result *’ {aka ‘struct <anonymous> *’}
embedded_export char* monetdb_result_fetch(monetdb_connection conn, monetdb_column** res, monetdb_result* mres, size_t column_index);
^~~~~~~~~~~~~~~~~~~~
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:1743:43: warning: passing argument 3 of ‘monetdb_result_fetch’ from incompatible pointer type [-Wincompatible-pointer-types]
{ result = monetdb_result_fetch(x0, x1, x2, x3); }
^~
In file included from build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:541:
/usr/local/include/monetdb/monetdb_embedded.h:148:23: note: expected ‘monetdb_result *’ {aka ‘struct <anonymous> *’} but argument is of type ‘monetdb_column **’ {aka ‘struct <anonymous> **’}
embedded_export char* monetdb_result_fetch(monetdb_connection conn, monetdb_column** res, monetdb_result* mres, size_t column_index);
^~~~~~~~~~~~~~~~~~~~
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c: At top level:
build/temp.linux-x86_64-3.6/monetdbe._lowlevel.c:1939:108: error: ‘_cffi_d_monetdb_get_table’ undeclared here (not in a function); did you mean ‘_cffi_f_monetdb_get_table’?
{ "monetdb_get_table", (void *)_cffi_f_monetdb_get_table, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 52), (void *)_cffi_d_monetdb_get_table },
^~~~~~~~~~~~~~~~~~~~~~~~~
_cffi_f_monetdb_get_table
error: command 'gcc' failed with exit status 1
make: *** [Makefile:20: wheels] Error 1