OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 8:44 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: uefi build is failing anyone seen this?
PostPosted: Mon Sep 19, 2016 4:10 pm 
Offline
Member
Member

Joined: Wed Nov 18, 2015 3:04 pm
Posts: 396
Location: San Jose San Francisco Bay Area
I am having following trouble. For confidentiality, hid the actual project name with <file> placeholder.
Anyone is familiar with this?
The build environment is WS2012 R2 / VS2008 installed, building EDK project.

Code:
c:\MyWorkspace>dir
Volume in drive C has no label.
Volume Serial Number is D0C1-BC46

Directory of c:\MyWorkspace

09/19/2016  04:43 AM    <DIR>          .
09/19/2016  04:43 AM    <DIR>          ..
09/19/2016  04:40 AM    <DIR>          BaseTools
09/19/2016  04:41 AM    <DIR>          Build
09/19/2016  11:25 AM               240 build.log
12/14/2015  10:28 PM             6,694 BuildNotes2.txt
09/19/2016  04:41 AM    <DIR>          Conf
09/19/2016  04:41 AM    <DIR>          CryptoPkg
09/19/2016  04:42 AM    <DIR>          Docs
09/19/2016  04:42 AM    <DIR>          DuetPkg
12/14/2015  10:28 PM            19,173 Edk2Setup.bat
05/23/2016  06:38 AM             1,557 edkii.development.notes.rtf
12/14/2015  10:28 PM             4,202 edksetup.bat
09/19/2016  04:42 AM    <DIR>          EdkShellBinPkg
09/19/2016  04:42 AM    <DIR>          Executable
09/19/2016  04:42 AM    <DIR>          FatBinPkg
09/19/2016  04:42 AM    <DIR>          Includes
09/19/2016  04:42 AM    <DIR>          IntelFrameworkModulePkg
12/14/2015  10:31 PM    <DIR>          IntelFrameworkPkg
12/14/2015  10:31 PM    <DIR>          MdeModulePkg
12/14/2015  10:31 PM    <DIR>          MdePkg
12/14/2015  10:31 PM    <DIR>          NetworkPkg
12/14/2015  10:31 PM    <DIR>          Nt32Pkg
12/14/2015  10:31 PM    <DIR>          PcAtChipsetPkg
12/14/2015  10:31 PM    <DIR>          PerformancePkg
12/14/2015  10:31 PM    <DIR>          SecurityPkg
08/05/2016  11:52 AM    <DIR>          <file>
12/14/2015  10:31 PM    <DIR>          ShellBinPkg
12/14/2015  10:31 PM    <DIR>          ShellPkg
07/13/2016  01:18 PM    <DIR>          Source
12/14/2015  10:31 PM    <DIR>          SourceLevelDebugPkg
12/14/2015  10:31 PM    <DIR>          UefiCpuPkg
               8 File(s)         39,645 bytes
              27 Dir(s)  48,488,312,832 bytes free

c:\MyWorkspace>edksetup.bat
          PATH      = c:\MyWorkspace\BaseTools\Bin;c:\MyWorkspace\BaseTools\Bin\
Win32;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System3
2\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\b
inn\

     WORKSPACE      = c:\MyWorkspace
EDK_TOOLS_PATH      = c:\MyWorkspace\BaseTools


Rebuilding of tools is not required.  Binaries of the latest,
tested versions of the tools have been tested and included in the
EDK II repository.

If you really want to build the tools, use the ForceRebuild option.


!!! WARNING !!! No CYGWIN_HOME set, gcc build may not be used !!!

c:\MyWorkspace>build -p <file>\<file>.dsc
Build environment: Windows-post2008Server-6.2.9200
Build start time: 06:51:17, Sep.19 2016

WORKSPACE        = c:\myworkspace
ECP_SOURCE       = c:\myworkspace\edkcompatibilitypkg
EDK_SOURCE       = c:\myworkspace\edkcompatibilitypkg
EFI_SOURCE       = c:\myworkspace\edkcompatibilitypkg
EDK_TOOLS_PATH   = c:\myworkspace\basetools

Architecture(s)  = X64
Build target     = DEBUG
Toolchain        = VS2008x86

Active Platform          = c:\myworkspace\<file>\<file>.dsc
Active Module            = c:\myworkspace\<file>.inf

Processing meta-data .. done!

build...
: error F002: Module for [X64] is not a component of active platform. Please ma
ke sure that the ARCH and inf file path are given in the same as in [c:\myworksp
ace\<file>\<file>.dsc]
        c:\myworkspace\<file>.inf

- Failed -
Build end time: 06:51:19, Sep.19 2016
Build total time: 00:00:02


c:\MyWorkspace>


Googling finds following from this link below:
https://www.virtualbox.org/svn/vbox/tru ... d/build.py

Code:
                self.BuildReport.AddPlatformReport(Wa, MaList)
                if MaList == []:
                    EdkLogger.error(
                                'build',
                                BUILD_ERROR,
                                "Module for [%s] is not a component of active platform."\
                                " Please make sure that the ARCH and inf file path are"\
                                " given in the same as in [%s]" %\
                                    (', '.join(Wa.ArchList), self.PlatformFile),
                                ExtraData=self.ModuleFile
                                )
                # Create MAP file when Load Fix Address is enabled.

_________________
key takeaway after spending yrs on sw industry: big issue small because everyone jumps on it and fixes it. small issue is big since everyone ignores and it causes catastrophy later. #devilisinthedetails


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group