Search code examples
makefileminix

How do I compile Minix source code?


I intend to make modifications to the Minix kernel. But before I start, I want to compile it, so that I know any further compilation issues are caused by things that I did.

I have obtained the Minix 3 source code from github, where it is mirrored:

git clone git://github.com/minix3/minix

Now, I wish to compile it before making any modifications to the code. When I do make in src, I get the message

Makefile:109: *** missing separator.  Stop.

I tried compiling just the kernel by doing make in src/minix/kernel. In this case, I get the message

Makefile:2: *** missing separator.  Stop.

How do I circumvent this problem? How do I compile the Minix source?


Solution

  • Minix building procedure is different. Please read through Crosscompiling MINIX with build.sh and MinixOnARM before trying anything. The Makefile under minix/kernel is not designed in normal as to compile with a simple make command. check if you are able to compile with build.sh tool at the minix/ folder