Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] building ocaml 3.02 under win32
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Fabrice Popineau <Fabrice.Popineau@s...>
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 :

<while building labltk>
        ..\..\..\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