On Fri, Jan 10, 2025 at 1:51 PM Sumeet R.P. <sumeet4li...@gmail.com> wrote:
>
> Hi,
>
> I got the latest grub code in tar file from 
> https://git.savannah.gnu.org/cgit/grub.git/snapshot/grub-2.12.tar.gz  and 
> after untarring it, I am facing compilation error as below while running 
> "make" command (as mentioned in [3]).
>
> Followed below steps to compile the grub2 latest code.
> [1] ./autogen.sh

I assume you ran bootstrap before, right?
IIUC, running autogen is not required after bootstrap, but I don't
think it hurts.

> [2] ./configure --with-platform=efi
> [3] make
>

I downloaded the tarball you mentioned and I find
./grub-core/extra_deps.lst in it.

I am able to build it with
./bootstrap
./configure --with-platform=efi
make

Can you share some more info on what you are doing?

- Oliver

> ....
>  gcry_twofish.marker gcry_whirlpool.marker; do \
>   b=`basename $pp .marker`; \
>   if grep 'VIDEO_LIST_MARKER' $pp >/dev/null 2>&1; then \
>     echo $b; \
>   fi; \
> done) | sort -u > video.lst
> cp lib/libgcrypt-grub/cipher/crypto.lst crypto.lst
> make[3]: *** No rule to make target '../grub-core/extra_deps.lst', needed by 
> 'syminfo.lst'.  Stop.
> make[3]: Leaving directory '/home/sumeet/grub-2.12/grub-core'
> make[2]: *** [Makefile:28855: all] Error 2
> make[2]: Leaving directory '/home/sumeet/grub-2.12/grub-core'
> make[1]: *** [Makefile:12131: all-recursive] Error 1
> make[1]: Leaving directory '/home/sumeet/grub-2.12'
> make: *** [Makefile:3958: all] Error 2
>
> I did try this available patch  
> https://git.savannah.gnu.org/cgit/grub.git/commit/conf/Makefile.extra-dist?id=b835601c7639ed1890f2d3db91900a8506011a8e
>    at https://savannah.gnu.org/bugs/index.php?65065 , but it didn't help to 
> fix this compilation error.
>
> Any input or suggestion to address this would be helpful.
>
> Regards,
> Sumeet.
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to