public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* edk2 MdeModulePkg build error
@ 2023-03-29 20:40 ritul guru
  2023-03-30 13:12 ` [edk2-devel] " Nickle Wang
  0 siblings, 1 reply; 4+ messages in thread
From: ritul guru @ 2023-03-29 20:40 UTC (permalink / raw)
  To: edk2-devel-groups-io

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

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 & RegardsRitul Guru+91-9916513186*

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] edk2 MdeModulePkg build error
  2023-03-29 20:40 edk2 MdeModulePkg build error ritul guru
@ 2023-03-30 13:12 ` Nickle Wang
  2023-03-30 15:04   ` ritul guru
  0 siblings, 1 reply; 4+ messages in thread
From: Nickle Wang @ 2023-03-30 13:12 UTC (permalink / raw)
  To: devel@edk2.groups.io, ritul.bits@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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] edk2 MdeModulePkg build error
  2023-03-30 13:12 ` [edk2-devel] " Nickle Wang
@ 2023-03-30 15:04   ` ritul guru
  2023-03-30 23:36     ` Nickle Wang
  0 siblings, 1 reply; 4+ messages in thread
From: ritul guru @ 2023-03-30 15:04 UTC (permalink / raw)
  To: Nickle Wang, edk2-devel-groups-io

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

Thanks, How to install vfr compiler in ubuntu?



*Thanks & RegardsRitul Guru+91-9916513186*


On Thu, Mar 30, 2023 at 6:42 PM Nickle Wang <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
>
>
>
> 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: 6354 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] edk2 MdeModulePkg build error
  2023-03-30 15:04   ` ritul guru
@ 2023-03-30 23:36     ` Nickle Wang
  0 siblings, 0 replies; 4+ messages in thread
From: Nickle Wang @ 2023-03-30 23:36 UTC (permalink / raw)
  To: ritul guru, edk2-devel-groups-io

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-30 23:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox