Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007621OCamlconfigure and build/installpublic2017-09-05 06:402017-09-06 12:20
Reporterkrark 
Assigned Todra 
PrioritynormalSeverityblockReproducibilityalways
StatusresolvedResolutionfixed 
PlatformcygwinOSWindowsOS Version7
Product Version4.06.0 +dev/beta1/beta2/rc1 
Target Version4.06.0 +dev/beta1/beta2/rc1Fixed in Version 
Summary0007621: Can't figure out the right ./compile parameters for my platform
DescriptionAs a last resort I tried every example configuration provided in the install instructions. The most common error that seems to get the furthest in the build process is reproducible when just running "./configure".

This is the error:

unix.c:317:8: error: conflicting types for 'caml_dlsym'
 void * caml_dlsym(void * handle, char * name)
        ^
In file included from unix.c:53:0:
caml/osdeps.h:72:15: note: previous declaration of 'caml_dlsym' was here
 extern void * caml_dlsym(void * handle, const char * name);
               ^
unix.c:322:8: error: conflicting types for 'caml_globalsym'
 void * caml_globalsym(char * name)
        ^
In file included from unix.c:53:0:
caml/osdeps.h:74:15: note: previous declaration of 'caml_globalsym' was here
 extern void * caml_globalsym(const char * name);
               ^
make[1]: *** [Makefile:195: unix.o] Error 1
make[1]: Leaving directory '/cygdrive/d/downloads/Apps/llpp/ocaml/byterun'
make: *** [Makefile:372: coldstart] Error 2
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0018215)
dra (developer)
2017-09-05 08:21

Try installing the flexdll Cygwin package, then rerun configure
(0018227)
krark (reporter)
2017-09-05 20:43

That worked, thanks
(0018231)
dra (developer)
2017-09-06 12:19

See https://github.com/ocaml/ocaml/pull/1319 [^]

@krark - your filed this against 4.05.0, but you were compiling a trunk build of OCaml, not 4.05.0, right?

- Issue History
Date Modified Username Field Change
2017-09-05 06:40 krark New Issue
2017-09-05 08:21 dra Note Added: 0018215
2017-09-05 08:22 dra Assigned To => dra
2017-09-05 08:22 dra Status new => acknowledged
2017-09-05 20:43 krark Note Added: 0018227
2017-09-06 12:19 dra Note Added: 0018231
2017-09-06 12:20 dra Status acknowledged => resolved
2017-09-06 12:20 dra Resolution open => fixed
2017-09-06 12:20 dra Product Version 4.05.0 => 4.06.0 +dev/beta1/beta2/rc1
2017-09-06 12:20 dra Target Version => 4.06.0 +dev/beta1/beta2/rc1


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker