From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id IAA09885; Wed, 12 Sep 2001 08:50:56 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id IAA09742 for caml-list@pauillac.inria.fr; Wed, 12 Sep 2001 08:50:56 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA05058 for ; Tue, 11 Sep 2001 22:08:34 +0200 (MET DST) Received: from lantana.wanadoo.fr (smtp-rt-8.wanadoo.fr [193.252.19.51]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f8BK8Y118214 for ; Tue, 11 Sep 2001 22:08:34 +0200 (MET DST) Received: from mahonia.wanadoo.fr (193.252.19.58) by lantana.wanadoo.fr; 11 Sep 2001 22:08:34 +0200 Received: from NEVERYON.ese-metz.fr (213.56.248.105) by mahonia.wanadoo.fr; 11 Sep 2001 22:08:09 +0200 To: caml-list@pauillac.inria.fr Subject: [Caml-list] building ocaml 3.02 under win32 From: Fabrice Popineau User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.5 (artichoke) Date: Tue, 11 Sep 2001 22:05:43 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I tried to build ocaml 3.02 natively under win32, everything is ok except this error for which I have no clue : ..\..\..\boot\ocamlrun ../../../ocamlc -I ../../../stdlib -custom -linka ll -o labltk -I ../support -I ../../../toplevel toplevellib.cma labltk.cma -I ../../win32unix unix.cma -I ../../str str.cma topmain.cmo camlprim0.c LINK : fatal error LNK1561: entry point must be defined Running the same command verbosely by hand gives: E:\ocaml-3.02\otherlibs\labltk\lib>..\..\..\boot\ocamlrun ../../../o camlc -verbose -I ../../../stdlib -custom -linkall -o labltk -I ../support -I ../../../toplevel toplevellib.cma labltk.cma -I ../../win32unix unix.cma -I ../ ../str str.cma topmain.cmo + cl /nologo /Felabltk.exe -ID:/Local/OCaml/lib C:\DOCUME~1\popineau\LOCALS~1\ Temp\camlprim0.c ../../str\libstr.lib ../../win32unix\libunix.lib wsock32.lib .. /support\liblabltk41.lib tk83.lib tcl83.lib ../../../stdlib\libcamlrun.lib wsock 32.lib camlprim0.c Thanks in advance for any help, -- Fabrice ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr