https://github.com/lysxia/plugin-hell-please-ignore
Temporary troubleshooting repository
https://github.com/lysxia/plugin-hell-please-ignore
Last synced: 3 months ago
JSON representation
Temporary troubleshooting repository
- Host: GitHub
- URL: https://github.com/lysxia/plugin-hell-please-ignore
- Owner: Lysxia
- Created: 2022-04-10T04:00:50.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-10T21:05:13.000Z (about 4 years ago)
- Last Synced: 2025-04-24T04:48:15.287Z (about 1 year ago)
- Language: Makefile
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Experimenting with plugins using a shared library.
```
cd one && dune build @install && dune install && cd ..
cd two && dune build (* OK *)
(* Alternative builds *)
make (* Error *)
(*
File "./src/Two.v", line 2, characters 0-31:
Error:
Dynlink error: The module `Coq_config' is already loaded (either by the main program or a previously-dynlinked library)
*)
(* Clean up *)
make cleanall
(* Change the contents of two/src/Two.v to only 'Declare ML Module "two_plugin".' *)
dune build (* Error *)
(*
File "./src/Two.v", line 1, characters 0-31:
Error:
Dynlink error: error loading shared library: Dynlink.Error (Dynlink.Cannot_open_dll "Failure(\"/home/sam/code/coq/plugin-hell/two/_build/default/plugin/two_plugin.cmxs: undefined symbol: camlOne_plugin__Lib\")")
*)
```