When I try to compile the GazOS it gives me this error at the end of linking:
kernel.o(.text+0x11):kernel.c: undefined reference to 'loadgdt'
This is the part of code that it's talking about in kernel.c:
struct
{
unsigned short limit __attribute__ ((packed));
union DT_entry *idt __attribute__ ((packed));
} loadgdt = { (3 * sizeof(union DT_entry) - 1), GDT };
Can someone help me get it to compile?