luuvanluc1992 / ffmpeg4iphone

Automatically exported from code.google.com/p/ffmpeg4iphone
0 stars 0 forks source link

Compile error with ffmpeg4iphone-svn-2009-19-01-v0.0.3.patch #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm having following error if I use  ffmpeg4iphone-svn-2009-19-01-v0.0.3.patch:

/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4
.0.1
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/temp/ffmpegR16669" -arch armv6 -pipe -miphoneos-version-min=2.0
-isysroot
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk
-I/usr/local/include
-I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk/usr/incl
ude/gcc/darwin/4.0
-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -arch armv6 -pipe
-miphoneos-version-min=2.0 -isysroot
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk
-I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk/usr/incl
ude/gcc/darwin/4.0
-std=c99 -fomit-frame-pointer -Wdeclaration-after-statement -Wall
-Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -Winline -O3
-fno-math-errno        -c -o libavcodec/arm/dsputil_arm_s.o
libavcodec/arm/dsputil_arm_s.S
libavcodec/arm/dsputil_arm_s.S:25:Unknown pseudo-op: .eabi_attribute
libavcodec/arm/dsputil_arm_s.S:25:Rest of line ignored. 1st junk character
valued 50 (2).
make: *** [libavcodec/arm/dsputil_arm_s.o] Error 1

I'm using the configure-iphone-v0.0.3 and ffmpeg release 16669.

Original issue reported on code.google.com by mahak...@gmail.com on 21 Jan 2009 at 10:20

GoogleCodeExporter commented 8 years ago
I've resorted to compiling dsputil_arm_s.S on the iPhone using the gcc compiler 
in
Cydia. I'm repatching the file with the guys from ffmpeg right now, so 
hopefully this
should be fixed very soon.

Original comment by yonas.ya...@gmail.com on 26 Jan 2009 at 11:06

GoogleCodeExporter commented 8 years ago
Good news: 

I've uploaded ffmpeg4iphone-svn-2009-30-01-v0.0.4.patch. Everything should be 
good to
go now :)

Original comment by yonas.ya...@gmail.com on 31 Jan 2009 at 3:04

GoogleCodeExporter commented 8 years ago
Hello!

I am getting the same error and I have almost exactly the same command line as 
mahakcay.  I do not want to 
jailbreak my iPhone and I want to build a static library that I can link up to. 
 I do not want to build ffmpeg unless 
I can call it externally from my iphone app but I tried that already and it did 
not seem to work.  Can't this be 
fixed so we can just cross-compile it?
Thank you,
Adam

Original comment by ada...@gmail.com on 24 May 2009 at 7:46

GoogleCodeExporter commented 8 years ago
Hi Adam,

If you use the latest patch file, the compile should work without any problems. 

Build instructions:
http://code.google.com/p/ffmpeg4iphone/wiki/Build_Instructions

Cheers,
Yonas

Original comment by googelly...@gmail.com on 24 May 2009 at 8:33