From: Andrei Borzenkov <arvidjaar@gmail.com>
To: Mat Troi <mattroisang@gmail.com>
Cc: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Error when building module with efi's "grub_efi_get_variable" function
Date: Wed, 29 Oct 2014 21:30:53 +0300 [thread overview]
Message-ID: <20141029213053.026b265d@opensuse.site> (raw)
In-Reply-To: <CAA0a8nUr9fVxDR4jK3o-5H5yrtt1UKCmV39iLnB86SDQQAmfSw@mail.gmail.com>
В Tue, 28 Oct 2014 18:43:52 -0700
Mat Troi <mattroisang@gmail.com> пишет:
> Hi,
>
> This is my Makefile.core.def:
> ...
> ...
> module = {
> name = mymod;
> common = net/mymod.c;
> };
> ...
> ...
>
> When I tried to build I get:
> mv syminfo.lst.new syminfo.lst
> cat syminfo.lst | sort | gawk -f
> /build/boot_project/src/grub/grub2/grub-core/genmoddep.awk >
> moddep.lst || (rm -f moddep.lst; exit 1)
> grub_efi_get_variable in mymod is not defined
> make[5]: *** [moddep.lst] Error 1
>
> mymod.c has "#include <grub/efi/efi.h>" and tries to use
> "grub_efi_get_variable" function. I see that in syminfo.lst
> > more syminfo.lst
> ...
> undefined mymod grub_efi_get_variable
> ...
>
> Can someone shed a light on the error and how to fix?
>
Do you build for EFI platform?
> Thanks,
> Matt
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
next prev parent reply other threads:[~2014-10-29 18:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-29 1:43 Error when building module with efi's "grub_efi_get_variable" function Mat Troi
2014-10-29 18:30 ` Andrei Borzenkov [this message]
2014-10-31 18:05 ` Mat Troi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141029213053.026b265d@opensuse.site \
--to=arvidjaar@gmail.com \
--cc=grub-devel@gnu.org \
--cc=mattroisang@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.