Closed maroneze closed 7 years ago
Ok, I finally had a look at it and the problem was that my GCC was suffixed with the version number (gcc-7
), so the Makefile didn't include the -fPIC
flag. Renaming it to gcc
avoids the issue.
To make it work in such cases, instead of firstword
, the Makefile
would have to include something as findstring
, but then it could have false positives. So, in the end, I think it's not worth changing anything.
In the unlikely event someone might have a similar issue, they will probably end up finding this, and finding out about the solution.
I tried compiling landmarks on the freshly-released OCaml 4.04.1, but I got the following error when trying
opam install landmarks
(I made a local opam repository using the extracted contents of the OCaml release archive):I don't have the time right now to try adding the suggested flag, but I'll do later. In any case, I wanted to notify about it.
I am using a Fedora 26-alpha with GCC 7, so it is not impossible that it is an issue due to this somewhat bleeding-edge configuration. However, I am able to compile landmarks on OCaml 4.04.0 without issues.