public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Liming Gao" <liming.gao@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"jim.slaughter@sage-micro.com" <jim.slaughter@sage-micro.com>
Subject: Re: [edk2-devel] EDK2 Linux Build, Make Errors on Basetools, Ubuntu under WSL
Date: Mon, 27 Apr 2020 15:34:33 +0000	[thread overview]
Message-ID: <BN6PR11MB3972D1F400CCFBD49610EA6380AF0@BN6PR11MB3972.namprd11.prod.outlook.com> (raw)
In-Reply-To: <CAP1zt87nRqbHNGNxjfpd5tG7S+qE3M7hkJtt9usw_JLdwzYuMA@mail.gmail.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 --]

  reply	other threads:[~2020-04-27 15:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27 15:30 EDK2 Linux Build, Make Errors on Basetools, Ubuntu under WSL jim slaughter
2020-04-27 15:34 ` Liming Gao [this message]
2020-04-27 16:25   ` [edk2-devel] " jim slaughter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BN6PR11MB3972D1F400CCFBD49610EA6380AF0@BN6PR11MB3972.namprd11.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox