Android ffmpeg 0.8 compilation issue. not able to create .so files.

449 views
Skip to first unread message

Rajesh

unread,
Jan 18, 2013, 7:01:44 AM1/18/13
to andro...@googlegroups.com
I am using the following tutorial for ffmpeg compilation . 


I am followed all the instructions which they have provided. have changed the path in 
**build_android.sh** ,  
i am using android ndk5 and cygwing latest compiler. 
But i am facing following issue. .so file is not gets created .
 

    Krajesh@Rajesh /cygdrive/D/RAJESH-ANDROID/Rajesh-workspace/FFMPEG_2
    $ /cygdrive/d/Android_NDK/android-ndk-r5/ndk-build
    Prebuilt       : libffmpeg.so <= jni/ffmpeg-0.8/android/armv7-a/
    Install        : libffmpeg.so => libs/armeabi-v7a/libffmpeg.so
    install: cannot open `/cygdrive/D/RAJESH-ANDROID/Rajesh-workspace/FFMPEG_2/obj/local/armeabi-v7a/libffmpeg.so' for reading: Permission denied
    /cygdrive/d/Android_NDK/android-ndk-r5/build/core/build-binary.mk:305: recipe for target `/cygdrive/D/RAJESH-ANDROID/Rajesh-workspace/FFMPEG_2/libs/armeabi-v7a/libffmpeg.so' failed
    make: *** [/cygdrive/D/RAJESH-ANDROID/Rajesh-workspace/FFMPEG_2/libs/armeabi-v7a/libffmpeg.so] Error 1


Can any one please explain why i am getting that permission denied issue and how to overcome that . i am using windows 7 pc. 

Thanks.
Rajesh K

Tim Mensch

unread,
Jan 18, 2013, 11:44:17 AM1/18/13
to andro...@googlegroups.com

I have seen permission errors on Windows, and I think they are a result of a bug in NDK5. Have you looked to see if the file it's complaining about has funky Cygwin permissions? Or possibly that libs/armeabi-v7a/libffmpeg.so exists but is write protected?

Tim

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/uAIlUPxMB6EJ.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
Message has been deleted

Rajesh

unread,
Jan 21, 2013, 12:04:56 AM1/21/13
to andro...@googlegroups.com
Hi ,

i have checked that libs/armeabi-v7a/libffmpeg.so  is not write protected. I will switch over to NDK8 and will post my comments. 

Rajesh

unread,
Jan 21, 2013, 9:19:32 AM1/21/13
to andro...@googlegroups.com


On Friday, January 18, 2013 5:31:44 PM UTC+5:30, Rajesh wrote:

Rajesh

unread,
Jan 21, 2013, 9:19:41 AM1/21/13
to andro...@googlegroups.com, tim...@bitgems.com
Hi ,

I have checked with the android ffmpeg 8 also . again i am facing the same issue. 

Thanks ,
Rajesh K

Tim Mensch

unread,
Jan 21, 2013, 12:36:32 PM1/21/13
to Rajesh, andro...@googlegroups.com
On 1/21/2013 7:19 AM, Rajesh wrote:
> I have checked with the android ffmpeg 8 also . again i am facing the
> same issue.

I also suggested you check the file it was complaining about:

/cygdrive/D/RAJESH-ANDROID/Rajesh-workspace/FFMPEG_2/obj/local/armeabi-v7a/libffmpeg.so

Did you check THAT file to see if it had funky permissions? Did you try
deleting it and rebuilding?

Tim

Rajesh

unread,
Jan 22, 2013, 12:17:13 AM1/22/13
to andro...@googlegroups.com, Rajesh, Tim Mensch
Hi Tim ,
Yeah i have checked it by deleting and rebuilding it . 
But again i am facing the same issue. 
Thanks,
Rajesh K
Reply all
Reply to author
Forward
0 new messages