Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't build with recent versions of 4store (1.1.3) #4

Open
cajus opened this issue May 31, 2011 · 0 comments
Open

Doesn't build with recent versions of 4store (1.1.3) #4

cajus opened this issue May 31, 2011 · 0 comments

Comments

@cajus
Copy link

cajus commented May 31, 2011

It seems like some of the includes have been renamed (4s-datatypes.h, 4s-hash.h) and a couple of method signatures changed.

python setup.py build

running build
running build_py
running build_ext
building '_py4s' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LAQRS=1 -DHAVE_RASQAL_WORLD=1 -DUSE_AVAHI=1 -Isrc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/rasqal -I/usr/include/raptor2 -I/usr/include/python2.6 -c _py4s.c -o build/temp.linux-i686-2.6/_py4s.o -std=gnu99
_py4s.c:158:30: error: common/datatypes.h: No such file or directory
_py4s.c:160:25: error: common/hash.h: No such file or directory
In file included from _py4s.c:163:
src/frontend/import.h:19: warning: function declaration isn't a prototype
_py4s.c: In function 'pyx_pf_5_py4s_7_Cursor___cinit':
_py4s.c:2730: error: too few arguments to function 'fs_query_init'
_py4s.c: In function '__pyx_pf_5_py4s_7_Cursor_execute':
_py4s.c:3259: warning: passing argument 1 of 'raptor_new_uri' from incompatible pointer type
/usr/include/raptor2/raptor.h:1148: note: expected 'struct raptor_world *' but argument is of type 'unsigned char *'
_py4s.c:3259: error: too few arguments to function 'raptor_new_uri'
_py4s.c:3268: error: too few arguments to function 'fs_query_execute'
_py4s.c: In function '__pyx_pf_5_py4s_7_Cursor_update':
_py4s.c:4124: warning: passing argument 1 of 'fs_update' from incompatible pointer type
src/frontend/update.h:13: note: expected 'struct fs_query_state *' but argument is of type 'struct fsp_link *'
error: command 'gcc' failed with exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant