Page 2 of 2

Re:Ld & Ar errors

Posted: Fri Feb 14, 2003 7:49 am
by Pype.Clicker
can we see your linker script ? could it possibly have "*.o" instructions and miss " *.lib" ?

Re:Ld & Ar errors

Posted: Fri Feb 14, 2003 10:47 am
by Slasher
I have the standard script

outputformat(binary)
entry.....(set to kernel main)
.text: {
*(.text)
}
.data: {
*(.data)
*(.common)
}
.bss:{
*(.bss)
}

this is the structure(not the real one, i'm not at home so can't copy it word for word)
but the text,data and bss are exact.

Re:Ld & Ar errors

Posted: Fri Feb 14, 2003 11:03 am
by Pype.Clicker
really really weird ... does it work when you just ask "ld *.o ..." and skip the library step ?

Re:Ld & Ar errors

Posted: Fri Feb 14, 2003 11:32 am
by Slasher
Yep, without a hitch!