[Ffmpeg-devel] Has local relocation entries in non-writable section (__TEXT, __text) link erreo.

=?gb2312?B?YW5uX2NoZW4gICjqkNPCKQ==?= ann_chen
Wed Sep 20 13:53:03 CEST 2006


Dear all,  

      I am one Mac program , And ,I want to use Xcode to build the FFmpeg?s libavcodec lib in my Inter Mac? 

Also I support the MMX code . but for add some MMX code as simple_idct_mmx.c . the XCode will report link erro : 

         /usr/bin/ld: 

         /project_path/build/project_name/Release/mmx_test_bundle.build/Object-normal/i386/mmx_test.o

         Has local relocation entries in non-writable section (__TEXT,__text)

     Collect2: ld returned 1 exit status .

         

       I don?t know what mean , and ,how can i fix these . 

         

      And I write one test project for add simple_idct_mmx.c to build ,   if i set XCode target  Linking-> Mach-O Type 

>From Bundle to Executable,  build success . 

         And the attached  file is my zip of test project with XCode2.4 . wish some one here will to use XCode . 

 

Thanks very much . 

 

--Best regards,

??

 





More information about the ffmpeg-devel mailing list