From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XjY1X-0007Nw-C7 for mharc-grub-devel@gnu.org; Wed, 29 Oct 2014 14:31:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjY1Q-0007J8-He for grub-devel@gnu.org; Wed, 29 Oct 2014 14:31:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjY1L-0002md-1I for grub-devel@gnu.org; Wed, 29 Oct 2014 14:31:04 -0400 Received: from mail-la0-x22e.google.com ([2a00:1450:4010:c03::22e]:42203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjY1K-0002mI-QJ for grub-devel@gnu.org; Wed, 29 Oct 2014 14:30:58 -0400 Received: by mail-la0-f46.google.com with SMTP id hs14so3031708lab.5 for ; Wed, 29 Oct 2014 11:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=t2ypNPP3Y7PkvLtr7souJ6zvsZzEpTU8hW+cTs6EjvI=; b=Ch4/PmWdhR67z9Zq3ZXTpigBlEoyJrucERvktaJOAdxpLXRUOy1599BHwgdUguOASr Q0JlgtNwUEsRR+boUxUgY8Jt+MOU9gdAgAKrmliKJccH03r5BKoJlI5LT69jdkrbe5As 3512IFpvMG4qH4QqspOckmUpFkCJ3DKK7lZttxGsKhNz/mgT5Pegjj0lJ+O+nn0Hrya7 WPamAmdTmYGPE9kfnHVbsp9i5AfHQgI9zL23UgWhxc0iHHb+YPhoWGkG5FEFabdD1fy6 cJ8xU4QBgg810UUpldvdRWNupJuw2st7bn3y40hn7ZWUQ+qyJqeZy96vu4YrSjiJLJkp EsOQ== X-Received: by 10.112.200.34 with SMTP id jp2mr13311857lbc.1.1414607457724; Wed, 29 Oct 2014 11:30:57 -0700 (PDT) Received: from opensuse.site (ppp91-76-139-38.pppoe.mtu-net.ru. [91.76.139.38]) by mx.google.com with ESMTPSA id k16sm2243143laa.10.2014.10.29.11.30.56 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Oct 2014 11:30:56 -0700 (PDT) Date: Wed, 29 Oct 2014 21:30:53 +0300 From: Andrei Borzenkov To: Mat Troi Subject: Re: Error when building module with efi's "grub_efi_get_variable" function Message-ID: <20141029213053.026b265d@opensuse.site> In-Reply-To: References: X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.23; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22e Cc: The development of GNU GRUB X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 18:31:10 -0000 =D0=92 Tue, 28 Oct 2014 18:43:52 -0700 Mat Troi =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Hi, >=20 > This is my Makefile.core.def: > ... > ... > module =3D { > name =3D mymod; > common =3D net/mymod.c; > }; > ... > ... >=20 > 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 >=20 > mymod.c has "#include " and tries to use > "grub_efi_get_variable" function. I see that in syminfo.lst > > more syminfo.lst > ... > undefined mymod grub_efi_get_variable > ... >=20 > Can someone shed a light on the error and how to fix? >=20 Do you build for EFI platform? > Thanks, > Matt >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel