Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile-ijk.sh error #9

Closed
boluomeng opened this issue Apr 4, 2014 · 1 comment
Closed

compile-ijk.sh error #9

boluomeng opened this issue Apr 4, 2014 · 1 comment

Comments

@boluomeng
Copy link

执行compile-ijk.sh脚本报CLOCK_MONOTONIC_HR未定义错误,是否需要安装其它库。我把CLOCK_MONOTONIC_HR改为5可以正确执行。
iMac:android Lee$ sh compile-ijk.sh
[armeabi-v7a] Prebuilt : libffmpeg.so <= /Users/Lee/Test/ijkplayer-android-master/android/build/ffmpeg-armv7a/output/
[armeabi-v7a] Install : libffmpeg.so => libs/armeabi-v7a/libffmpeg.so
[armeabi-v7a] Compile thumb : ijkplayer <= ff_cmdutils.c
[armeabi-v7a] Compile thumb : ijkplayer <= ff_ffplay.c
[armeabi-v7a] Compile thumb : ijkplayer <= ijkplayer.c
[armeabi-v7a] Compile thumb : ijkplayer <= ijkplayer_android.c
[armeabi-v7a] Compile thumb : ijkplayer <= ijkplayer_jni.c
[armeabi-v7a] Prebuilt : libstlport_shared.so <= /sources/cxx-stl/stlport/libs/armeabi-v7a/
[armeabi-v7a] Compile thumb : ijkutil_c <= loghelp.c
[armeabi-v7a] StaticLibrary : libijkutil_c.a
[armeabi-v7a] Compile++ thumb: ijkutil_android_cpp <= jnihelp.cpp
[armeabi-v7a] StaticLibrary : libijkutil_android_cpp.a
[armeabi-v7a] SharedLibrary : libijkutil.so
[armeabi-v7a] Compile thumb : ijksdl <= ijksdl_aout.c
[armeabi-v7a] Compile thumb : ijksdl <= ijksdl_audio.c
[armeabi-v7a] Compile thumb : ijksdl <= ijksdl_error.c
[armeabi-v7a] Compile thumb : ijksdl <= ijksdl_mutex.c
[armeabi-v7a] Compile thumb : ijksdl <= ijksdl_stdinc.c
[armeabi-v7a] Compile thumb : ijksdl <= ijksdl_thread.c
[armeabi-v7a] Compile thumb : ijksdl <= ijksdl_timer.c
/Users/Lee/Test/ijkplayer-android-master/android/ijkmediaplayer/jni/ijkmedia/ijksdl/ijksdl_timer.c: In function 'SDL_GetTickHR':
/Users/Lee/Test/ijkplayer-android-master/android/ijkmediaplayer/jni/ijkmedia/ijksdl/ijksdl_timer.c:57:19: error: 'CLOCK_MONOTONIC_HR' undeclared (first use in this function)
clock_gettime(CLOCK_MONOTONIC_HR, &now);
^
/Users/Lee/Test/ijkplayer-android-master/android/ijkmediaplayer/jni/ijkmedia/ijksdl/ijksdl_timer.c:57:19: note: each undeclared identifier is reported only once for each function it appears in
make: *** [/Users/Lee/Test/ijkplayer-android-master/android/ijkmediaplayer/obj/local/armeabi-v7a/objs/ijksdl/ijksdl_timer.o] Error 1

@bbcallen
Copy link
Contributor

bbcallen commented Apr 4, 2014

fixed: 6d73766

Thanks

@bbcallen bbcallen closed this as completed Apr 8, 2014
@smartTop smartTop mentioned this issue May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants