Mailing Lists: Apple Mailing Lists

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

Trying to link with non-Mach-O file



Hi gang,

I am a Lotus Notes programmer. Most of this work has been in the Wintel world. I am trying to port some Notes API C-language code to OS X 10.4, using Xcode. I have the latest versions of all Mac software on a new Mac Mini. The problem is that when I link my C program to the installed Notes libraries, the link operation fails. The error I get is "not a Mach-O file". Notes itself runs fine on the Mini, so its binaries are working.

What tool can I use to tell me about the contents of the Notes binaries? I have tried nm, which tells me that the file I am examining is not an object file. I have tried otool, which tells me nothing. The file I am trying to link with is named NotesLib, and I believe that it was a valid link library, although this may have been back in the OS9 / CodeWarrior days.

TIA,
Chuck Connell
781-939-0505 (office)
http://www.chc-3.com -- My home page
http://www.DominoAdministration.com -- Outsourced administration services for Domino and Notes
http://www.DominoSecurity.org -- The best source for security information about Domino and Notes


(NOTE: I use a spam filter for inbound mail. In some cases,
this filter rejects legitimate messages. If I do not answer
your mail, please call me on the phone.)

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

This email sent to email@hidden
References: 
 >Re: .pbxuser in version control (was Re: Executables stored in .pbxuser? (From: David Catmull <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.