Solved it, the error was:

ocamlmklib      -L-lstdc++    \
                                -o taglib_stubs  taglib_stubs.o -l-ltag \

/usr/bin/ld: taglib_stubs.o: relocation R_X86_64_32 against `.rodata' can
not be used when making a shared object; recompile with -fPIC
taglib_stubs.o: could not read symbols: Bad value


I solved liek this:

I deleted the taglib_stubs.o file.
In Make added the followin:
CXXFLAGS=-fPIC

Em 22 de setembro de 2011 14:01, Fábio Costa <[email protected]>escreveu:

> Found the problem with fPic i am in an amd64 and some shared libraries
> should be compiled with -fPic as
> http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3
>
> Will see how to fix it and post the solution
>
> Em 22 de setembro de 2011 13:41, Fábio Costa 
> <[email protected]>escreveu:
>
> I am trying to compile a new savonet, i have two sources.
>>
>> A source that i successfully compiled in another machine and a new sorce
>> from HG.
>>
>> In the old source i got:
>> I configured with ./configure --disable-graphics
>> make inconsistent assumptions over implementation Hashtbl
>>
>> In the new from HG i got
>>
>> /usr/bin/ld: taglib_stubs.o: relocation R_X86_64_32 against `.rodata' can
>> not be used when making a shared object; recompile with -fPIC
>>
>> Don't know how to solve any of those errors, the -fPic error i think i
>> could rebuild the shared library with the -fPic option but i don't find
>> where to specify it.It would be on make?
>>
>> Thanks in advance
>>
>
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to