01-07-2021, 10:16 PM
(This post was last modified: 03-01-2021, 02:04 PM by Midas.
Edit Reason: Normalize "[SOLVED]" tag.
)
Hello,
Tried to compile Ventoy 1.32 from source.
Grub Core.img is coming out at 0kb.
I am getting this error when compiling Grub separately.
Compiles fine on 1.31 source. Compiled using Longpanda's guide on Github.
Likely an error on my part as I am new to compiling.
ventoy/ventoy.c:49:19: fatal error: miniz.h: No such file or directory
#include "miniz.h"
^
compilation terminated.
make[3]: *** [ventoy/ventoy_module-ventoy.o] Error 1
make[3]: Leaving directory `/home/Ventoy-master/GRUB2/SRC/grub-2.04/grub-core'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/Ventoy-master/GRUB2/SRC/grub-2.04/grub-core'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/Ventoy-master/GRUB2/SRC/grub-2.04'
make: *** [install] Error 2
grub-mkimage: error: cannot open `/home/Ventoy-master/GRUB2/SRC/grub-2.04/../../../GRUB2/INSTALL/lib/grub/i386-efi/moddep.lst': No such file or directory.
grub-mknetdir: error: cannot open `/home/Ventoy-master/GRUB2/INSTALL/lib/grub/i386-efi/moddep.lst': No such file or directory.
Tried to compile Ventoy 1.32 from source.
Grub Core.img is coming out at 0kb.
I am getting this error when compiling Grub separately.
Compiles fine on 1.31 source. Compiled using Longpanda's guide on Github.
Likely an error on my part as I am new to compiling.
ventoy/ventoy.c:49:19: fatal error: miniz.h: No such file or directory
#include "miniz.h"
^
compilation terminated.
make[3]: *** [ventoy/ventoy_module-ventoy.o] Error 1
make[3]: Leaving directory `/home/Ventoy-master/GRUB2/SRC/grub-2.04/grub-core'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/Ventoy-master/GRUB2/SRC/grub-2.04/grub-core'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/Ventoy-master/GRUB2/SRC/grub-2.04'
make: *** [install] Error 2
grub-mkimage: error: cannot open `/home/Ventoy-master/GRUB2/SRC/grub-2.04/../../../GRUB2/INSTALL/lib/grub/i386-efi/moddep.lst': No such file or directory.
grub-mknetdir: error: cannot open `/home/Ventoy-master/GRUB2/INSTALL/lib/grub/i386-efi/moddep.lst': No such file or directory.