mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* can not compile on ubuntu 18.04 lts for x86
@ 2020-03-04  3:51 zhou qi
  2020-03-04  3:56 ` 回复: " zhou qi
  0 siblings, 1 reply; 3+ messages in thread
From: zhou qi @ 2020-03-04  3:51 UTC (permalink / raw)
  To: barebox

I compile the lastest code : https://github.com/saschahauer/barebox.git using the following commands:

export ARCH=x86
make menuconfig # change to bios boot
make

then errors:

  CHK     include/generated/version.h
  CHK     include/generated/utsrelease.h
  CREATE  include/config.h
  CHK     include/generated/compile.h
  ENV     defaultenv/barebox_default_env
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      common/version.o
  LD      common/built-in.o
  LD      barebox
arch/x86/lib/barebox.lds:147: nonconstant expression for load base
Makefile:785: recipe for target 'barebox' failed
make: *** [barebox] Error 1


thanks.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* 回复: can not compile on ubuntu 18.04 lts for x86
  2020-03-04  3:51 can not compile on ubuntu 18.04 lts for x86 zhou qi
@ 2020-03-04  3:56 ` zhou qi
  2020-03-09  7:34   ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: zhou qi @ 2020-03-04  3:56 UTC (permalink / raw)
  To: barebox


It compiles If I switch "Bring up type" to "EFI". How to compile "16 bit Bios" type ?


thanks.


发件人: zhou qi <atmgnd@outlook.com>

发送时间: 2020年3月4日 11:51

收件人: barebox@lists.infradead.org <barebox@lists.infradead.org>

主题: can not compile on ubuntu 18.04 lts for x86

 


I compile the lastest code : 
https://github.com/saschahauer/barebox.git using the following commands:



export ARCH=x86

make menuconfig # change to bios boot

make



then errors:



  CHK     include/generated/version.h

  CHK     include/generated/utsrelease.h

  CREATE  include/config.h

  CHK     include/generated/compile.h

  ENV     defaultenv/barebox_default_env

  GEN     .version

  CHK     include/generated/compile.h

  UPD     include/generated/compile.h

  CC      common/version.o

  LD      common/built-in.o

  LD      barebox

arch/x86/lib/barebox.lds:147: nonconstant expression for load base

Makefile:785: recipe for target 'barebox' failed

make: *** [barebox] Error 1





thanks.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: 回复: can not compile on ubuntu 18.04 lts for x86
  2020-03-04  3:56 ` 回复: " zhou qi
@ 2020-03-09  7:34   ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2020-03-09  7:34 UTC (permalink / raw)
  To: zhou qi; +Cc: barebox

Hi,

On Wed, Mar 04, 2020 at 03:56:11AM +0000, zhou qi wrote:
> 
> It compiles If I switch "Bring up type" to "EFI". How to compile "16 bit Bios" type ?

I'm afraid that when you pass this hurdle it will only be the tip of the
iceberg. Booting from a X86 legacy BIOS never got to a point where it
was really usable. Please don't do it unless you are willing to take a
lot of pain ;)

Regards,
  Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2020-03-09  7:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-04  3:51 can not compile on ubuntu 18.04 lts for x86 zhou qi
2020-03-04  3:56 ` 回复: " zhou qi
2020-03-09  7:34   ` Sascha Hauer

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