• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Undefined symbols: sorry again.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Undefined symbols: sorry again.


  • Subject: Undefined symbols: sorry again.
  • From: Norio Ota <email@hidden>
  • Date: Fri, 26 Nov 2004 17:00:54 +0900

Hi,

I am in trouble with linking of deployment style.

My application is supposed to link two dynamic libraries. The code of both libraries is compiled as C++ code, both file names have their extension ".c", like MyFile.c. The names of both libraries start with "lib" and end with ".dl\ylib".

The thing that I feel strange is not to link one of the two. I checked over and over the information of both targets and their definitions. But I couldn't find out a difference except the written code.

On trial, I tried checking the library in 'Frameworks & Library' phase off which had been going well and saw what had been happening. So, as you easily know, the symbols of the went-well dylib were also displayed in Build Results. But those name had "_" mark before their function names, like:

_MyFunc1
_MyFunc2

However, on the other hand, the symbols of the trouble one didn't have "_" mark. Instead of that they had their arguments, like:

MyTroubleFunc1(const void*)
MyTroubleFunc2(long, long)

Am I missing something?

For your information, there was no error when I made it in Development style and ZeroLink was set on. And I set the setting of Dead Code stripping to false, does it have to do with the problem?

Thank you,
Norio Ota

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: XCode editor preferences
  • Next by Date: Re: XCode editor preferences
  • Previous by thread: Re: Perforce
  • Next by thread: Dependency analysis: unable to precompile
  • Index(es):
    • Date
    • Thread