PDA

View Full Version : [SOLVED] LD Linker: Cannot Find Kernel.bin: No Such File Or Directory



smilinggoomba
July 3rd, 2011, 04:23 PM
I am trying to link 2 files together, from a tutorial that I got off the internet. I use the command "ld -T link.ld kernel.bin ks.o kernel.o, to link ks.o to kernel.o as kernel.bin. Yet I always get the following error: ld: cannot find kernel.bin: no such file or directory. How do I get rid of this error?

slavik
July 3rd, 2011, 05:16 PM
doesn't sound legit ...

1. link to tutorial
2. what kind of code are you writing?

cgroza
July 3rd, 2011, 05:20 PM
Also, in what language are you writing? Assembly, C, C++?

smilinggoomba
July 3rd, 2011, 09:16 PM
Here is the tutorial:http://www.osdever.net/tutorials/view/writing-a-simple-c-kernel
I am programming in C.
The code is in the tutorial.

slavik
July 3rd, 2011, 10:47 PM
there's your problem:

Updated September 13, 2002 by K.J.

find a more up to date guide. :)