Ld & Ar errors
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Ld & Ar errors
can we see your linker script ? could it possibly have "*.o" instructions and miss " *.lib" ?
Re:Ld & Ar errors
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.
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.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Ld & Ar errors
really really weird ... does it work when you just ask "ld *.o ..." and skip the library step ?