Hello,
I'm trying to compile gptboot from /usr/src/stand/i386/gptboot/.
I typed
Then, I went to /usr/src/stand/i386/btx/lib/ and did
But when I try to compile gptboot now, I get:
I tried to add the directory where lies this file to CFLAGS in Makefile but anothers errors appear. So it's not the solution.
Any clue?
PS: it's a 12.0-RELEASE.
I'm trying to compile gptboot from /usr/src/stand/i386/gptboot/.
I typed
make
and got this errror:make: don't know how to make /usr/obj/usr/src/amd64.amd64/stand/i386/btx/lib/crt0.o. Stop
Then, I went to /usr/src/stand/i386/btx/lib/ and did
make
. This created crt0.o in /usr/obj/usr/src/amd64.amd64/stand/i386/btx/lib/ and apparently make
doesn't complain anymore about that.But when I try to compile gptboot now, I get:
/usr/src/stand/i386/gptboot/gptboot.c:29:10: fatal error: 'stdarg.h' file not
found
#include <stdarg.h>
^~~~~~~~~~
1 error generated.
I tried to add the directory where lies this file to CFLAGS in Makefile but anothers errors appear. So it's not the solution.
Any clue?
PS: it's a 12.0-RELEASE.