public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Nickle Wang" <nicklew@nvidia.com>
To: ritul guru <ritul.bits@gmail.com>,
	edk2-devel-groups-io <devel@edk2.groups.io>
Subject: Re: [edk2-devel] edk2 MdeModulePkg build error
Date: Thu, 30 Mar 2023 23:36:47 +0000	[thread overview]
Message-ID: <MW4PR12MB70316B0DE22ABC409D556893D98E9@MW4PR12MB7031.namprd12.prod.outlook.com> (raw)
In-Reply-To: <CAHHF-2L_N5Bfak0iDhoeb6xnsKMnQAM2bP8UdKMap6+VsUjQwA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3763 bytes --]

VFR compiler is in BaseTools. Please check this to see how to generate binary tool: https://github.com/tianocore/edk2/tree/master/BaseTools#build-step-to-generate-the-binary-tools

Regards,
Nickle

From: ritul guru <ritul.bits@gmail.com>
Sent: Thursday, March 30, 2023 11:05 PM
To: Nickle Wang <nicklew@nvidia.com>; edk2-devel-groups-io <devel@edk2.groups.io>
Subject: Re: [edk2-devel] edk2 MdeModulePkg build error

External email: Use caution opening links or attachments

Thanks, How to install vfr compiler in ubuntu?

Thanks & Regards
Ritul Guru
+91-9916513186


On Thu, Mar 30, 2023 at 6:42 PM Nickle Wang <nicklew@nvidia.com<mailto:nicklew@nvidia.com>> wrote:
You probably need to update VFR compiler. REST_STYLE token was introduced in below commit long time ago.

https://github.com/tianocore/edk2/commit/1b840718f72711d442ecd7b7e54256a31df8bd20<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftianocore%2Fedk2%2Fcommit%2F1b840718f72711d442ecd7b7e54256a31df8bd20&data=05%7C01%7Cnicklew%40nvidia.com%7Cb107a4dc573a4dc9a1a908db31301b92%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C638157854912316861%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Hg26N05hSCZFP1QK5CzHqkuYWW7mfLYLp%2FpRyoCQwok%3D&reserved=0>

Regards,
Nickle

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of ritul guru via groups.io<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.io%2F&data=05%7C01%7Cnicklew%40nvidia.com%7Cb107a4dc573a4dc9a1a908db31301b92%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C638157854912316861%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=mKqgwpGGPcclFy5mBXA50mWcgDiq%2F2qOpY2VnmzdfoE%3D&reserved=0>
Sent: Thursday, March 30, 2023 4:40 AM
To: edk2-devel-groups-io <devel@edk2.groups.io<mailto:devel@edk2.groups.io>>
Subject: [edk2-devel] edk2 MdeModulePkg build error

External email: Use caution opening links or attachments

Hi,
getting below error while building MdeModulePkg, help is appreciated.

build cmd:
build -p "MdeModulePkg/MdeModulePkg.dsc" -b DEBUG -t GCC5


MdeModulePkg/Include -I/home/a/src/opensource/edk2/MdeModulePkg/Library/BrotliCustomDecompressLib/brotli/c/include /home/a/src/opensource/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdeModulePkg/Universal/Disk/CdExpressPei/CdExpressPei/DEBUG/AutoGen.c
VfrCompile...
/home/a/src/opensource/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe/OUTPUT/Vfr.i(164): WARNING: default
        : default value re-defined with different value

VfrCompile...
/home/a/src/opensource/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe/OUTPUT/Vfr.i(238): ERROR 12288: REST_STYLE
        : unexpected token

VfrCompile...
/home/a/src/opensource/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe/OUTPUT/Vfr.i(246): ERROR 12288: REST_STYLE
        : unexpected token

VfrCompile: ERROR 0003: Error parsing
  compile error in file /home/a/src/opensource/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe/OUTPUT/Vfr.i
make: *** [GNUmakefile:461: /home/a/src/opensource/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe/DEBUG/Vfr.c] Error 2


build.py...
 : error 7000: Failed to execute command
        make tbuild [/home/a/src/opensource/edk2/Build/MdeModule/DEBUG_GCC5/IA32/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe]

Thanks & Regards
Ritul Guru
+91-9916513186


[-- Attachment #2: Type: text/html, Size: 11992 bytes --]

      reply	other threads:[~2023-03-30 23:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-29 20:40 edk2 MdeModulePkg build error ritul guru
2023-03-30 13:12 ` [edk2-devel] " Nickle Wang
2023-03-30 15:04   ` ritul guru
2023-03-30 23:36     ` Nickle Wang [this message]

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-list 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=MW4PR12MB70316B0DE22ABC409D556893D98E9@MW4PR12MB7031.namprd12.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox