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
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
OK, turned down my log... I am still stuch on this memory error. Where should i look? what files? -Adam Talbot
----- Original Message ----- From: "Ronald G. Minnich" rminnich@lanl.gov To: "Adam Talbot" talbotx@comcast.net Cc: linuxbios@clustermatic.org Sent: Wednesday, November 24, 2004 7:33 AM Subject: Re: Compile error
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/l d: 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/l d: 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 _______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
On Wed, 24 Nov 2004, Adam Talbot wrote:
OK, turned down my log... I am still stuch on this memory error. Where should i look? what files?
Try building digitallogic/adl855pc just to see if that goes.
ron
Same error when I compile the digitallogic/adl855pc... Well the good news is its not me :-) Now, what is causing this, I am more then willing to try and help fix this problem. ----- Original Message ----- From: "Ronald G. Minnich" rminnich@lanl.gov To: "Adam Talbot" talbotx@comcast.net Cc: linuxbios@clustermatic.org Sent: Wednesday, November 24, 2004 9:23 AM Subject: Re: Compile error
On Wed, 24 Nov 2004, Adam Talbot wrote:
OK, turned down my log... I am still stuch on this memory error. Where should i look? what files?
Try building digitallogic/adl855pc just to see if that goes.
ron
On Wed, 24 Nov 2004, Adam Talbot wrote:
Same error when I compile the digitallogic/adl855pc... Well the good news is its not me :-)
well, it means I need to commit my latest stuff. OOPS.
ron
Please let me no when the update is commited...
----- Original Message ----- From: "Ronald G. Minnich" rminnich@lanl.gov To: "Adam Talbot" talbotx@comcast.net Cc: linuxbios@clustermatic.org Sent: Wednesday, November 24, 2004 12:12 PM Subject: Re: Compile error
On Wed, 24 Nov 2004, Adam Talbot wrote:
Same error when I compile the digitallogic/adl855pc... Well the good
news is
its not me :-)
well, it means I need to commit my latest stuff. OOPS.
ron _______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios