From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 3B1A3BBC1 for ; Sun, 17 Feb 2008 19:22:41 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAMsKuEfAXQImh2dsb2JhbACQVQEBAQgKKZkv X-IronPort-AV: E=Sophos;i="4.25,367,1199660400"; d="scan'208";a="22719351" Received: from discorde.inria.fr ([192.93.2.38]) by mail4-smtp-sop.national.inria.fr with ESMTP; 17 Feb 2008 19:22:40 +0100 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m1HIMYfU030531 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sun, 17 Feb 2008 19:22:40 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAFQKuEfVJFBblmdsb2JhbACQVQEBAQEHBAYHChEHmTM X-IronPort-AV: E=Sophos;i="4.25,367,1199660400"; d="scan'208";a="8187492" Received: from mx-out.libertysurf.net (HELO mail.libertysurf.net) ([213.36.80.91]) by mail1-smtp-roc.national.inria.fr with ESMTP; 17 Feb 2008 19:22:34 +0100 Received: from [192.168.1.2] (88.123.244.250) by mail.libertysurf.net (7.3.118.8) id 479F73A8006067C7 for caml-list@inria.fr; Sun, 17 Feb 2008 20:20:51 +0100 From: Florent Monnier Organization: l'Association Linux-Nantes To: caml-list@inria.fr Subject: binding, compilation on mac os Date: Sun, 17 Feb 2008 19:20:46 +0100 User-Agent: KMail/1.8.2 X-Face: %&4hE">2*7f{Xg6=+.^x-$p!&Dqj[S+f.Gi]$mALuLJC)MLDO|_=blD7VAFU1JbS3(W;9RI ;6%4TPViRI"Mg+ X-Miltered: at discorde with ID 47B87B6A.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; compilation:01 ocamlopt:01 cmxa:01 usr:01 makefile:01 ocaml:01 makefile:01 allegro:98 allegro:98 compile:01 undefined:01 bin:01 data:02 data:02 caml:02 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 /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 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 ? --