From: Jeffrey Scofield <dynasticon@mac.com>
To: caml-list@inria.fr
Subject: Re: Compiling with Xcode
Date: Mon, 16 Mar 2009 11:56:08 -0700 [thread overview]
Message-ID: <m2wsapnvp3.fsf@Pythagorion.local.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <F58161A2-D684-433F-A145-15D27B2F651C@coherentgraphics.co.uk>
John Whitington <john@coherentgraphics.co.uk> writes:
> /Developer/usr/bin/gcc-4.0 -arch i386
> -isysroot /Developer/SDKs/MacOSX10.5.sdk
> -L/Users/john/Desktop/Cversion/build/Debug
> -L/Developer/SDKs/MacOSX10.5.sdk/usr/local/lib/ocaml
> -L/Users/john/svnrepos/trunk
> -L/Users/john/Desktop/Cversion/../../svnrepos/trunk
> -F/Users/john/Desktop/Cversion/build/Debug
> -filelist /Users/john/Desktop/Cversion/build/Cversion.build/Debug/
> Cversion.build/Objects-normal/i386/Cversion.LinkFileList
> -mmacosx-version-min=10.5
> -L/usr/local/lib/ocaml -lunix -lbigarray -lstr -lz
> /Users/john/Desktop/Cversion/../../svnrepos/trunk/cpdflib.a
> /Users/john/Desktop/Cversion/../../svnrepos/trunk/zlibstubs.o
> -o /Users/john/Desktop/Cversion/build/Debug/Cversion
> Undefined symbols:
> "_caml_atom_table", referenced from: ...
Well, caml_atom_table is defined in libasmrun.a, which you have
copied and augmented with your own object files.
A lot of the unsatisfied references are from cpdflib.a itself. The
normal ways to handle this problem are to tsort the .o files in the
archive (old fashioned way) or to add a symbol table to the archive
with ranlib. Perhaps you need to run ranlib on it after adding your .o
files?
Regards,
Jeff Scofield
Seattle
next prev parent reply other threads:[~2009-03-16 19:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-16 13:47 John Whitington
[not found] ` <4B569876-16E1-4289-9D69-F11FBAFD7A0B@gmail.com>
2009-03-16 13:58 ` [Caml-list] " John Whitington
2009-03-16 18:56 ` Jeffrey Scofield [this message]
2009-03-17 3:09 ` Jon Harrop
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2wsapnvp3.fsf@Pythagorion.local.i-did-not-set--mail-host-address--so-tickle-me \
--to=dynasticon@mac.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox