On Mar 31, 4:47 am, yjshi <[email protected]> wrote:
> Hi all,
>
> I am a freshman to OpenCore.
> I have met some problems when I built OpenCORE outside of Android.
>
> source setup.sh <opencore>
> make -j
>
> At the end of the message is a warning.
>
> /usr/bin/ld: warning: libopencore_net_support_debug.so, needed by /
> home/yjshi/android-donut/external/opencore/build_config/
> opencore_dynamic/build/installed_lib/linux/
> libopencore_player_debug.so, not found (try using -rpath or -rpath-
> link)
>
> DONE building /home/yjshi/android-donut/external/opencore/build_config/
> opencore_dynamic/build/bin/linux/pvplayer_engine_test.
> DONE building /home/yjshi/android-donut/external/opencore/build_config/
> opencore_dynamic/build/installed_lib/linux/libopencore_rtsp_debug.so.
>
> My first question that why  this warning could happen. How to deal
> with it?
That's ok. Don't worry about that. What that warning is saying is that
when building pvplayer_engine_test, in the list of libraries, it found
libopencore_player_debug.so. But, it did not find
libopencore_net_support.so [which is a dependency for
libopencore_player.so]. The reason as to why libopencore_player.so
depends on libopencore_net_support.so is a long story. You can ignore
this warning.

> ________________________________________________________________________
>
> I run 'make run_pe_test TEST_ARGS="-help"' to see the list of valid
> <test_args>.
> but logs show that:
> ...
> PVLOG:TID(0x409238d0):Time=1121:PVPlayerEngine::TimeoutOccurred()
> Timer for PlayStatus event triggered
> PVLOG:TID(0x409238d0):Time=1121:PVPlayerEngine::ConvertFromMillisec()
> In
> PVLOG:TID(0x409238d0):Time=1121:PVPlayerEngine::ConvertFromMillisec()
> Out
> PVLOG:TID(0x409238d0):Time=2122:PVPlayerEngine::TimeoutOccurred()
> Timer for PlayStatus event triggered
> PVLOG:TID(0x409238d0):Time=2122:PVPlayerEngine::ConvertFromMillisec()
> In
> PVLOG:TID(0x409238d0):Time=2122:PVPlayerEngine::ConvertFromMillisec()
> Out
> PVLOG:TID(0x409238d0):Time=3122:PVPlayerEngine::TimeoutOccurred()
> Timer for PlayStatus event triggered
> PVLOG:TID(0x409238d0):Time=3122:PVPlayerEngine::ConvertFromMillisec()
> In
> PVLOG:TID(0x409238d0):Time=3122:PVPlayerEngine::ConvertFromMillisec()
> Out
> PVLOG:TID(0x409238d0):Time=4124:PVPlayerEngine::TimeoutOccurred()
> Timer for PlayStatus event triggered
> PVLOG:TID(0x409238d0):Time=4124:PVPlayerEngine::ConvertFromMillisec()
> In
> PVLOG:TID(0x409238d0):Time=4124:PVPlayerEngine::ConvertFromMillisec()
> Out
> PVLOG:TID(0x409238d0):Time=5123:PVPlayerEngine::TimeoutOccurred()
> Timer for PlayStatus event triggered
> PVLOG:TID(0x409238d0):Time=5123:PVPlayerEngine::ConvertFromMillisec()
> In
> PVLOG:TID(0x409238d0):Time=5123:PVPlayerEngine::ConvertFromMillisec()
> Out
> ...
> My second question is whether these information is all right.
What you are seeing are "logs". If you need more logs, use "-logall".
If you need to dump these logs to a file, use "-logfile".

> ___________________________________________________________________
>
> And then I try to run pvplayer_engine_test
> pv2way_omx_engine_test      test_pvauthorengine
> they are all failed.
>
> ~/android-donut/external/opencore/build_config/opencore_dynamic/build/
> bin/linux$ ./pvplayer_engine_test
>
> ./pvplayer_engine_test: error while loading shared libraries:
> libopencore_player_debug.so: cannot open shared object file: No such
> file or directory
>
> ~/android-donut/external/opencore/build_config/opencore_dynamic/build/
> bin/linux$ ./pv2way_omx_engine_test
>
> ./pv2way_omx_engine_test: error while loading shared libraries:
> libopencore_2way_debug.so: cannot open shared object file: No such
> file or directory
>
> ~/android-donut/external/opencore/build_config/opencore_dynamic/build/
> bin/linux$ ./test_pvauthorengine
>
> ./test_pvauthorengine: error while loading shared libraries:
> libopencore_author_debug.so: cannot open shared object file: No such
> file or directory
>
> My last question is  how to solve this problem.
That's because you did not set LD_LIBRARY_PATH to ~/android-donut/
external/opencore/build_config/opencore_dynamic/build/installed_lib/
linux.

>
> thanks
> yjshi

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

To unsubscribe, reply using "remove me" as the subject.

Reply via email to