Today, I succeeded to cross compile freeRDP for arm platform and could run it 
on an arm terminal. But when I wanted to test video redirection, I just 
couldn't play a video and freerdp returned an warning: "in tsmf_ffmpeg.so: 
undefined symbol : sinh, failed to load tsmf_ffmpeg.so." Then I analysed the 
tsmf_ffmpeg.so using nm command. The result is confusing: there were so many 
undefined symbols about math functions,such as sin, sinh, ceil, and so on. I 
also checked the tsmf_ffmpeg.so in my pc, and the differences are huge! I just 
don't understand what's going on. 
Some undefined symbols which I get using command: nm -u tsmf_ffmpeg.so in 
tsmf_ffmpeg.so under arm terminal are below:
         U __strcpy_chk@@GLIBC_2.4
         U __vsnprintf_chk@@GLIBC_2.4
         U abort@@GLIBC_2.4
         U acos
         U asin
         U atan
         U cbrtf
         U ceil
         U compress
         U compress2
         U cos
Some undefined symbols under my pc are below:
         U avcodec_open@@LIBAVCODEC_52
         U avcodec_register_all@@LIBAVCODEC_52
         U avpicture_fill@@LIBAVCODEC_52
         U avpicture_get_size@@LIBAVCODEC_52
         U memcpy@@GLIBC_2.2.5
         U memmove@@GLIBC_2.2.5
         U memset@@GLIBC_2.2.5
         U printf@@GLIBC_2.2.5
The differences are huge! It's just like arm did not compile tsmf_ffmpeg.c! The 
whole undefined symbols about this two files are in the attachment. Thanks for 
any help!
                                             Guangchao Yao
         w _Jv_RegisterClasses
         U __aeabi_unwind_cpp_pr0@@GCC_3.5
         U __assert_fail@@GLIBC_2.4
         U __ctype_b_loc@@GLIBC_2.4
         U __ctype_toupper_loc@@GLIBC_2.4
         w __cxa_finalize@@GLIBC_2.4
         U __fprintf_chk@@GLIBC_2.4
         w __gmon_start__
         U __isinff@@GLIBC_2.4
         U __isnan@@GLIBC_2.4
         U __isoc99_sscanf@@GLIBC_2.7
         U __memcpy_chk@@GLIBC_2.4
         U __memmove_chk@@GLIBC_2.4
         U __memset_chk@@GLIBC_2.4
         U __snprintf_chk@@GLIBC_2.4
         U __stack_chk_fail@@GLIBC_2.4
         U __stack_chk_guard@@GLIBC_2.4
         U __strcpy_chk@@GLIBC_2.4
         U __vsnprintf_chk@@GLIBC_2.4
         U abort@@GLIBC_2.4
         U acos
         U asin
         U atan
         U cbrtf
         U ceil
         U compress
         U compress2
         U cos
         U cosh
         U crc32
         U deflate
         U deflateEnd
         U deflateInit2_
         U deflateInit_
         U deflateReset
         U exp
         U fabs
         U floor
         U floorf
         U fputs@@GLIBC_2.4
         U free@@GLIBC_2.4
         U frexp@@GLIBC_2.4
         U frexpf@@GLIBC_2.4
         U inflate
         U inflateEnd
         U inflateInit_
         U inflateReset
         U inflateSync
         U ldexp@@GLIBC_2.4
         U ldexpf@@GLIBC_2.4
         U llrint
         U log
         U log10
         U lrint
         U lrintf
         U lroundf
         U memcmp@@GLIBC_2.4
         U memcpy@@GLIBC_2.4
         U memmove@@GLIBC_2.4
         U memset@@GLIBC_2.4
         U mkstemp64@@GLIBC_2.4
         U posix_memalign@@GLIBC_2.4
         U pow
         U powf
         U printf@@GLIBC_2.4
         U qsort@@GLIBC_2.4
         U raise@@GLIBC_2.4
         U realloc@@GLIBC_2.4
         U rint
         U rintf
         U roundf
         U sin
         U sincos
         U sincosf
         U sinf
         U sinh
         U stderr@@GLIBC_2.4
         U strchr@@GLIBC_2.4
         U strcmp@@GLIBC_2.4
         U strlen@@GLIBC_2.4
         U strtod@@GLIBC_2.4
         U strtol@@GLIBC_2.4
         U tan
         U tanh
         U truncf
         U uncompress
         U xfree
         U xrealloc
         U xzalloc

                 w _Jv_RegisterClasses
                 w __cxa_finalize@@GLIBC_2.2.5
                 w __gmon_start__
                 U av_free@@LIBAVUTIL_50
                 U av_init_packet@@LIBAVCODEC_52
                 U av_picture_copy@@LIBAVCODEC_52
                 U avcodec_alloc_context@@LIBAVCODEC_52
                 U avcodec_alloc_frame@@LIBAVCODEC_52
                 U avcodec_close@@LIBAVCODEC_52
                 U avcodec_decode_audio3@@LIBAVCODEC_52
                 U avcodec_decode_video2@@LIBAVCODEC_52
                 U avcodec_find_decoder@@LIBAVCODEC_52
                 U avcodec_init@@LIBAVCODEC_52
                 U avcodec_open@@LIBAVCODEC_52
                 U avcodec_register_all@@LIBAVCODEC_52
                 U avpicture_fill@@LIBAVCODEC_52
                 U avpicture_get_size@@LIBAVCODEC_52
                 U memcpy@@GLIBC_2.2.5
                 U memmove@@GLIBC_2.2.5
                 U memset@@GLIBC_2.2.5
                 U printf@@GLIBC_2.2.5
                 U xfree
                 U xrealloc
                 U xzalloc

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to