We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make -C BaseTools
Hi, when building BaseTools by running these commands:
git clone https://github.com/tianocore/edk2.git --recursive cd edk2 source edksetup.sh make -C BaseTools/
I get this error:
make: Entering directory '/home/linuxuser/Documents/edk2/BaseTools' make -C Source/C make[1]: Entering directory '/home/linuxuser/Documents/edk2/BaseTools/Source/C' Attempting to detect HOST_ARCH from 'uname -m': x86_64 Detected HOST_ARCH of X64 using uname. mkdir -p . make -C Common make[2]: Entering directory '/home/linuxuser/Documents/edk2/BaseTools/Source/C/Common' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/linuxuser/Documents/edk2/BaseTools/Source/C/Common' make -C BrotliCompress make[2]: Entering directory '/home/linuxuser/Documents/edk2/BaseTools/Source/C/BrotliCompress' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/linuxuser/Documents/edk2/BaseTools/Source/C/BrotliCompress' make -C VfrCompile make[2]: Entering directory '/home/linuxuser/Documents/edk2/BaseTools/Source/C/VfrCompile' g++ -o ../bin/VfrCompile AParser.o DLexerBase.o ATokenBuffer.o EfiVfrParser.o VfrLexer.o VfrSyntax.o VfrFormPkg.o VfrError.o VfrUtilityLib.o VfrCompiler.o -L../libs -lCommon /usr/bin/ld: VfrError.o: in function `CVfrErrorHandle::HandleError(EFI_VFR_RETURN_CODE, unsigned int, char*)': VfrError.cpp:(.text+0x474): undefined reference to `Error' /usr/bin/ld: VfrError.o: in function `CVfrErrorHandle::HandleWarning(EFI_VFR_WARNING_CODE, unsigned int, char*)': VfrError.cpp:(.text+0x551): undefined reference to `Warning' /usr/bin/ld: VfrError.cpp:(.text+0x593): undefined reference to `Error' /usr/bin/ld: VfrError.o: in function `CVfrErrorHandle::PrintMsg(unsigned int, char*, char const*, char const*)': VfrError.cpp:(.text+0x39a): undefined reference to `Error' /usr/bin/ld: VfrError.cpp:(.text+0x3c1): undefined reference to `VerboseMsg' /usr/bin/ld: VfrUtilityLib.o: in function `CVfrStringDB::GetVarStoreNameFormStringId(unsigned short)': VfrUtilityLib.cpp:(.text+0x6605): undefined reference to `LongFilePath' /usr/bin/ld: VfrCompiler.o: in function `CVfrCompiler::DebugError(char*, unsigned int, unsigned int, char const*, char const*, ...)': VfrCompiler.cpp:(.text+0x8e): undefined reference to `PrintMessage' /usr/bin/ld: VfrCompiler.o: in function `CVfrCompiler::OptionInitialization(int, char**)': VfrCompiler.cpp:(.text+0x987): undefined reference to `SetUtilityName' /usr/bin/ld: VfrCompiler.cpp:(.text+0xcfd): undefined reference to `DebugMsg' /usr/bin/ld: VfrCompiler.cpp:(.text+0x10a0): undefined reference to `StringToGuid' /usr/bin/ld: VfrCompiler.o: in function `CVfrCompiler::PreProcess()': VfrCompiler.cpp:(.text+0x1275): undefined reference to `LongFilePath' /usr/bin/ld: VfrCompiler.o: in function `CVfrCompiler::Compile()': VfrCompiler.cpp:(.text+0x1458): undefined reference to `LongFilePath' /usr/bin/ld: VfrCompiler.o: in function `CVfrCompiler::GenBinary()': VfrCompiler.cpp:(.text+0x164d): undefined reference to `LongFilePath' /usr/bin/ld: VfrCompiler.o: in function `CVfrCompiler::GenCFile()': VfrCompiler.cpp:(.text+0x1735): undefined reference to `LongFilePath' /usr/bin/ld: VfrCompiler.o: in function `CVfrCompiler::GenRecordListFile()': VfrCompiler.cpp:(.text+0x1866): undefined reference to `LongFilePath' /usr/bin/ld: VfrCompiler.o:VfrCompiler.cpp:(.text+0x188a): more undefined references to `LongFilePath' follow /usr/bin/ld: VfrCompiler.o: in function `CVfrCompiler::AdjustBin() [clone .part.0]': VfrCompiler.cpp:(.text+0x1f5): undefined reference to `DebugMsg' /usr/bin/ld: VfrCompiler.o: in function `main': VfrCompiler.cpp:(.text.startup+0x32): undefined reference to `SetPrintLevel' /usr/bin/ld: VfrCompiler.cpp:(.text.startup+0xa8): undefined reference to `GetUtilityStatus' collect2: error: ld returned 1 exit status make[2]: *** [GNUmakefile:45: ../bin/VfrCompile] Error 1 make[2]: Leaving directory '/home/linuxuser/Documents/edk2/BaseTools/Source/C/VfrCompile' make[1]: *** [GNUmakefile:79: VfrCompile] Error 2 make[1]: Leaving directory '/home/linuxuser/Documents/edk2/BaseTools/Source/C' make: *** [GNUmakefile:19: Source/C] Error 2 make: Leaving directory '/home/linuxuser/Documents/edk2/BaseTools'
Could someone please tell how to fix this issue?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, when building BaseTools by running these commands:
I get this error:
Could someone please tell how to fix this issue?
The text was updated successfully, but these errors were encountered: