2009-06-11 11:45:47     linphone (svn trunk): can't resolve symbol '___thenan_sf'

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-06-11 11:45:47     linphone (svn trunk): can't resolve symbol '___thenan_sf'

Stefan Wanja (GERMANY)

Message: 75543   

 

Hello,

 

I want to use the linphone from svn trunk (with all other components from svn trunk as well). After a couple of modifications I succeeded in compiling but now when I start it I only get this error:

 

./linphonec: can't resolve symbol '___thenan_sf'

 

As far as I can see this has something to do with gcc and libgcc.a. There is a file fp-bit.c in gcc that contains a comment saying this has to be copied and used twice (one time without and one time with #define FLOAT) in order to build. Maybe there is something wrong with that?

 

Can somebody imagine a reason for this?

 

My toolchain is a nightly build from svn trunk (two weeks ago).

 

Thanks,

 

Stefan

QuoteReplyEditDelete

 

 

2009-06-11 23:33:58     Re: linphone (svn trunk): can't resolve symbol '___thenan_sf'

Yi Li (CHINA)

Message: 75568   

 

Stefan,

 

Can you build and run linphone sucessfully without your modification?

 

-Yi

QuoteReplyEditDelete

 

 

2009-06-14 10:38:47     Re: linphone (svn trunk): can't resolve symbol '___thenan_sf'

Stefan Wanja (GERMANY)

Message: 75664   

 

Thanks for your reply. No, unfortunately I can not build it without little modifications. I posted this in this thread:   blackfin.uclinux.org/gf/project/uclinux-dist/forum/?_forum_action=ForumMessageBrowse&thread_id=34412&action=ForumBrowse&forum_id=39

 

Anyway, the problem seems not to be in linphone binary but in the linked in libraries (from ffmpeg and linphone [libavcodec, libavutil, libavformat,...]). If I use the 2008R1.5 versions of the libraries the problem is not there.

 

Maybe there is something wrong with the compilation of these libs?

 

Stefan

QuoteReplyEditDelete

 

 

2009-06-15 06:28:28     Re: linphone (svn trunk): can't resolve symbol '___thenan_sf'

Stefan Wanja (GERMANY)

Message: 75719   

 

I had a closer look on the compiled shared libs (libavcodec.so.51.48.0 in this case).

 

When I use bfin-linux-uclibc-nm to get infos from the 2008R1.5 built library (first) and the svn trunk built library (second) the is a change visible that explains the above error, but why do they differ?

 

bfin-linux-uclibc-nm libavcodec.so.51.48.0 | grep thenan_sf -1

00322730 r ___thenan_df

00322720 r ___thenan_sf

00244a20 t _theora_decode_init

 

bfin-linux-uclibc-nm new/libavcodec.so.51.48.0 | grep thenan_sf -1

0031dc6c r ___thenan_df

         U ___thenan_sf

0023faac t _theora_decode_init

 

 

Why is thenan_sf U (=external and undefined)?

 

Kind regards,

 

Stefan

QuoteReplyEditDelete

 

 

2009-06-15 12:02:14     SOLVED: Re: linphone (svn trunk): can't resolve symbol '___thenan_sf'

Stefan Wanja (GERMANY)

Message: 75746   

 

Ok, I got it. I had accidentally used 2008R1.5 shared libs from /lib/, with the correct ones from trunk this problem is gone.

QuoteReplyEditDelete

Attachments

    Outcomes