Ventoy Forums

Full Version: [SOLVED] Grub compile error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Oh, I missed the new files.
I have commited to the git, please update it.

https://github.com/ventoy/Ventoy/blob/ma...oy/miniz.h
https://github.com/ventoy/Ventoy/blob/ma...oy/miniz.c
(01-08-2021, 03:04 AM)longpanda Wrote: [ -> ]Oh, I missed the new files.
I have commited to the git, please update it.

https://github.com/ventoy/Ventoy/blob/ma...oy/miniz.h
https://github.com/ventoy/Ventoy/blob/ma...oy/miniz.c
Thanks,
That fixed it.