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 SAA22561; Wed, 12 Sep 2001 18:40:29 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 SAA22884 for ; Wed, 12 Sep 2001 18:40:28 +0200 (MET DST) Received: from mel-rti18.wanadoo.fr ([193.252.19.34]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f8CGeMT09581 for ; Wed, 12 Sep 2001 18:40:22 +0200 (MET DST) Received: from andira.wanadoo.fr (193.252.19.152) by mel-rti18.wanadoo.fr; 12 Sep 2001 18:40:22 +0200 Received: from fourquauche3ay (217.128.163.238) by andira.wanadoo.fr; 12 Sep 2001 18:40:20 +0200 From: "Lionel Fourquaux" To: "'Fabrice Popineau'" , Subject: RE : [Caml-list] building ocaml 3.02 under win32 Date: Wed, 12 Sep 2001 18:34:21 +0200 Message-ID: <000001c13ba8$c8d91920$eea380d9@fourquauche3ay> X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: Importance: Normal Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Does passing /subsystem:console to the linker help ? (main is hidden in libcamlrun.lib, so the linker fails to guess the subsystem.) Hope this helps. Lionel Fourquaux > -----Original Message----- > From: owner-caml-list@pauillac.inria.fr [mailto:owner-caml- > list@pauillac.inria.fr] On Behalf Of Fabrice Popineau > Sent: Tuesday, September 11, 2001 10:06 PM > To: caml-list@pauillac.inria.fr > Subject: [Caml-list] building ocaml 3.02 under win32 > > > 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 ------------------- 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