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

Build error with Ubuntu+NDKr5 #15

Open
derron opened this issue Jan 12, 2011 · 2 comments
Open

Build error with Ubuntu+NDKr5 #15

derron opened this issue Jan 12, 2011 · 2 comments

Comments

@derron
Copy link

derron commented Jan 12, 2011

Hi,havlenapetr
When I download your source code and build it on Ubuntu with NDKr5, i meet an error, below is the logs, the code was downloaded from debug branch today.

root@ubuntu:~/workspace/havlenapetr_FFMpeg_debug/jni/libffmpeg# /root/root/android-ndk-r5/ndk-build NDK_PROJECT_PATH=/root/workspace/havlenapetr_FFMpeg_debug/ TARGET_TOOLCHAIN=arm-eabi-4.4.0 TARGET_PLATFORM=android-8
Compile thumb : ffmpeg_jni <= com_media_ffmpeg_FFMpeg.c
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c: In function 'getutime':
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c:3812: error: storage size of 'rusage' isn't known
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c:3814: error: 'RUSAGE_SELF' undeclared (first use in this function)
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c:3814: error: (Each undeclared identifier is reported only once
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c:3814: error: for each function it appears in.)
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c: In function 'FFMpeg_parseOptions':
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/com_media_ffmpeg_FFMpeg.c:4399: warning: passing argument 4 of 'parse_options' from incompatible pointer type
/root/workspace/havlenapetr_FFMpeg_debug//jni/jni/../libffmpeg/cmdutils.h:132: note: expected 'void ()(const char *)' but argument is of type 'struct AVFormatContext * ()(const char )'
make: *
* [/root/workspace/havlenapetr_FFMpeg_debug//obj/local/armeabi/objs/ffmpeg_jni/com_media_ffmpeg_FFMpeg.o] Error 1

Can you tell me how to build your project?

@gascani
Copy link

gascani commented Mar 23, 2011

I've got the same problem.

@fengshalangzi-duplicate
Copy link

I have modified libffmpeg/config.sh for r5b.But I have got the same problem!

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

3 participants