🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #2233

Re: NXBundles and external libraries

#2233
From: Paul Burchard
Date: Fri, 22 Jan 1993 02:19
35 lines
2095 bytes
In article <1993Jan21.184110.19517@pasteur.Berkeley.EDU>  
nicolson@strauss.berkeley.edu (Ed Nicolson) writes:
> 
> To create the library I took all the object code files from the 
>    palette and used ar and ranlib to create a library which I link in 
>    with the application using the custom Palette.  This gives the message:
> 
> /bin/ld: Undefined symbols:
> objc_class_name_IBInspector
> _IBObjectPboardType
> objc_class_name_IBPalette
> 

Don't "ar"-chive any of the IB-specific classes (IBInspectors, etc) into your library.  Your end-user classes hopefully don't directly refer to any of them (except thru harmless stuff like -getInspectorClassName).

--
--------------------------------------------------------------------
Paul Burchard	<burchard@geom.umn.edu>
``I'm still learning how to count backwards from infinity...''
--------------------------------------------------------------------
lication using the custom Palette.  This gives the message:
> 
> /bin/ld: Undefined symbols:
> objc_class_name_IBInspector
> _IBObjectPboardType
> objc_class_name_IBPalette
> 

Don't "ar"-chive any of the IB-specific classes (IBInspectors, etc) into your library.  Your end-user classes hopefully don't directly refer to any of them (except thru harmless stuff like -getInspectorClassName).

--
--------------------------------------------------------------------
Paul Burchard	<burchard@geom.umn.edu>
``I'm still learning how to count backwards from infinity...''
----------------------------------------------
Technical Details
Message-ID: <C18H46.I3L@news2.cis.umn.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!news
References: <1993Jan21.184110.19517@pasteur.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!news
From: burchard@horizon.math.utah.edu (Paul Burchard)
Subject: Re: NXBundles and external libraries
Message-ID: <C18H46.I3L@news2.cis.umn.edu>
Sender: news@news2.cis.umn.edu (Usenet News Administration)
Nntp-Posting-Host: dialup-slip-1-14.gw.umn.edu
Organization: University of Minnesota
References: <1993Jan21.184110.19517@pasteur.Berkeley.EDU>
Date: Fri, 22 Jan 1993 02:19:17 GMT
Lines: 35