"tocoff in load command 7 extends past the end of the file" error
"tocoff in load command 7 extends past the end of the file" error
- Subject: "tocoff in load command 7 extends past the end of the file" error
- From: Jay Koutavas <email@hidden>
- Date: Tue, 3 Jun 2003 21:50:38 -0700
I'm using Project Builder's "legacy makefile" target type to make
some static libraries, which in turn get wrapped into frameworks, and
then these frameworks are being added to my Cocoa application's
project.
When my application goes to link, I get this error:
"<name>.framework/<name> tocoff in load command 7 extends
past the end of the file"
I searched the net and found very little mention about how to handle
this error. I learned that a "load command" is a Mach-O concept
http://developer.apple.com/techpubs/macosx/DeveloperTools/MachORuntime/8rt_file_format/index.html
A guy at
http://davin.dhs.org/krishenblog/archives/000678.html, who
had the problem said he removed the framework from his project but
left it in his search path, stating that Project Build doesn't like
"frameworks referenced more than once". I don't see how a multiple
reference to the framework is occurring in my project. I'm of the
opinion that the frameworks should be part of project, if for the
simple reason that if I take them away, I lose the references to them
in the copy stage of my build where I embed the frameworks into my
application's bundle.
No other hits on the net for this, including Apple's site.
Has anyone seen this link error and have solved it? is there some
undocumented little flag of some sort I need to know about?
/Jay
--
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Jay Koutavas
mailto:email@hidden
Heynow Software
http://www.heynow.com
Windham, New Hampshire, USA
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.