From: "Nickle Wang" <nicklew@nvidia.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
"ritul.bits@gmail.com" <ritul.bits@gmail.com>
Subject: Re: [edk2-devel] edk2 MdeModulePkg build error
Date: Thu, 30 Mar 2023 13:12:23 +0000 [thread overview]
Message-ID: <MW4PR12MB7031D719F426333209256D25D98E9@MW4PR12MB7031.namprd12.prod.outlook.com> (raw)
In-Reply-To: <CAHHF-2KQhSzRAOXPGRzUxjPeScA8AG=hOP_ydeRSh=KVs=hJ=A@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2143 bytes --]
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
Regards,
Nickle
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of ritul guru via groups.io
Sent: Thursday, March 30, 2023 4:40 AM
To: edk2-devel-groups-io <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: 7035 bytes --]
next prev parent reply other threads:[~2023-03-30 13:12 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 ` Nickle Wang [this message]
2023-03-30 15:04 ` [edk2-devel] " ritul guru
2023-03-30 23:36 ` Nickle Wang
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=MW4PR12MB7031D719F426333209256D25D98E9@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