|
From: fad <as...@fa...> - 2003-10-28 23:25:27
|
Hi,
How do I check out 2.26 from the cvs?,
Also I tried to compile 2.27 from the cvs and put in
Define #FLASH,
In include/config.h
I get this error
/usr/download/xbox/cromwell_2.26/cromwell/obj/BootStartBios.o: In
function `BootLoadFlashCD':
/usr/download/xbox/cromwell_2.26/cromwell/obj/BootStartBios.o(.text+0x14
b2): undefined reference to `_memcmp'
make: *** [image-crom.bin] Error 1
I got 2.22 to compile with this option,
So any ideas on what is broken,
There are only two references to that in the file /boot/bootstartbios.c,
and one is commented out. Where does _memcmp hide?
1.
/*
if (_memcmp(&checksum[0],&SHA1_result[0],20)!=0) {
printk("Checksum on Disk Not Matching-Bad image or
Missread\n");
while(1);
}
*/
2.
if (_memcmp(&checksum[0],&SHA1_result[0],20)==0) {
printk("Checksum in Flash Matching - Success\n");
} else {
printk("Checksum in Flash not matching - MISTAKE
-Reflashing!\n");
Thanks
-fad
-------------------------------------
fad.homeip.net
|