🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #866

redo_prebinding ?

#866
From: Raymond
Date: Fri, 24 Jan 2003 00:44
35 lines
2785 bytes
hi

I'm building an app (MachO format) which links against a private framework
for some core functionality. (Windowing API wrappers, etc.)
On launch this app loads additional plugins which extend its functionality.
( Using: CFBundleCreate & CFBundleGetFunctionPointerForName )

When I compile/link these "plugin" frameworks, I see this sort of warning
message (around 5 or 6 of them per plugin):

-----------------
dynamic library
'@executable_path/../Frameworks/PPSFramework.framework/Versions/A/PPSFramewo
rk'   section '__TEXT' ($01000000-$01039000)
overlaps with output file section '__TEXT' ($01000000-$01007000)
(need to run redo_prebinding)
----------------
("PPSFramework" is the name of the private framework with Windowing API
wrappers, and "output file section" is the extension plugin which gets
dynamically loaded.)


If I "Disable Pre-Binding" these warning go away, but boty ways my string
literals are corrupt after loading these plugins
 (and I guess it is because of "section collision")

Has anyone tackled anything like this?
There must be a right way to architect a system such as I have described...
Can you suggest some way of using CW 8 to solve this library conflict?

Thank you for your time
ray

CW 8.3 (IDE 5.1.1, Build 1108)
MacOSX 10.1.5
Technical Details
Message-ID: <D%%X9.572$XV3.3763597586@newssvr17.news.prodigy.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!c03.atl99!rip!news.webusenet.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr17.news.prodigy.com.POSTED!74667d8b!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,5d107a1c83f4de2e,start
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,5d107a1c83f4de2e,start
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2003-01-23 16:45:06 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!c03.atl99!rip!news.webusenet.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr17.news.prodigy.com.POSTED!74667d8b!not-for-mail
Reply-To: "Raymond" <ray@powerproduction.com>
From: "Raymond" <ray@powerproduction.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: redo_prebinding ?
Lines: 39
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <D%%X9.572$XV3.3763597586@newssvr17.news.prodigy.com>
NNTP-Posting-Host: 64.171.185.101
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr17.news.prodigy.com 1043369059 ST000 64.171.185.101 (Thu, 23 Jan 2003 19:44:19 EST)
NNTP-Posting-Date: Thu, 23 Jan 2003 19:44:19 EST
Organization: Prodigy Internet http://www.prodigy.com
X-UserInfo1: FKPO@MC@OXSYBW@Y[ROBN\TDFZ\@@FXLM@TDOCQDJ@_@FNXACNVOPCWZBL[\YUWHANGYZEFNHFZPNLOBUNSS^_LGEVWEY\PHO@YJSSWBBDT\PFD^ESBTXVCCMTD]JCJLE\_IJMFNRY]SWE[S[D_CNB__ZK^VGVCKHA[S@COB^[@ZQSDFQ\BPMS@DZVUKQTJL
Date: Fri, 24 Jan 2003 00:44:19 GMT