You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get a full list of errors after running make or make run.
I have run bootstrap.sh first.
errors:
ld -o kernel/kernel.bin -Ttext 0x1000 boot/kernel_entry.o cpu/idt.o cpu/interrupt.o cpu/isr.o cpu/ports.o cpu/timer.o drivers/keyboard.o drivers/screen.o kernel/kernel.o libc/mem.o libc/string.o --oformat binary
ld: i386 architecture of input file `boot/kernel_entry.o' is incompatible with i386:x86-64 output
ld: i386 architecture of input file `cpu/idt.o' is incompatible with i386:x86-64 output
ld: i386 architecture of input file `cpu/interrupt.o' is incompatible with i386:x86-64 output
ld: i386 architecture of input file `cpu/isr.o' is incompatible with i386:x86-64 output
ld: i386 architecture of input file `cpu/ports.o' is incompatible with i386:x86-64 output
ld: i386 architecture of input file `cpu/timer.o' is incompatible with i386:x86-64 output
ld: i386 architecture of input file `drivers/keyboard.o' is incompatible with i386:x86-64 output
ld: i386 architecture of input file `drivers/screen.o' is incompatible with i386:x86-64 output
ld: i386 architecture of input file `kernel/kernel.o' is incompatible with i386:x86-64 output
ld: i386 architecture of input file `libc/mem.o' is incompatible with i386:x86-64 output
ld: i386 architecture of input file `libc/string.o' is incompatible with i386:x86-64 output
ld: cpu/idt.o: in function `set_idt_gate':
/home/andrew/Desktop/CustomOS/BetterOS/cpu/idt.c:8: undefined reference to `_GLOBAL_OFFSET_TABLE_'
ld: cpu/idt.o: in function `set_idt':
/home/andrew/Desktop/CustomOS/BetterOS/cpu/idt.c:20: undefined reference to `_GLOBAL_OFFSET_TABLE_'
ld: cpu/isr.o: in function `isr_install':
/home/andrew/Desktop/CustomOS/BetterOS/cpu/isr.c:56: undefined reference to `_GLOBAL_OFFSET_TABLE_'
ld: cpu/isr.o: in function `isr_handler':
/home/andrew/Desktop/CustomOS/BetterOS/cpu/isr.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
ld: cpu/isr.o: in function `irq_install':
/home/andrew/Desktop/CustomOS/BetterOS/cpu/isr.c:137: undefined reference to `_GLOBAL_OFFSET_TABLE_'
ld: cpu/isr.o:/home/andrew/Desktop/CustomOS/BetterOS/cpu/isr.c:145: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
make: *** [Makefile:31: kernel/kernel.bin] Error 1
The text was updated successfully, but these errors were encountered:
| @xxxMEMESCOEPxxx and what do you want from me here? @ghaiklor you salty bro? 😅
I'm also getting this on WSL after running bootstrap script. Any ideas what this could be? I asked Claude and ChatGPT and they didn't know other than a misconfiguration.
I get a full list of errors after running make or make run.
I have run bootstrap.sh first.
errors:
The text was updated successfully, but these errors were encountered: