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

eo_posix 0.9 doesn't compile on FreeBSD 12.2 #502

Closed
hannesm opened this issue May 3, 2023 · 1 comment · Fixed by #507
Closed

eo_posix 0.9 doesn't compile on FreeBSD 12.2 #502

hannesm opened this issue May 3, 2023 · 1 comment · Fixed by #507
Milestone

Comments

@hannesm
Copy link

hannesm commented May 3, 2023

The error is

# command              ~.opam/5.0.0/bin/dune build -p eio_posix -j 1 @install
# exit-code            1
# env-file             ~.opam/log/eio_posix-26556-119cdd.env
# output-file          ~.opam/log/eio_posix-26556-119cdd.out
### output ###
# -> stderr:
# [...]
#  | /tmp/build_33ec8a_dune/ocaml-configurator17a47a/c-test-0/test.c:80:12: error: use of undeclared identifier 'O_DSYNC'
#  | /tmp/build_33ec8a_dune/ocaml-configurator17a47a/c-test-0/test.c:80:12: error: use of undeclared identifier 'O_DSYNC'
#  | /tmp/build_33ec8a_dune/ocaml-configurator17a47a/c-test-0/test.c:80:12: error: use of undeclared identifier 'O_DSYNC'
#  | /tmp/build_33ec8a_dune/ocaml-configurator17a47a/c-test-0/test.c:80:12: error: use of undeclared identifier 'O_DSYNC'
#  | /tmp/build_33ec8a_dune/ocaml-configurator17a47a/c-test-0/test.c:80:12: error: use of undeclared identifier 'O_DSYNC'
#  | /tmp/build_33ec8a_dune/ocaml-configurator17a47a/c-test-0/test.c:80:12: error: use of undeclared identifier 'O_DSYNC'
#  | /tmp/build_33ec8a_dune/ocaml-configurator17a47a/c-test-0/test.c:80:12: error: use of undeclared identifier 'O_DSYNC'
#  | /tmp/build_33ec8a_dune/ocaml-configurator17a47a/c-test-0/test.c:80:12: error: use of undeclared identifier 'O_DSYNC'
#  | fatal error: too many errors emitted, stopping now [-ferror-limit=]
#  | 20 errors generated.
# Error: failed to compile program
@talex5
Copy link
Collaborator

talex5 commented May 3, 2023

I guess we can just remove that that.

Who is using FreeBSD 12, though? I only tested on FreeBSD 13.1 (it works there).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants