[redland-dev] cygwin build - raptor2-2.0.0.tar.gz

Iraklis Leontiadis leontiad at gmail.com
Sat Jan 22 18:51:59 CET 2011


I added the missing library paths at the /python/Makefile and the huge list 
with  undefined references to python objects was fixed.
But now I am getting some errors from the librdf static library:
home at home-PC ~/redland-bindings-1.0.11.1/python
$ make install
Making install in test
make[1]: Entering directory 
`/home/home/redland-bindings-1.0.11.1/python/test'
make[2]: Entering directory 
`/home/home/redland-bindings-1.0.11.1/python/test'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory 
`/home/home/redland-bindings-1.0.11.1/python/test'
make[1]: Leaving directory 
`/home/home/redland-bindings-1.0.11.1/python/test'
make[1]: Entering directory `/home/home/redland-bindings-1.0.11.1/python'
gcc -g -O2  -I/usr/local/include -I/usr/local/include/raptor2 -I/usr/local/include/rasqal 
    -DSWIG_PYTHON_SILENT_MEMLEAK -g -O2 Redl
and_wrap.so -shared -L/usr/local/lib -L/usr/lib/python2.6 -L/usr/lib -lltdl  
-lrdf -lrasqal -lraptor2 -lxml2 -lz -liconv -lm -lpython2
.6    -o Redland.so
/usr/local/lib/librdf.a(rdf_init.o): In function `librdf_free_world':
/home/home/redland-1.0.12/src/rdf_init.c:235: undefined reference to 
`_lt_dlexit'
/usr/local/lib/librdf.a(rdf_init.o): In function `librdf_new_world':
/home/home/redland-1.0.12/src/rdf_init.c:161: undefined reference to 
`_lt_dlinit'
/home/home/redland-1.0.12/src/rdf_init.c:163: undefined reference to 
`_lt_dlsetsearchpath'
/usr/local/lib/librdf.a(rdf_storage.o): In function 
`librdf_storage_load_all_modules':
/home/home/redland-1.0.12/src/rdf_storage.c:266: undefined reference to 
`_lt_dlforeachfile'
/home/home/redland-1.0.12/src/rdf_storage.c:264: undefined reference to 
`_lt_dlgetsearchpath'
/usr/local/lib/librdf.a(rdf_storage.o): In function 
`librdf_storage_load_module':
/home/home/redland-1.0.12/src/rdf_storage.c:286: undefined reference to 
`_lt_dlopenext'
/home/home/redland-1.0.12/src/rdf_storage.c:289: undefined reference to 
`_lt_dlsym'
/home/home/redland-1.0.12/src/rdf_storage.c:294: undefined reference to 
`_lt_dlclose'
/usr/local/lib/librdf.a(rdf_storage.o): In function `librdf_init_storage':
/home/home/redland-1.0.12/src/rdf_storage.c:107: undefined reference to 
`_lt_dlclose'
collect2: ld returned 1 exit status
make[1]: *** [Redland-stamp] Error 1
make[1]: Leaving directory `/home/home/redland-bindings-1.0.11.1/python'
make: *** [install-recursive] Error 1

all these references are part of the libtldl which is included at gcc.Also 
the fact that there are linking problems with the librdf means that I built 
it wrongly?
I'd appreciate your responses.

Thanks
Iraklis
--------------------------------------------------
From: "Iraklis Leontiadis" <leontiad at gmail.com>
Sent: Wednesday, January 19, 2011 02:55 PM
To: "Derlis" <orlandogregor at gmail.com>
Cc: <redland-dev at lists.librdf.org>
Subject: Re: [redland-dev] cygwin build - raptor2-2.0.0.tar.gz

