On 23 March 2016 at 21:39, David Van Arnem <dvanar...@cmlab.biz> wrote: > Hi all, > > I pulled the UDK2015 branch from the Tianocore github repository today and > merged it into my local master branch so I have a stable release to base my > work off of. Then, I > > 1. did a clean and rebuild of BaseTools, > > 2. downloaded openssl-1.0.2g, patched it, and installed using Install.sh > > 3. deleted the openssl headers from CryptoPkg/Include/openssl (they appear > to have been moved to > CryptoPkg/Library/OpensslLib/openssl-1.0.2g/include/openssl according to > CryptoPkg/Library/OpensslLib/Install.sh), > > 4. did "build cleanall". > > However, then when I build CryptoPkg, I get the following error (apologies > for the formatting, I tried to break the lines up): > > `sig_app' referenced in section `.text.OBJ_find_sigid_algs' of > /home/dvanarnem/edk2/Build/CryptoPkg/DEBUG_GCC49/X64/CryptoPkg/Library/OpensslLib/OpensslLib/OUTPUT/OpensslLib.lib(obj_xref.obj): > defined in discarded section `COMMON' of > /home/dvanarnem/edk2/Build/CryptoPkg/DEBUG_GCC49/X64/CryptoPkg/Library/OpensslLib/OpensslLib/OUTPUT/OpensslLib.lib(obj_xref.obj) > > `sig_app' referenced in section `.text.OBJ_find_sigid_algs' of > /home/dvanarnem/edk2/Build/CryptoPkg/DEBUG_GCC49/X64/CryptoPkg/Library/OpensslLib/OpensslLib/OUTPUT/OpensslLib.lib(obj_xref.obj): > defined in discarded section `COMMON' of > /home/dvanarnem/edk2/Build/CryptoPkg/DEBUG_GCC49/X64/CryptoPkg/Library/OpensslLib/OpensslLib/OUTPUT/OpensslLib.lib(obj_xref.obj) > > `sig_app' referenced in section `.text.OBJ_find_sigid_algs' of > /home/dvanarnem/edk2/Build/CryptoPkg/DEBUG_GCC49/X64/CryptoPkg/Library/OpensslLib/OpensslLib/OUTPUT/OpensslLib.lib(obj_xref.obj): > defined in discarded section `COMMON' of > /home/dvanarnem/edk2/Build/CryptoPkg/DEBUG_GCC49/X64/CryptoPkg/Library/OpensslLib/OpensslLib/OUTPUT/OpensslLib.lib(obj_xref.obj) > > GNUmakefile:384: recipe for target > '/home/dvanarnem/edk2/Build/CryptoPkg/DEBUG_GCC49/X64/CryptoPkg/Application/Cryptest/Cryptest/DEBUG/Cryptest.dll' > failed > > make: *** > [/home/dvanarnem/edk2/Build/CryptoPkg/DEBUG_GCC49/X64/CryptoPkg/Application/Cryptest/Cryptest/DEBUG/Cryptest.dll] > Error 1 > > As the errors indicate, I'm building using GCC on Linux. A search online > for this error didn't return any useful results. I'm assuming something > with the merge may have messed up my local build, although git did not > indicate any merge conflicts. Is there something else I may need to do to > make sure I'm building from a "clean" state? >
You should verify whether your Conf/tools_def.txt file is up to date. If you don't have any local changes, you can simply remove it and re-run 'source edksetup.sh', and it will be regenerated based on BaseTools/Conf/tools_def.template. Please refer to commit 214a3b79417f64bf2faae74af42c1b9d23f50dc8 for more details _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel