Questions tagged [non-lazy-ptr]

6 questions
8
votes
1 answer

$non_lazy_ptr link error with agvtool version variables?

I've been using agvtool for one of my iPhone apps on general principle, and have recently found a reason why I want to be able to check the version variable (so that I can re-copy help content into the Documents directory, if it's out of date). The…
lindes
  • 9,854
  • 3
  • 33
  • 45
3
votes
5 answers

OSX 10.5 Leopard Symbol Mangling with $non_lazy_ptr

Why does Leopard mangle some symbols with $non_lazy_ptr? More importantly what is the best method to fix undefined symbol errors because a symbol has been mangled with $non_lazy_ptr?
Erik
3
votes
1 answer

illegal text reloc to non_lazy_ptr error while building in xcode 4 with libav* libraries

I'm trying to build a simple application that uses ffmpeg's libav* libraries in xcode 4 and getting the following error: ld: illegal text reloc to non_lazy_ptr from /ffmpeg/temp/ffmpeg-0.8/builduni/lib/libavcodec.a(ac3.o) in…
Oleg
  • 243
  • 1
  • 4
  • 10
3
votes
1 answer

libtool vs ar for creating a static library (xcode linker)

Creating a static library on Mac 10.5 with xcode via libtool and with ar via the command line both generate a libMainProject.a file however, when trying to use the one generate by libtool to link into a xcode application I end up with multiple…
Allen
  • 71
  • 1
  • 3
0
votes
1 answer

§non_lazy_ptr iphone sdk 3.0

After I built my iphone 2.2.1 application in sdk 3.0, I get a lot of errors of type §non_lazy_ptr. I am getting it on the CFFTPStream constants, like kCFStreamPropertyFTPPassword and kCFStreamPropertyUserName. Anyone know what causes this?
Hans Espen
  • 1,127
  • 6
  • 14
  • 22
-1
votes
1 answer

non lazy ptr linking error - the solution

I have received many errors while trying to Build & Run my iphone app using the xcode. All the errors stated "non lazy ptr" for the used variables in the code. The solution for me (and for all of you) is to look for the correct framework to be used…
user176516