Sorry for my bad English
Here is my problem:
I am the http://a.michelizza.free.fr/pmwiki.php?n=TutoOS.Int2 tutorial and I have a problem with compiling (more precisely at linking). I obtain it as error:
Code: Select all
idt.o:idt.c:(.text+0x77): Undefined referenc to "_asm_default_int"
idt.o:idt.c:(.text+0xa2): Undefined referenc to "_asm_irq_0"
idt.o:idt.c:(.text+0xc6): Undefined referenc to "_asm_irq_1"
Code: Select all
nasm -f win32 -o int.o int.asm
gcc -ffreestanding -nostdinc -mno-stack-arg-probe -c *.c
ld --oformat pe-i386 -Ttext 1000 kernel.o screen.o lib.o gdt.o idt.o int.o interrupt.o pic.o -o linked.tmp
objcopy -R .note -R .comment -S -O binary linked.tmp ..\krnl
How could I do??
Thank you in advance and good day