[sword-devel] renderText broken post r3331?

David "Judah's Shadow" Blue yudahsshadow at gmx.com
Thu Mar 19 14:28:48 MST 2015


Is one not a symlink to the other?

On March 19, 2015 3:19:40 PM EDT, Daniel Sheffield <d.j.yotta at gmail.com> wrote:
>Okay, at first it looked like 'make install' only copied the
>libsword-1.7.3.so and not the libsword.so.
>I was linking against libsword.so which didn't have the definitions of
>renderText.
>When I linked against libsword-1.7.3.so - it was fine. 
>
>I removed all the sword libs on my /usr/local/lib dir and did 'make
>install' again from HEAD.
>Both the libsword.so and libsword-1.7.3.so were installed to
>/usr/local/lib.
>However, I get compile errors if I use ld -lsword instead of ld
>-lsword-1.7.3.
>I would rather use -lsword - I thought they would/should be identical?
>
>Let me know if this behaviour is expected.
>
>On Thu 19Mar15 05:02:33PM, Daniel Sheffield wrote:
>> I still seem to be getting the compile error on HEAD.
>> I'm linking against the correct headers I'm sure...
>> Though there is a chance that I've messed something up because I have
>it both installed (make install) and in my source tree as an external.
>I did re-install each time though, so I would have thought any modified
>headers would have been updated...
>> 
>> Let me know if you have any ideas. I will hopefully be able to check
>the header declaration and the corresponding definition tomorrow...
>> 
>> On Wed 18Mar15 09:12:35AM, Peter von Kaehne wrote:
>> > I had committed with a typo - a missing paranthesis. I am sorry for
>> > that.
>> > 
>> > When I saw it and fixed it to commit, Karl had overtaken me. 
>> > 
>> > So, it is fixed at the HEAD again. 
>> > 
>> > Again, my apologies.
>> > 
>> > Peter
>> > 
>> > On Wed, 2015-03-18 at 00:48 -0700, Troy A. Griffitts wrote:
>> > > Dear Daniel,
>> > > 
>> > > My guess is that you may be compiling against one set of headers
>and
>> > > linking with a libsword compiled with another set. The renderText
>> > > method was overloaded with a const and non-const version. My
>guess is
>> > > that you are failing to link because your code was compiled
>against
>> > > the single non-const method header. Could be wrong, but without
>more
>> > > information this is my best guess to help.
>> > > 
>> > > On March 18, 2015 12:41:21 AM MST, Daniel Sheffield
>> > > <d.j.yotta at gmail.com> wrote:
>> > >         Hi all,
>> > >         
>> > >         Getting undefined reference to renderText at compile time
>since r3331.
>> > >         I see commit r3332 - perhaps this introduced the change?
>> > >         
>> > >         using HEAD: my project doesn't compile
>> > >               r3331: my project compiles.
>> > >         
>> > >         I'm not sure if this is my bad or if definition of
>renderText is getting missed out of libsword post r3331...
>> > > 
>> > > _______________________________________________
>> > > sword-devel mailing list: sword-devel at crosswire.org
>> > > http://www.crosswire.org/mailman/listinfo/sword-devel
>> > > Instructions to unsubscribe/change your settings at above page
>> > 
>> > 
>> > 
>> > 
>> > _______________________________________________
>> > sword-devel mailing list: sword-devel at crosswire.org
>> > http://www.crosswire.org/mailman/listinfo/sword-devel
>> > Instructions to unsubscribe/change your settings at above page
>> 
>> -- 
>> In the beginning Kibo created the Internet. Now the Internet was
>formless, and empty. Randomness was upon the face of computing, and the
>Spirit of ARPA moved upon the face of the computers. Then Kibo said,
>"Let there be data": and there was data. Kibo saw the data, and it was
>good, so Kibo divided the data from the randomness, and Kibo named the
>data Information, and the randomness Clueless. And the Information and
>the Clueless were the first Network.
>
>-- 
>In the beginning Kibo created the Internet. Now the Internet was
>formless, and empty. Randomness was upon the face of computing, and the
>Spirit of ARPA moved upon the face of the computers. Then Kibo said,
>"Let there be data": and there was data. Kibo saw the data, and it was
>good, so Kibo divided the data from the randomness, and Kibo named the
>data Information, and the randomness Clueless. And the Information and
>the Clueless were the first Network.
>
>_______________________________________________
>sword-devel mailing list: sword-devel at crosswire.org
>http://www.crosswire.org/mailman/listinfo/sword-devel
>Instructions to unsubscribe/change your settings at above page

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20150319/76b8ad96/attachment.html>


More information about the sword-devel mailing list