Ivan-sistema / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

section's (__DATA,__objc_selrefs) type S_LITERAL_POINTERS does not match previous objects type S_REGULAR #171

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Trying to link against the attached library
2.
3.

What is the expected output? What do you see instead?

I would expect it to link properly and instead I get this following error:

arm-apple-darwin9-ld: AdMob/libAdMobDevice.a(AdMobView.o) section's 
(__DATA,__objc_selrefs) type S_LITERAL_POINTERS does not match previous 
objects type S_REGULAR

(Library is a direct download from the AdMob website and they profess that 
it works on iPhone 2.x.  So apparently it works against the Apple 
toolchain.)

What version of the product are you using? On what operating system?

I tried it on both WinXp/Cygwin and the iPhone hardware directly.  the ld 
in both environments claims to be odcctools-622.3od16.

Please provide any additional information below.

I'm new to the iPhone, so this could be my fault somehow.  Getting thing 
to work (mostly) on XP was rather tricky, so I could easily be at fault 
there.  The iPhone itself seems more reliable, but shows the same problem 
in this case.  If I'm doing something wrong, a pointer would be greatly 
appreciated.

Original issue reported on code.google.com by shel...@gmail.com on 10 Mar 2009 at 10:38

Attachments: