Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't figure out the right ./compile parameters for my platform #7621

Closed
vicuna opened this issue Sep 5, 2017 · 3 comments
Closed

Can't figure out the right ./compile parameters for my platform #7621

vicuna opened this issue Sep 5, 2017 · 3 comments
Assignees
Milestone

Comments

@vicuna
Copy link

vicuna commented Sep 5, 2017

Original bug ID: 7621
Reporter: krark
Assigned to: @dra27
Status: resolved (set by @dra27 on 2017-09-06T10:20:08Z)
Resolution: fixed
Priority: normal
Severity: block
Platform: cygwin
OS: Windows
OS Version: 7
Version: 4.06.0 +dev/beta1/beta2/rc1
Target version: 4.06.0 +dev/beta1/beta2/rc1
Category: configure and build/install

Bug description

As 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

@vicuna
Copy link
Author

vicuna commented Sep 5, 2017

Comment author: @dra27

Try installing the flexdll Cygwin package, then rerun configure

@vicuna
Copy link
Author

vicuna commented Sep 5, 2017

Comment author: krark

That worked, thanks

@vicuna
Copy link
Author

vicuna commented Sep 6, 2017

Comment author: @dra27

See #1319

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

@vicuna vicuna closed this as completed Sep 6, 2017
@vicuna vicuna added this to the 4.06.0 milestone Mar 14, 2019
@vicuna vicuna added the bug label Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants