Error compiling Xcode project (IPhone)

I added the ffmpeg iphone port to my library, and I can use some of my functions like avcodec_init (), .. without any errors. But when I turn on this function, calling "avcodec_register_all" Xcode gives an error after compilation

Error message:

* --------------- ld: ldr 12-bit offset out of range (4276 max +/- 4096) in _CFRelease $ stub in _CFRelease $ stub from / Users / foxit / Documents / CameraTest /build/CameraTest.build/Debug-iphoneos/CameraTest.build/Objects-Normal/ARMv6/CameraTest

The command / Developer / Platforms / iPhoneOS.platform / Developer / usr / bin / gcc-4.2 failed with exit code 1

* -------------

Does anyone know what happened to this?

Hello,

Ragh

+5
6

iPhone OS 3.1 Xcode. . : http://www.galloway.me.uk/2009/12/ldr-12-bit-displacement-out-of-range/

iPhone SDK 3.1 . , Apple , .

libavfilter libavcodec .

+3

, " ".

, :

Base SDK:  iPhone Device 4.0 
iPhone OS Deployment Target: 3.1.3

-no_order_inits , .

3.0, .

, FFMPEG libMMS.

+2

, ?

:

"iPhone OS 3.0" . Xcode "iPhone OS 3.1" .

+1

4.2 ffmpeg , "Standard (armv6 armv7)" (armv7) " " "" ...

+1

XCode, CMake, , . ld (1) man :

-no_order_inits

" -order_file , , __text . ".

.

0

All Articles