我正在尝试使用Ubuntu创建一个简单的内核。在终端中,我输入了:
ld -Ttext 0x1000 -o kernel.bin loader.o main.o Video.o
但我收到了以下错误信息:
ld: i386 architecture of input file `loader.o' is incompatible with i386:x86-64 output
ld: warning: cannot find entry symbol _start; defaulting to 0000000000001000