[launchd-dev] XCode 3.0. Unresolved externals

Vyacheslav Karamov ubuntulist at yandex.ru
Mon Jul 21 05:18:43 PDT 2008


I've "solved" :((((((((( this problem by changing "Target OS" from 10.4
to 10.5.
Why? Why I have to?


Vyacheslav Karamov wrote:
> /Developer/usr/bin/g++-4.0 -arch ppc -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk
> -L/Volumes/Untitled/Slavik/Projects/Mac/AudioServer/../build/Release
> -F/Volumes/Untitled/Slavik/Projects/Mac/AudioServer/../build/Release
> -filelist
> /Volumes/Untitled/Slavik/Projects/Mac/AudioServer/../build/AudioServer.build/Release/AudioServer.build/Objects-normal/ppc/AudioServer.LinkFileList
> -mmacosx-version-min=10.4 -framework CoreAudio
> /Volumes/Untitled/Slavik/Projects/Mac/build/Release/liboggstatic.a
> /Volumes/Untitled/Slavik/Projects/Mac/build/Release/libvorbisstatic.a
> /Volumes/Untitled/Slavik/Projects/Mac/build/Release/libTLSoundStatic.a
> -framework QuickTime -framework Foundation -framework Carbon -o
> /Volumes/Untitled/Slavik/Projects/Mac/AudioServer/../build/AudioServer.build/Release/AudioServer.build/Objects-normal/ppc/AudioServer
> Undefined symbols:
>   "launch_data_dict_lookup(_launch_data*, char const*)", referenced from:
>       _main in main.o
>   "launch_data_get_type(_launch_data*)", referenced from:
>       _main in main.o
>   "launch_msg(_launch_data*)", referenced from:
>       _main in main.o
>   "launch_data_get_string(_launch_data*)", referenced from:
>       _main in main.o
>   "launch_data_free(_launch_data*)", referenced from:
>       _main in main.o
>   "launch_data_new_string(char const*)", referenced from:
>       _main in main.o
>   "launch_data_get_errno(_launch_data*)", referenced from:
>       _main in main.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
>
>
> Quinn wrote:
>
>> At 17:22 +0300 18/7/08, Vyacheslav Karamov wrote:
>>
>>
>>> I've made launchd-enabled daemon with XCode 2.4, but with XCode 3.0 I
>>> get some unresolved externals.
>>>
>>>
>> What are the externals?  All of the launchd specific symbols are in
>> the System framework, which is added to your project by default.
>>
>>
>>
>>> $ nm /System/Library/Frameworks/System.framework/System | grep launch_msg
>>> 000380bf T _launch_msg
>>> 0003a6f3 t _launch_msg_getmsgs
>>>
>>>
>> S+E
>>
>>
>
>



More information about the launchd-dev mailing list