Oooooold link error back again.

Jonas Bähr jonas.baehr at web.de
Fri Dec 26 01:16:47 CET 2008


Am 25.12.2008 um 14:16 schrieb Thiago Macieira:
> Jonas Bähr wrote:
>> Hi,
>>
>> Am 24.12.2008 um 17:03 schrieb Thiago Macieira:
>>> Alexander Neundorf wrote:
>>>> On Monday 22 December 2008, Orville Bennett wrote:
>>>>> lfranchi was compiling kdelibs from 4.2 beta2 and got an error
>>>>> similar
>>>>> to http://paste.lisp.org/display/61030. It's one I've seen
>>>>> repeatedly
>>>>> and apparently I went as far as putting the solution on my blog  
>>>>> so I
>>>>> wouldn't forget (scroll to end):
>>>>> http://illogic-al.org/blog/apple-gcc-and-you
>>>>>
>>>>> So that's how I fixed it then. What's the proper way to fix this  
>>>>> and
>>>>> can you do it?
>>>>
>>>> I'll haver a look next week.
>>>
>>> Those functions are defined in kdecore/kernel/kkernel_mac.cpp. Has
>>> anyone
>>> verified that the file is being compiled and linked into kdecore?  
>>> Can
>>> anyone see the symbols in the .o?
>>
>> The strange thing is: The symbols *are* in kdecore.dylib, which is
>> also used to in the very same link-command which caused the error.  
>> See
>> http://lists.kde.org/?l=kde-mac&m=123007832608146&w=2 (which includes
>> the full linker output)
>
> Are you building a universal binary? If so, verify all archs.

No, I'm building just for i386:

$ file libkdecore.5.2.0.dylib
libkdecore.5.2.0.dylib: Mach-O dynamically linked shared library i386

$ nm libkdecore.5.2.0.dylib | grep mac
00153310 t __Z16mac_app_filenamev
00153620 t __Z19mac_initialize_dbusv
00153450 t __Z20mac_set_dbus_address7QString
00154160 t __Z24mac_fork_and_reexec_selfv
0023b8c0 b __ZGVZ16mac_app_filenamevE11appFileName
001ebb60 s __ZN15kencodingproberL26macCyrillic_CharToOrderMapE
0001efa0 T __ZNK14KConfigBackend26qt_check_for_QOBJECT_macroIS_EEvRKT_
0014b420 T __ZNK14KPluginFactory26qt_check_for_QOBJECT_macroIS_EEvRKT_
000cda60 T __ZNK6Sonnet6Client26qt_check_for_QOBJECT_macroIS0_EEvRKT_
0023b8c8 b __ZZ16mac_app_filenamevE11appFileName
00174b08 s __ZZ19mac_initialize_dbusvE19__PRETTY_FUNCTION__
00174b24 s __ZZ20mac_set_dbus_address7QStringE19__PRETTY_FUNCTION__
001f2000 d dyld__mach_header



More information about the Kde-buildsystem mailing list