[m-users.] Can't compile sample program
Volker Wysk
post at volker-wysk.de
Wed Mar 20 04:21:04 AEDT 2019
Am Dienstag, 19. März 2019, 16:55:42 CET schrieb Mark Brown:
> The author of that library has provided an Mmakefile, so I recommend
> you try using mmake to build it.
Okay. I've tried it with "mmake depend; mmake; sudo mmake install".
In the install step I get:
posix.m:186: Error: no Java `:- pragma foreign_type' declaration for `dir'/0.
For more information, recompile with `-E'.
This is this line in posix.m:
:- pragma foreign_type("C", dir, "DIR *", [can_pass_as_mercury_type]).
Looks to me like there is a "java" foreign_type missing. (Just guessing)
Can I somehow chose which grades are to be built, when using mmake? I don't
need the java stuff anyway.
Bye
Volker
More information about the users
mailing list