You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 2503 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Original bug ID: 2503
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Dmitry Bely
Version: CVS
OS: Windows 2000
Submission from: d028.p8.col.ru (212.248.4.28)
Here are the details:
make[1]: Entering directory
`/cygdrive/c/Work/Ocaml/caml-cvs/ocaml/otherlibs/win32unix'
cl /nologo /Ox /MD -DCAML_DLL -I../../byterun -I../unix -c gethost.c
gethost.c
gethost.c(54) : warning C4047: 'function' : 'unsigned int ' differs in levels of
indirection from 'struct in_addr *'
gethost.c(54) : warning C4024: 'alloc_inet_addr' : different types for formal
and actual parameter 1
gethost.c(85) : error C2115: 'initializing' : incompatible types
make[1]: *** [gethost.d.obj] Error 2
[...]
make[1]: Entering directory
/cygdrive/c/Work/Ocaml/caml-cvs/ocaml/otherlibs/win32graph' link /nologo /dll /out:dllgraphics.dll /implib:tmp.lib open.d.obj draw.d.obj dib.d.obj ../../byterun/ocamlrun.lib kernel32.lib gdi32.lib user32.lib Creating library tmp.lib and object tmp.exp draw.d.obj : error LNK2001: unresolved external symbol _gr_draw_text dllgraphics.dll : fatal error LNK1120: 1 unresolved externals make[1]: *** [dllgraphics.dll] Error 96 make[1]: Leaving directory
/cygdrive/c/Work/Ocaml/caml-cvs/ocaml/otherlibs/win32graph'The latter error is because "caml_" prefix is not used there it should to:
draw.c:CAMLprim value caml_gr_draw_text(value text,value x)
draw.c: gr_draw_text((value)str, 1);
draw.c: gr_draw_text(str, string_length(str));
BTW, why make process does not stop immediately after the error?
The text was updated successfully, but these errors were encountered: