Hi Reza,

This error info is printed in CVfrCompiler::Compile () function. And before 
call this function, if vfrcompiler parse the code success, the status will be 
set to STATUS_PREPROCESSED, else it will be set to STATUS_DEAD. I don't think 
it's necessary to initial the value as STATUS_STARTED. 

Also I'm curious what's the root cause for your error and does this patch fix 
your error?

Thanks,
Eric 

-----Original Message-----
From: Reza Jelveh [mailto:reza.jel...@tuhh.de] 
Sent: Wednesday, April 02, 2014 12:18 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] [PATCH] vfrcompile not working on recent linux distributions

vfrcompiler's runstatus is undefined on startup, here's a patch that fixes it.

On 01/04/14 17:35, Reza Jelveh wrote:
> using VfrCompile on a recent linux distribution such as archlinux 
> yields ERROR 0003 no matter what Vfr I call it on. does anyone have 
> any hints on how I can debug this?
> 
> Thanks,
> Reza
> 
>     "VfrCompile" -l -n --string-db
>     
> /home/dude/OSXGUEST/ovmf-svn/src/tianocore-edk2-svn_build/Build/OvmfX64/RELEASE_GCC48/X64/IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe/OUTPUT/BdsDxeStrDefs.hpk
>     --output-directory
>     
> /home/dude/OSXGUEST/ovmf-svn/src/tianocore-edk2-svn_build/Build/OvmfX64/RELEASE_GCC48/X64/IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe/DEBUG/DeviceMngr
>     
> /home/dude/OSXGUEST/ovmf-svn/src/tianocore-edk2-svn_build/Build/OvmfX64/RELEASE_GCC48/X64/IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe/OUTPUT/DeviceManagerVfr.i
>     VfrCompile: ERROR 0003: Error parsing
>       compile error in file (null)
> 

------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to