arch x86 is broken in -next

Antony Pavlov antonynpavlov at gmail.com
Wed Aug 10 07:26:03 EDT 2011


Hi!

I have tryed to build x86 barebox.

$ make ARCH=x86 generic_defconfig
...
$ make ARCH=x86 CROSS_COMPILE=i686-pc-linux-gnu-
...
  CC      drivers/ata/disk_drive.o
drivers/ata/disk_drive.c: In function 'disk_probe':
drivers/ata/disk_drive.c:193: error: 'struct device_d' has no member
named 'size'
drivers/ata/disk_drive.c:195: error: 'struct device_d' has no member
named 'size'
drivers/ata/disk_drive.c:197: error: 'struct device_d' has no member
named 'size'

after ATA disabling in .config I have got this:
...
 CC      arch/x86/boards/x86_generic/generic_pc.o
arch/x86/boards/x86_generic/generic_pc.c:36: error: unknown field
'size' specified in initializer
arch/x86/boards/x86_generic/generic_pc.c: In function 'devices_init':
arch/x86/boards/x86_generic/generic_pc.c:57: error: 'sdram_dev'
undeclared (first use in this function)

-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list