On Wed, Jun 16, 2010 at 2:41 PM, Rudolf Marek r.marek@assembler.cz wrote:
Hi all,
Second problem is very strange:
marekr2@kiur:~/dilna/coreboot$ make GEN build.h ROMCC romstage.inc ne2k.c:83.0: warning: "comment next line causes stuff to compile again" ne2k.c:126.0: warning: "Add timeout" romstage.c:74.0: Internal compiler error: constant for unknown type make: *** [build/mainboard/soyo/sy-6ba-plus-iii/romstage.inc] Aborted
The board is Soyo, you need to apply the attached patch.
If you comment out in ne2k.c line 84 it will compile again :/
This is what I get: Internal compiler error: constant for unknown type
If I comment out lines 83 & 84 I get:
src/lib/ne2k.c:71: warning: no previous prototype for 'eth_pio_write_byte' src/lib/ne2k.c:125:2: warning: #warning "Add timeout" src/lib/ne2k.c:89: warning: 'eth_pio_read_byte' defined but not used CC lib/compute_ip_checksum.initobj.o CC console/vtxprintf.initobj.o CC arch/i386/lib/printk_init.initobj.o CC arch/i386/lib/cbfs_and_run.initobj.o LINK coreboot OBJCOPY coreboot.bootblock CC arch/i386/lib/c_start.o CC lib/ne2k.driver.o src/lib/ne2k.c:71: warning: no previous prototype for 'eth_pio_write_byte' src/lib/ne2k.c:125:2: warning: #warning "Add timeout" src/lib/ne2k.c:89: warning: 'eth_pio_read_byte' defined but not used CC console/uart8250_console.driver.o make: *** No rule to make target `build/console/ne2k_console.driver.o', needed by `build/coreboot_ram.o'. Stop.
Thanks, Myles