public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* EDK2 Linux Build, Make Errors on Basetools, Ubuntu under WSL
@ 2020-04-27 15:30 jim slaughter
  2020-04-27 15:34 ` [edk2-devel] " Liming Gao
  0 siblings, 1 reply; 3+ messages in thread
From: jim slaughter @ 2020-04-27 15:30 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 3680 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 4752 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] EDK2 Linux Build, Make Errors on Basetools, Ubuntu under WSL
  2020-04-27 15:30 EDK2 Linux Build, Make Errors on Basetools, Ubuntu under WSL jim slaughter
@ 2020-04-27 15:34 ` Liming Gao
  2020-04-27 16:25   ` jim slaughter
  0 siblings, 1 reply; 3+ messages in thread
From: Liming Gao @ 2020-04-27 15:34 UTC (permalink / raw)
  To: devel@edk2.groups.io, jim.slaughter@sage-micro.com

[-- Attachment #1: Type: text/plain, Size: 4083 bytes --]

Please try command " git submodule update --init" to check out the source code before you build the packages.


From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of jim slaughter
Sent: Monday, April 27, 2020 11:30 PM
To: devel@edk2.groups.io
Subject: [edk2-devel] EDK2 Linux Build, Make Errors on Basetools, Ubuntu under WSL

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


[-- Attachment #2: Type: text/html, Size: 8687 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] EDK2 Linux Build, Make Errors on Basetools, Ubuntu under WSL
  2020-04-27 15:34 ` [edk2-devel] " Liming Gao
@ 2020-04-27 16:25   ` jim slaughter
  0 siblings, 0 replies; 3+ messages in thread
From: jim slaughter @ 2020-04-27 16:25 UTC (permalink / raw)
  To: Gao, Liming; +Cc: devel@edk2.groups.io

[-- Attachment #1: Type: text/plain, Size: 4366 bytes --]

Thanks. That worked!
Jim S.


On Mon, Apr 27, 2020 at 10:34 AM Gao, Liming <liming.gao@intel.com> wrote:

> Please try command " git submodule update --init" to check out the source
> code before you build the packages.
>
>
>
>
>
> *From:* devel@edk2.groups.io <devel@edk2.groups.io> * On Behalf Of *jim
> slaughter
> *Sent:* Monday, April 27, 2020 11:30 PM
> *To:* devel@edk2.groups.io
> *Subject:* [edk2-devel] EDK2 Linux Build, Make Errors on Basetools,
> Ubuntu under WSL
>
>
>
> 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
>
> 
>


-- 
Jim Slaughter

[-- Attachment #2: Type: text/html, Size: 7109 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-27 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-27 15:30 EDK2 Linux Build, Make Errors on Basetools, Ubuntu under WSL jim slaughter
2020-04-27 15:34 ` [edk2-devel] " Liming Gao
2020-04-27 16:25   ` jim slaughter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox