caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Florent Monnier <fmonnier@linux-nantes.fr.eu.org>
To: caml-list@inria.fr
Subject: binding, compilation on mac os
Date: Sun, 17 Feb 2008 19:20:46 +0100	[thread overview]
Message-ID: <200802171920.46959.fmonnier@linux-nantes.fr.eu.org> (raw)

Hi,
someone is trying to compile one of my binding on Mac OS, and reported me some 
problems, the main one is this error with this command:

ocamlopt allegro.cmxa exhello.ml -o exhello

<snip>
/usr/bin/ld: Undefined symbols:
.objc_class_name_NSApplication
.objc_class_name_NSAutoreleasePool
.objc_class_name_NSBundle
.objc_class_name_NSConstantString
.objc_class_name_NSFileManager
.objc_class_name_NSMenu
.objc_class_name_NSMenuItem
.objc_class_name_NSObject
.objc_class_name_NSProcessInfo
.objc_class_name_NSThread
_CFDictionaryGetValue
_CFNumberGetValue
_CGDisplayCurrentMode
_CGDisplaySetPalette
_CGMainDisplayID
_FSGetCatalogInfo
_GetProcessBundleLocation
_NSApp
__NSConstantStringClassReference
___CFStringMakeConstantString
__mangled_main_address
_objc_msgSend
_caml_atom_table
_caml_static_data_end
_caml_static_data_start
_caml_code_area_end
_caml_code_area_start
collect2: ld returned 1 exit status
Error during linking
</snip>


here is the Makefile of the binding:
http://www.linux-nantes.fr.eu.org/~fmonnier/OCaml/Allegro/Makefile

Does someone have an idea about this problem ?

-- 


             reply	other threads:[~2008-02-17 18:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-17 18:20 Florent Monnier [this message]
2008-02-18  8:22 ` [Caml-list] " Olivier Andrieu

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=200802171920.46959.fmonnier@linux-nantes.fr.eu.org \
    --to=fmonnier@linux-nantes.fr.eu.org \
    --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;
as well as URLs for NNTP newsgroup(s).