Compile error

Ronald G. Minnich rminnich at lanl.gov
Wed Nov 24 10:01:01 CET 2004


On Tue, 23 Nov 2004, Adam Talbot wrote:

> The first one I can fix, but am not sure why it comes up. My current
> config file is nearly unchanged from the digitallogic/adl855pc, i have
> added one line "option ROM_SIZE=524288"

because the C compiler takes your name lv-761 and thinks you're trying to 
subtract 671 from lv. 
> static.c:24: error: storage size of `mainboard_commell_lv_671_info_0' isn't known


That's just another renaming exercise ...

> gcc -m32 -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: section .reset [00000000fffdfff0 -> 00000000fffdffff] overlaps section .rom [00000000fffd5478 -> 00000000fffe67ef]
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: section .id [00000000fffdffd5 -> 00000000fffdffef] overlaps section .rom [00000000fffd5478 -> 00000000fffe67ef]
> collect2: ld returned 1 exit status
> make[1]: *** [linuxbios] Error 1
> make[1]: Leaving directory `/root/freebios2/targets/commell/lv-671/lv-671/normal'
> make: *** [normal/linuxbios.rom] Error 1

turn down your MAX_LOGLEVEL to 6 or so ...

ron



More information about the coreboot mailing list