> Yes you are  right.How stupid. I forgot the makefile. I modify a little 
> bit the Makefile to be compatible with my paths for the headers files and 
> I have the examples installed.
>
> Next I tried to install the python binding(which is my first goal.)
> Under the redland-binding-1.0.11/ I run the configure script and then 
> under /python I tried "make install" and I got a huge list with undefined 
> references like these :
>
> Making install in test
> make[1]: Entering directory 
> `/home/home/redland-bindings-1.0.11.1/python/test'
> make[2]: Entering directory 
> `/home/home/redland-bindings-1.0.11.1/python/test'
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory 
> `/home/home/redland-bindings-1.0.11.1/python/test'
> make[1]: Leaving directory 
> `/home/home/redland-bindings-1.0.11.1/python/test'
> make[1]: Entering directory `/home/home/redland-bindings-1.0.11.1/python'
> gcc -g -O2  -I/usr/local/include -I/usr/local/include/raptor2 -I/usr/local/include/rasqal 
>  -DSWIG_PYTHON_SILENT_MEMLEAK -g -O2
> Redland_wrap.so -shared -L/usr/local/lib -lrdf -lrasqal -lraptor2 -lxml2 -lz 
>  -liconv -lm     -o Redland.so
> Redland_wrap.so: In function `SWIG_Python_ErrorType':
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:919: 
> undefined reference to `__imp__PyExc_RuntimeError'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:889: 
> undefined reference to `__imp__PyExc_IOError'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:886: 
> undefined reference to `__imp__PyExc_MemoryError'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:916: 
> undefined reference to `__imp__PyExc_AttributeError'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:913: 
> undefined reference to `__imp__PyExc_SystemError'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:910: 
> undefined reference to `__imp__PyExc_ValueError'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:907: 
> undefined reference to `__imp__PyExc_SyntaxError'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:904: 
> undefined reference to `__imp__PyExc_OverflowError'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:901: 
> undefined reference to `__imp__PyExc_ZeroDivisionError'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:898: 
> undefined reference to `__imp__PyExc_TypeError'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:895: 
> undefined reference to `__imp__PyExc_IndexError'
> Redland_wrap.so: In function `SwigPyObject_richcompare':
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:1512: 
> undefined reference to `__imp___Py_NotImplementedStruct'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:1516: 
> undefined reference to `__imp___Py_TrueStruct'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:1516: 
> undefined reference to `__imp___Py_ZeroStruct'
> Redland_wrap.so: In function `_PySwigObject_type':
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:1826: 
> undefined reference to `__imp__PyType_Type'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:1823: 
> undefined reference to `_PyObject_GenericGetAttr'
> Redland_wrap.so: In function `_PySwigPacked_type':
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:2001: 
> undefined reference to `__imp__PyType_Type'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:1998: 
> undefined reference to `_PyObject_GenericGetAttr'
> Redland_wrap.so: In function `SWIG_Python_SetErrorMsg':
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:1134: 
> undefined reference to `_PyErr_SetString'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:1134: 
> undefined reference to `_PyErr_SetString'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:1134: 
> undefined reference to `_PyErr_SetString'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:1134: 
> undefined reference to `_PyErr_SetString'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:1134: 
> undefined reference to `_PyErr_SetString'
> Redland_wrap.so:/home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:1134: 
> more undefined references to `_PyErr_SetStrin
> g' follow
> Redland_wrap.so: In function `_SWIG_Py_None':
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:1284: 
> undefined reference to `_Py_BuildValue'
> Redland_wrap.so: In function `swig_varlink_setattr':
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:12163: 
> undefined reference to `_PyErr_Occurred'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:12164: 
> undefined reference to `__imp__PyExc_NameError'
> /home/home/redland-bindings-1.0.11.1/python/./Redland_wrap.c:12164: 
> undefined reference to `_PyErr_SetString'
>
>
> redland-bindings-1.0.11 is not supposed to run along with redland-1.0.12? 
> Or I guess there is some problem with my python on cygwin.it is not 
> understanding the libraries of python maybe?
>
> Thank you
>
> --------------------------------------------------
> From: "Derlis" <orlandogregor at gmail.com>
> Sent: Wednesday, January 19, 2011 01:33 PM
> To: "Iraklis Leontiadis" <leontiad at gmail.com>
> Subject: Re: [redland-dev] cygwin build - raptor2-2.0.0.tar.gz
>
>> Hi Iraklis
>>
>> You only have to write  make example1
>>
>> The best way is to create a script specifying the locations of bin 
>> raptor, rasqal and redland..
>>
>> If you want to make all examples only type make examples..
>>
>> Cheers
>>
>>
>>
>> --------------------------------------------------
>> From: "Iraklis Leontiadis" <leontiad at gmail.com>
>> Sent: Wednesday, January 19, 2011 1:00 PM
>> To: "Nicholas Humfrey" <njh at aelius.com>; "Redland RDF" 
>> <redland-dev at lists.librdf.org>
>> Subject: Re: [redland-dev] cygwin build - raptor2-2.0.0.tar.gz
>>
>>> Hello,
>>> Ok the 3 packages have been successfully installed:
>>> raptor2-1.9.1
>>> rasqal-0.9.21
>>> redland-1.0.12
>>> .
>>> But now I am getting some linking errors when I am trying to compile the
>>> example1.c under redland-1.0.12/examples :
>>>
>>>
>>>
>>> $ gcc -L/usr/local/lib example1.c -lraptor2 -lrasqal -lrdf -lxml2
>>>
>>> /usr/local/lib/librdf.a(rdf_init.o): In function `librdf_free_world':
>>> /home/home/redland-1.0.12/src/rdf_init.c:235: undefined reference to
>>> `_lt_dlexit'
>>> /usr/local/lib/librdf.a(rdf_init.o): In function `librdf_new_world':
>>> /home/home/redland-1.0.12/src/rdf_init.c:161: undefined reference to
>>> `_lt_dlinit'
>>> /home/home/redland-1.0.12/src/rdf_init.c:163: undefined reference to
>>> `_lt_dlsetsearchpath'
>>> /usr/local/lib/librdf.a(rdf_storage.o): In function
>>> `librdf_storage_load_all_modules':
>>> /home/home/redland-1.0.12/src/rdf_storage.c:266: undefined reference to
>>> `_lt_dlforeachfile'
>>> /home/home/redland-1.0.12/src/rdf_storage.c:264: undefined reference to
>>> `_lt_dlgetsearchpath'
>>> /usr/local/lib/librdf.a(rdf_storage.o): In function
>>> `librdf_storage_load_module':
>>> /home/home/redland-1.0.12/src/rdf_storage.c:286: undefined reference to
>>> `_lt_dlopenext'
>>> /home/home/redland-1.0.12/src/rdf_storage.c:289: undefined reference to
>>> `_lt_dlsym'
>>> /home/home/redland-1.0.12/src/rdf_storage.c:294: undefined reference to
>>> `_lt_dlclose'
>>> /usr/local/lib/librdf.a(rdf_storage.o): In function 
>>> `librdf_init_storage':
>>> /home/home/redland-1.0.12/src/rdf_storage.c:107: undefined reference to
>>> `_lt_dlclose'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_destructor':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:1458: undefined 
>>> reference
>>> to `_rasqal_free_world'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_constructor':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:1402: undefined 
>>> reference
>>> to `_rasqal_set_triples_source_factory'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:1409: undefined 
>>> reference
>>> to `_rasqal_languages_enumerate'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:1412: undefined 
>>> reference
>>> to `_rasqal_languages_enumerate'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:1376: undefined 
>>> reference
>>> to `_rasqal_new_world'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:1392: undefined 
>>> reference
>>> to `_rasqal_world_set_raptor'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:1394: undefined 
>>> reference
>>> to `_rasqal_world_open'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_free_results_formatter':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:1314: undefined 
>>> reference
>>> to `_rasqal_free_query_results_formatter'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_new_results_formatter':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:1281: undefined 
>>> reference
>>> to `_rasqal_new_query_results_formatter2'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:1301: undefined 
>>> reference
>>> to `_rasqal_free_query_results_formatter'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_query_results_update_statement':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:1014: undefined 
>>> reference
>>> to `_rasqal_query_results_get_triple'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_query_results_next_statement':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:1189: undefined 
>>> reference
>>> to `_rasqal_query_results_next_triple'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_free_results':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:919: undefined 
>>> reference to
>>> `_rasqal_free_query_results'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `rasqal_literal_to_redland_node':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:227: undefined 
>>> reference to
>>> `_rasqal_literal_get_rdf_term_type'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_results_get_binding_value_by_name':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:891: undefined 
>>> reference to
>>> `_rasqal_query_results_get_binding_value_by_name'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_results_get_binding_value':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:862: undefined 
>>> reference to
>>> `_rasqal_query_results_get_binding_value'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_results_get_bindings':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:841: undefined 
>>> reference to
>>> `_rasqal_query_results_get_bindings'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:848: undefined 
>>> reference to
>>> `_rasqal_query_results_get_bindings_count'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:843: undefined 
>>> reference to
>>> `_rasqal_query_results_get_bindings'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_set_offset':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:786: undefined 
>>> reference to
>>> `_rasqal_query_set_offset'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_set_limit':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:769: undefined 
>>> reference to
>>> `_rasqal_query_set_limit'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_execute':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:734: undefined 
>>> reference to
>>> `_rasqal_query_prepare'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:739: undefined 
>>> reference to
>>> `_rasqal_free_query_results'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:741: undefined 
>>> reference to
>>> `_rasqal_query_execute'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:747: undefined 
>>> reference to
>>> `_rasqal_free_query_results'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_terminate':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:183: undefined 
>>> reference to
>>> `_rasqal_free_query'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_init':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:147: undefined 
>>> reference to
>>> `_rasqal_new_query'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:151: undefined 
>>> reference to
>>> `_rasqal_query_set_user_data'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:154: undefined 
>>> reference to
>>> `_rasqal_world_set_log_handler'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `rasqal_redland_new_triples_source':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:322: undefined 
>>> reference to
>>> `_rasqal_query_get_user_data'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:326: undefined 
>>> reference to
>>> `_rasqal_query_get_data_graph_sequence'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:334: undefined 
>>> reference to
>>> `_rasqal_free_data_graph'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:353: undefined 
>>> reference to
>>> `_rasqal_query_add_data_graph'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `rasqal_redland_init_triples_match':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:647: undefined 
>>> reference to
>>> `_rasqal_literal_as_variable'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:658: undefined 
>>> reference to
>>> `_rasqal_literal_as_variable'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:669: undefined 
>>> reference to
>>> `_rasqal_literal_as_variable'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:681: undefined 
>>> reference to
>>> `_rasqal_literal_as_variable'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `redland_node_to_rasqal_literal':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:255: undefined 
>>> reference to
>>> `_rasqal_new_uri_literal'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:265: undefined 
>>> reference to
>>> `_rasqal_alloc_memory'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:272: undefined 
>>> reference to
>>> `_rasqal_alloc_memory'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:283: undefined 
>>> reference to
>>> `_rasqal_new_string_literal'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:289: undefined 
>>> reference to
>>> `_rasqal_alloc_memory'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:294: undefined 
>>> reference to
>>> `_rasqal_new_simple_literal'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:274: undefined 
>>> reference to
>>> `_rasqal_free_memory'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `rasqal_redland_bind_match':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:483: undefined 
>>> reference to
>>> `_rasqal_variable_set_value'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:464: undefined 
>>> reference to
>>> `_rasqal_variable_set_value'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:573: undefined 
>>> reference to
>>> `_rasqal_variable_set_value'
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:522: undefined 
>>> reference to
>>> `_rasqal_variable_set_value'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_results_formatter_write':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:1327: undefined 
>>> reference
>>> to `_rasqal_query_results_formatter_write'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_results_get_boolean':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:985: undefined 
>>> reference to
>>> `_rasqal_query_results_get_boolean'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_results_is_syntax':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:972: undefined 
>>> reference to
>>> `_rasqal_query_results_is_syntax'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_results_is_graph':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:959: undefined 
>>> reference to
>>> `_rasqal_query_results_is_graph'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_results_is_boolean':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:946: undefined 
>>> reference to
>>> `_rasqal_query_results_is_boolean'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_results_is_bindings':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:933: undefined 
>>> reference to
>>> `_rasqal_query_results_is_bindings'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_results_get_bindings_count':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:906: undefined 
>>> reference to
>>> `_rasqal_query_results_get_bindings_count'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_results_get_binding_name':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:877: undefined 
>>> reference to
>>> `_rasqal_query_results_get_binding_name'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_results_finished':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:822: undefined 
>>> reference to
>>> `_rasqal_query_results_finished'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_results_next':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:809: undefined 
>>> reference to
>>> `_rasqal_query_results_next'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_results_get_count':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:796: undefined 
>>> reference to
>>> `_rasqal_query_results_get_count'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_get_offset':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:778: undefined 
>>> reference to
>>> `_rasqal_query_get_offset'
>>> /usr/local/lib/librdf.a(rdf_query_rasqal.o): In function
>>> `librdf_query_rasqal_get_limit':
>>> /home/home/redland-1.0.12/src/rdf_query_rasqal.c:761: undefined 
>>> reference to
>>> `_rasqal_query_get_limit'
>>> collect2: ld returned 1 exit status
>>>
>>>
>>> any ideas?It seems like linking problems between librdf static library 
>>> and
>>> other references.
>>> --------------------------------------------------
>>> From: "Nicholas Humfrey" <njh at aelius.com>
>>> Sent: Tuesday, January 18, 2011 08:27 PM
>>> To: "Redland RDF" <redland-dev at lists.librdf.org>
>>> Subject: Re: [redland-dev] cygwin build - raptor2-2.0.0.tar.gz
>>>
>>>> Hello,
>>>>
>>>> The combination I use to build Redstore 0.5.1 is:
>>>> raptor2-1.9.1
>>>> rasqal-0.9.21
>>>> redland-1.0.12
>>>>
>>>> They work well together.
>>>>
>>>> nick.
>>>>
>>>> On 18 Jan 2011, at 15:12, Iraklis Leontiadis wrote:
>>>>
>>>>> Thanks Lauri,
>>>>> Where could I see the compatible versions between 
>>>>> raptor,rasqal,redland
>>>>> and
>>>>> redland bindings?
>>>>>
>>>>> Iraklis
>>>>>
>>>>> --------------------------------------------------
>>>>> From: "Lauri Aalto" <laalto at gmail.com>
>>>>> Sent: Tuesday, January 18, 2011 03:56 PM
>>>>> To: "Iraklis Leontiadis" <leontiad at gmail.com>
>>>>> Cc: <redland-dev at lists.librdf.org>
>>>>> Subject: Re: [redland-dev] cygwin build - raptor2-2.0.0.tar.gz
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> (note it's line 1588 not 1558).
>>>>>>
>>>>>> redland-1.0.12 is not source compatible with raptor2-2.0.0 due to API
>>>>>> changes in raptor2 after the latest redland release.
>>>>>>
>>>>>> Either wait for the next release of redland or pull the latest 
>>>>>> sources
>>>>>> from https://github.com/dajobe/librdf .
>>>>>>
>>>>>> Lauri
>>>>>>
>>>>>> On Tue, Jan 18, 2011 at 4:42 PM, Iraklis Leontiadis 
>>>>>> <leontiad at gmail.com>
>>>>>> wrote:
>>>>>>> Afterwards I built the rasqal and then I tried to install the
>>>>>>> redland-1.0.12
>>>>>>> software but and I "make" it I received the following error:
>>>>>>>
>>>>>>> $ make
>>>>>>> Making all in libltdl
>>>>>>> make[1]: Entering directory `/home/home/redland-1.0.12/libltdl'
>>>>>>> make  all-am
>>>>>>> make[2]: Entering directory `/home/home/redland-1.0.12/libltdl'
>>>>>>> make[2]: Leaving directory `/home/home/redland-1.0.12/libltdl'
>>>>>>> make[1]: Leaving directory `/home/home/redland-1.0.12/libltdl'
>>>>>>> Making all in src
>>>>>>> make[1]: Entering directory `/home/home/redland-1.0.12/src'
>>>>>>> make  all-recursive
>>>>>>> make[2]: Entering directory `/home/home/redland-1.0.12/src'
>>>>>>> Making all in win32
>>>>>>> make[3]: Entering directory `/home/home/redland-1.0.12/src/win32'
>>>>>>> make[3]: Nothing to be done for `all'.
>>>>>>> make[3]: Leaving directory `/home/home/redland-1.0.12/src/win32'
>>>>>>> make[3]: Entering directory `/home/home/redland-1.0.12/src'
>>>>>>> /bin/sh ../libtool  --tag=CC   --mode=compile
>>>>>>>
>>>>>>> -DHAVE_CONFIG_H -I.  -I/usr/local/include/raptor2   -I/usr/local/include/rasqal
>>>>>>> -I/
>>>>>>>
>>>>>>>
>>>>>>> local/include/raptor2    -DPKGDATADIR="\"/usr/local/share/redland\""
>>>>>>> -I/usr/local/include/raptor2
>>>>>>>  -I/usr/local/include/rasqal
>>>>>>> -I/usr/local/include/raptor2     -DREDLAND_MODULE_PATH="\""/usr/local/lib/redland"\""
>>>>>>> -DLIBRDF_INTERNAL=1 -g -O2 -MT rdf_parser_rapto
>>>>>>> r.lo -MD -MP -MF .deps/rdf_parser_raptor.Tpo -c -o 
>>>>>>> rdf_parser_raptor.lo
>>>>>>> rdf_parser_raptor.c
>>>>>>> libtool: compile:
>>>>>>> gcc -DHAVE_CONFIG_H -I. -I/usr/local/include/raptor2 -I/usr/local/include/rasqal
>>>>>>> -I/usr/local/include/raptor2 -DPK
>>>>>>> GDATADIR=\"/usr/local/share/redland\" -I/usr/local/include/raptor2 -I/usr/local/include/rasqal
>>>>>>> -I/usr/local/include/raptor2 -DREDLAND
>>>>>>> _MODULE_PATH=\"/usr/local/lib/redland\" -DLIBRDF_INTERNAL=1 -g -O2 -MT
>>>>>>> rdf_parser_raptor.lo -MD -MP -MF .deps/rdf_parser_raptor.Tpo -
>>>>>>> c rdf_parser_raptor.c  -DDLL_EXPORT -DPIC -o 
>>>>>>> .libs/rdf_parser_raptor.o
>>>>>>> rdf_parser_raptor.c: In function 'librdf_parser_raptor_constructor':
>>>>>>> rdf_parser_raptor.c:1588: error: 'raptor_syntax_description' has no
>>>>>>> member
>>>>>>> named 'uri_string'
>>>>>>> make[3]: *** [rdf_parser_raptor.lo] Error 1
>>>>>>> make[3]: Leaving directory `/home/home/redland-1.0.12/src'
>>>>>>> make[2]: *** [all-recursive] Error 1
>>>>>>> make[2]: Leaving directory `/home/home/redland-1.0.12/src'
>>>>>>> make[1]: *** [all] Error 2
>>>>>>> make[1]: Leaving directory `/home/home/redland-1.0.12/src'
>>>>>>> make: *** [all-recursive] Error 1
>>>>>>>
>>>>>>> I realized that the source files are out of date because at line 
>>>>>>> 1558
>>>>>>> there
>>>>>>> are comments.
>>>>>>> How can I fix this?
>>>>>>
>>>>> _______________________________________________
>>>>> redland-dev mailing list
>>>>> redland-dev at lists.librdf.org
>>>>> http://lists.librdf.org/mailman/listinfo/redland-dev
>>>>
>>>> _______________________________________________
>>>> redland-dev mailing list
>>>> redland-dev at lists.librdf.org
>>>> http://lists.librdf.org/mailman/listinfo/redland-dev
>>>>
>>> _______________________________________________
>>> redland-dev mailing list
>>> redland-dev at lists.librdf.org
>>> http://lists.librdf.org/mailman/listinfo/redland-dev
>>
>>
> 


More information about the redland-dev mailing list