Minix Build failed

278 views
Skip to first unread message

kinect

unread,
Jan 27, 2017, 6:26:18 AM1/27/17
to minix3
Hi Team,

I am building minix in minix. I am running make build which is giving me an error. Hence, as per instructions here I am running command:

for t in gencat locale mkcsmapper mkesdb mklocale 
do
make -C /usr/src/usr.bin/$t all install
done

which gives me error:
undefined reference to errc.

Can anyone please look into this issue?

Thanks.

Anup Deulgaonkar

unread,
Jan 27, 2017, 10:27:27 AM1/27/17
to minix3
I posted the same error a couple of days back . I tried a workaround. I installed Ubuntu, downloaded the source code.

After that follow the cross compilation wiki Section: using build.sh directly. If you want to convert it into an ISO then 
after the build is done you can run:
bash ./releasetools/x86_cdimage.sh

This worked for me.

Hope this helps!!!

Yannik Glaser

unread,
Apr 28, 2019, 5:32:34 AM4/28/19
to minix3
Okay, so this is very late, but a workaround that I found for this is the following. 

Go into the yacc.c files and find the line that calls errc(arg1, arg2, arg3), replace that call with err(arg1, "") and that fixes the issue without breaking anything. (I don't remember the specific values for the arguments, just make sure the first argument is the same for both error calls). 

I'm not very experienced with this and don't know if this will cause some issues at some point, but so far it has at least allowed me to compile without the issue popping up. 

Hope that helps anyone who stumbles into the same issue. 
Reply all
Reply to author
Forward
Message has been deleted
0 new messages