discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can't build gnustep-gui with clang/objc2, make_services fails


From: Tony Amort
Subject: can't build gnustep-gui with clang/objc2, make_services fails
Date: Sat, 12 Jan 2013 15:08:09 -0800

I decided to upgrade everything to the new system. Got clang, re-did gnustep-make, built libobjc2 and gnustep-base. The gnustep stuff is all from the daily snapshot of January 12. When compiling gnustep-gui, make_services fails with a bunch of undefined references like this:

/usr/local/lib/libgnustep-base.so: undefined reference to `_objc_weak_load'
/usr/local/lib/libgnustep-base.so: undefined reference to `objc_create_block_classes_as_subclasses_of'
/usr/local/lib/libgnustep-base.so: undefined reference to `sel_copyTypes_np'
/usr/local/lib/libgnustep-base.so: undefined reference to `__objc_msg_forward3'
/usr/local/lib/libgnustep-base.so: undefined reference to `objc_arc_autorelease_count_for_object_np'
/usr/local/lib/libgnustep-base.so: undefined reference to `objc_autoreleasePoolPush'
/usr/local/lib/libgnustep-base.so: undefined reference to `objc_arc_autorelease_count_np'
/usr/local/lib/libgnustep-base.so: undefined reference to `object_getClass'
/usr/local/lib/libgnustep-base.so: undefined reference to `objc_storeStrong'
/usr/local/lib/libgnustep-base.so: undefined reference to `objc_proxy_lookup'
/usr/local/lib/libgnustep-base.so: undefined reference to `objc_get_slot'
/usr/local/lib/libgnustep-base.so: undefined reference to `objc_storeWeak'
/usr/local/lib/libgnustep-base.so: undefined reference to `_Block_copy'
/usr/local/lib/libgnustep-base.so: undefined reference to `sel_registerTypedName_np'
/usr/local/lib/libgnustep-base.so: undefined reference to `objc_registerSmallObjectClass_np'
/usr/local/lib/libgnustep-base.so: undefined reference to `objc_autorelease'
/usr/local/lib/libgnustep-base.so: undefined reference to `sel_getType_np'
/usr/local/lib/libgnustep-base.so: undefined reference to `_objc_unexpected_exception'
/usr/local/lib/libgnustep-base.so: undefined reference to `objc_autoreleasePoolPop'
/usr/local/lib/libgnustep-base.so: undefined reference to `objc_loadWeak'
/usr/local/lib/libgnustep-base.so: undefined reference to `_Block_release'
/usr/local/lib/libgnustep-base.so: undefined reference to `objc_delete_weak_refs'
/usr/local/lib/libgnustep-base.so: undefined reference to `_objc_class_for_boxing_foreign_exception'
collect2: error: ld returned 1 exit status

I confirmed that gnustep-base is the version I compiled today. I'm following the directions on the wiki. Do I need some more flags?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]