discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Building gnuStep on panther


From: David Ayers
Subject: Re: Building gnuStep on panther
Date: Sat, 05 Jun 2004 08:27:42 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514

Bill Northcott wrote:
From: Matthew Weinstein <mweinste@kent.edu>
Subject: Building gnuStep on panther


Still trying to build on panther. The good news, after playing a lot
with LD_LIBRARY_PATH (and friends), foundation is built. Gui is
anothe problem. I'm building from cvs. Here are make's final words

Stuff removed.

  Linking library libgnustep-gui ...
ld: for architecture ppc
ld: warning undefined symbols:
___objc_exec_class
_objc_get_class
_objc_msg_lookup
_objc_msg_lookup_super
___objc_class_name_Protocol
_objc_free

etc.

The problem here is that you are linking the wrong Objective-C runtime library.

Well not necessarily, but yes. In fact the problem is that, no one has gone through -gui and -back yet to add:

#include <GNUstepBase/GSObjCRuntime.h>

where necessary which includes further headers that will do the mapping from GNU runtime functions to Apple's runtime. But note that there isn't always a (useful) mapping available. When that's the case we try to provide a GS(ObjC)SomeThingFunction in GSObjCRuntime.h to abstract that difference.

I'm not too involved with -gui but I just put this at the end of my TODO list. I'd be very glad if someone else could look into this as I cannot say that I'll be able to deal with this any time soon.

Cheers,
David







reply via email to

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