Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Undefined symbols dyld_stub_binding_helper/_mh_dylib_header



I am in the process of porting a .dylib from gcc 3.3 (build 1640/Xcode 1.2),
compiled on PPC, to gcc 4.0.1 (build 5341/Xcode 2.3) compiled on i386 but
for PPC (i.e. using "-arch ppc").  I am running into a snag at link time,
though - I am getting the error

  ld: Undefined symbols:
  dyld_stub_binding_helper

After some googling, I tried adding the lib /usr/lib/dylib1.o to the ld
command and then get the error

  ld: Undefined symbols:
  _mh_dylib_header

So still no luck.  What am I doing wrong here?  Thanks for the assistance.

-Conrad

-- 
Beware before - Beware after.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-x86 mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-x86/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.