Can you share complete log?? since libavformat is built within
ffmpeg-android, it should be some .mk mismatch.,

Are you using android sdk toolchain or other GNU toolchain??
if any tool chians used other than android, the binaries should be strictly
static, as android has its own libc version, so binaries wont work.

btw, i was able to build it with in my SDK., few gcc 4.4 specific breaks
were there, but it compiled all libraries.



PS.
GCC 4.4 build breaks in the shared gitorious tree

diff --git a/libavformat/metadata_compat.c b/libavformat/metadata_compat.c
index b05fb04..8829940 100644
--- a/libavformat/metadata_compat.c
+++ b/libavformat/metadata_compat.c
@@ -105,7 +105,7 @@ void ff_metadata_demux_compat(AVFormatContext *ctx)


 #define FILL_METADATA(s, key, value)
{                                        \
-    if (value && *value && !av_metadata_get(s->metadata, #key, NULL,
0))      \
+    if ( (value != NULL )&& *value && !av_metadata_get(s->metadata, #key,
NULL, 0))      \
         av_metadata_set(&s->metadata, #key,
value);                           \
     }
 #define FILL_METADATA_STR(s, key)  FILL_METADATA(s, key, s->key)
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index 2243d00..babc880 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -840,6 +840,7 @@ av_log(s, AV_LOG_DEBUG,
"read_timestamp(X,%d,%"PRId64",%"PRId64")\n", stream_ind
     else if(stream_index == -2) return back_ptr;

 assert(0);
+return -1;
 }



On Tue, Jun 15, 2010 at 3:48 PM, Andy Savage <[email protected]> wrote:

> Hi there everyone,
>
> Just wondering if somebody has had success building this FFMpeg build
> for Android? I'm having an issue (that I'm not quite experienced
> enough to solve).
>
> Or perhaps if somebody has already built it maybe they could send me
> the binary? :)
>
> Any help that you guys can give me would be great. Here's the Android
> Port:
> http://gitorious.org/~olvaffe/ffmpeg/ffmpeg-android<http://gitorious.org/%7Eolvaffe/ffmpeg/ffmpeg-android>
>
> The error I'm getting when I try a make on that code is:
> make: *** No rule to make target `libavformat/libavformat.a', needed
> by `all'.  Stop.
>
> :-(
>
> Kind regards,
> Andy Savage
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>

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

Reply via email to