[edk2-devel] EDK2 Linux Build, Make Errors on Basetools, Ubuntu under WSL

jim slaughter jim.slaughter at sage-micro.com
Mon Apr 27 15:30:24 UTC 2020


Hello,
I am using Ubuntu (16.04 x86)  under WSL.
Error on "make -C BaseTools" found in common instructions document for
linux,
https://github.com/tianocore/tianocore.github.io/wiki/Common-instructions
Using BASH shell.
I have done sudo updates and upgrade. Followed instructions and everything
worked till errors below occurred.
Any suggestions or help?

Thanks.

ERROR Printout - Jim Slaughter

Found a problem failing the "make -C Basetools" .  Using document
https://github.com/tianocore/tianocore.github.io/wiki/Common-instructions
Instruction line "Compile build tools"

make -C Basetools

Make fails ::
make -C BrotliCompress
make[2]: Entering directory
'/home/jws/src/edk2-stable202002/BaseTools/Source/C/BrotliCompress'
gcc -o ../bin/Brotli   brotli/c/tools/brotli.o brotli/c/common/dictionary.o
brotli/c/common/transform.o brotli/c/dec/bit_reader.o brotli/c/dec/decode.o
brotli/c/dec/huffman.o brotli/c/dec/state.o
brotli/c/enc/backward_references.o brotli/c/enc/backward_references_hq.o
brotli/c/enc/bit_cost.o brotli/c/enc/block_splitter.o
brotli/c/enc/brotli_bit_stream.o brotli/c/enc/cluster.o
brotli/c/enc/compress_fragment.o brotli/c/enc/compress_fragment_two_pass.o
brotli/c/enc/dictionary_hash.o brotli/c/enc/encode.o
brotli/c/enc/encoder_dict.o brotli/c/enc/entropy_encode.o
brotli/c/enc/histogram.o brotli/c/enc/literal_cost.o brotli/c/enc/memory.o
brotli/c/enc/metablock.o brotli/c/enc/static_dict.o
brotli/c/enc/utf8_util.o -L../libs -lm
gcc: error: brotli/c/tools/brotli.o: No such file or directory
gcc: error: brotli/c/common/dictionary.o: No such file or directory
gcc: error: brotli/c/common/transform.o: No such file or directory
gcc: error: brotli/c/dec/bit_reader.o: No such file or directory
gcc: error: brotli/c/dec/decode.o: No such file or directory
gcc: error: brotli/c/dec/huffman.o: No such file or directory
gcc: error: brotli/c/dec/state.o: No such file or directory
gcc: error: brotli/c/enc/backward_references.o: No such file or directory
gcc: error: brotli/c/enc/backward_references_hq.o: No such file or directory
gcc: error: brotli/c/enc/bit_cost.o: No such file or directory
gcc: error: brotli/c/enc/block_splitter.o: No such file or directory
gcc: error: brotli/c/enc/brotli_bit_stream.o: No such file or directory
gcc: error: brotli/c/enc/cluster.o: No such file or directory
gcc: error: brotli/c/enc/compress_fragment.o: No such file or directory
gcc: error: brotli/c/enc/compress_fragment_two_pass.o: No such file or
directory
gcc: error: brotli/c/enc/dictionary_hash.o: No such file or directory
gcc: error: brotli/c/enc/encode.o: No such file or directory
gcc: error: brotli/c/enc/encoder_dict.o: No such file or directory
gcc: error: brotli/c/enc/entropy_encode.o: No such file or directory
gcc: error: brotli/c/enc/histogram.o: No such file or directory
gcc: error: brotli/c/enc/literal_cost.o: No such file or directory
gcc: error: brotli/c/enc/memory.o: No such file or directory
gcc: error: brotli/c/enc/metablock.o: No such file or directory
gcc: error: brotli/c/enc/static_dict.o: No such file or directory
gcc: error: brotli/c/enc/utf8_util.o: No such file or directory
../Makefiles/app.makefile:18: recipe for target '../bin/Brotli' failed
make[2]: *** [../bin/Brotli] Error 1
make[2]: Leaving directory
'/home/jws/src/edk2-stable202002/BaseTools/Source/C/BrotliCompress'
GNUmakefile:74: recipe for target 'BrotliCompress' failed
make[1]: *** [BrotliCompress] Error 2
make[1]: Leaving directory
'/home/jws/src/edk2-stable202002/BaseTools/Source/C'
GNUmakefile:19: recipe for target 'Source/C' failed
make: *** [Source/C] Error 2
make: Leaving directory '/home/jws/src/edk2-stable202002/BaseTools'

-- 

-- 
Jim Slaughter

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#58179): https://edk2.groups.io/g/devel/message/58179
Mute This Topic: https://groups.io/mt/73306602/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20200427/2ddd7684/attachment.htm>


More information about the edk2-devel-archive mailing list