Compile error

Adam Talbot talbotx at
Tue Nov 23 18:27:01 CET 2004

Cool, go that error fixed, syntax error on my part. My configs is based off the digitallogic/adl855pc.  I made a new set of folders in the tree commell/lv-671, in mainboards and targets.  I put into place a new irq table for my board.  After fixing some more "simple" error's I get these two new errors.
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"

static.c:40: error: `mainboard_commell_lv_671_ops' undeclared here (not in a function)
static.c:40: error: initializer element is not constant
static.c:40: error: (near initialization for `dev_root.chip_ops')
static.c:24: error: storage size of `mainboard_commell_lv_671_info_0' isn't known
make[1]: *** [static.o] Error 1
make[1]: Leaving directory `/root/freebios2/targets/commell/lv-671/lv-671/normal'
make: *** [normal/linuxbios.rom] Error 1

This has an easy fix of just going through my static.c and changing it from lv-671 to lv671, easily done under vi, but im not sure it there are any golbal effects from such a mod.
After that mod the compile goes right past that point and runs into the memory error. This part is beond my sikll with C. You guy's have any ideas?

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

-Adam Talbot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the coreboot mailing list