Xcode Link error: LD: Bad codegen, pointer diff

Source: Internet
Author: User

An error occurred while linking the database:

Ld: Bad codegen, pointer diff in serverwebex: initweb () to global weak symbol vtable for xplayerlib: delegatefor architecture armv6
Collect2: LD returned 1 exit status

:

 

  1. On the surface, there is a problem with the called xplayerlib: Delegate class.
  2. Search for stackoverflow.
  3. The xplayerlib Library: xcodebuild-Project glxplayercpplib. xcodeproj-SDK iphoneos-configuration release-target glxplayercpplib gcc_symbols_private_extern = Yes
  4. Link again to solve the problem.

In fact, you can directly set symbols hidden by default to yes in xcode. However, I have a problem with xcode 3.2.6 and cannot find this item in code generation. In desperation, I had to use the command line to compile it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.