Chinaunix

标题: XCODE开发的一个问题 [打印本页]

作者: jiangyiyongfly    时间: 2008-01-10 22:35
标题: XCODE开发的一个问题
Hello
   I am a programmer, my xCode version is 2.4. I wanted to compile a open source project named x264 encoder, I using makefile complie the code to a static lib named libx264.a, I create a carbon project using my xcode, and linking the lib, while built, complier gave me a error message: "has local relocation entries in non-writable section (__TEXT,__text)". I search from google, I add -mdynamic-no-pic to x264 compile option. but it is no work, please tell me how to conque the problam? TKS, best wishes




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2