Skip to content

Instantly share code, notes, and snippets.

@klange
Created July 29, 2021 07:11
Show Gist options
  • Save klange/075776f3ccc7859caae67f2d4f57a621 to your computer and use it in GitHub Desktop.
Save klange/075776f3ccc7859caae67f2d4f57a621 to your computer and use it in GitHub Desktop.
$ make misaka-kernel
rm -f kernel/symbols.o
aarch64-unknown-toaru-gcc -T kernel/arch/aarch64/link.ld -ffreestanding -O2 -std=gnu11 -g -static -Wall -Wextra -Wno-unused-function -Wno-unused-parameter -pedantic -Wwrite-strings -z max-page-size=0x1000 -nostdlib -D_KERNEL_ -DKERNEL_ARCH=aarch64 -DKERNEL_GIT_TAG=49e9e4a5-dirty -o misaka-kernel.64 kernel/generic.o kernel/binfmt.o kernel/video/lfbvideo.o kernel/audio/snd.o kernel/usb/xhci.o kernel/vfs/procfs.o kernel/vfs/tmpfs.o kernel/vfs/tarfs.o kernel/vfs/ramdisk.o kernel/vfs/pipe.o kernel/vfs/unixpipe.o kernel/vfs/portio.o kernel/vfs/zero.o kernel/vfs/packetfs.o kernel/vfs/tty.o kernel/vfs/random.o kernel/vfs/vfs.o kernel/misc/tokenize.o kernel/misc/hashmap.o kernel/misc/kprintf.o kernel/misc/pci.o kernel/misc/list.o kernel/misc/ringbuffer.o kernel/misc/gzip.o kernel/misc/elf64.o kernel/misc/ksym.o kernel/misc/malloc.o kernel/misc/fbterm.o kernel/misc/args.o kernel/misc/string.o kernel/misc/assert.o kernel/misc/tree.o kernel/sys/syscall.o kernel/sys/shm.o kernel/sys/version.o kernel/sys/signal.o kernel/sys/process.o kernel/net/socket.o kernel/net/arp.o kernel/net/netif.o kernel/net/eth.o kernel/net/ipv4.o -lgcc
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: warning: cannot find entry symbol start; defaulting to 0000000000100000
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/generic.o: in function `generic_startup':
/home/klange/Projects/workspace/toaru-aarch64/kernel/generic.c:32: undefined reference to `arch_get_cmdline'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/video/lfbvideo.o: in function `vbox_set_resolution':
/home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:290: undefined reference to `outports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:291: undefined reference to `outports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:292: undefined reference to `outports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:293: undefined reference to `outports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:294: undefined reference to `outports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/video/lfbvideo.o:/home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:295: more undefined references to `outports' follow
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/video/lfbvideo.o: in function `vbox_set_resolution':
/home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:303: undefined reference to `inports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/video/lfbvideo.o: in function `vbox_scan_pci':
/home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:284: undefined reference to `mmu_map_from_physical'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/video/lfbvideo.o: in function `ioctl_vga':
/home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:483: undefined reference to `mmu_get_page'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:484: undefined reference to `mmu_frame_map_address'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/video/lfbvideo.o: in function `bochs_scan_pci':
/home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:208: undefined reference to `mmu_map_from_physical'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:209: undefined reference to `mmu_map_from_physical'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/video/lfbvideo.o: in function `graphics_install_preset':
/home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:340: undefined reference to `mboot_struct'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:340: undefined reference to `mboot_struct'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:340: undefined reference to `mmu_map_from_physical'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:341: undefined reference to `mboot_struct'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/video/lfbvideo.o: in function `vmware_write':
/home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:385: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:386: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:385: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:386: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:385: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/video/lfbvideo.o:/home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:386: more undefined references to `outportl' follow
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/video/lfbvideo.o: in function `vmware_read':
/home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:391: undefined reference to `inportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:390: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:391: undefined reference to `inportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:390: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:391: undefined reference to `inportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/video/lfbvideo.o: in function `graphics_install_vmware':
/home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:430: undefined reference to `mmu_map_from_physical'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/video/lfbvideo.o: in function `graphics_install_vbox':
/home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:311: undefined reference to `outports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:312: undefined reference to `inports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:316: undefined reference to `outports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:317: undefined reference to `inports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:326: undefined reference to `outports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:327: undefined reference to `inports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:331: undefined reference to `inportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/video/lfbvideo.o: in function `check_multiboot':
/home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:354: undefined reference to `mboot_struct'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:354: undefined reference to `mboot_struct'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/video/lfbvideo.o: in function `ioctl_vid':
/home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:107: undefined reference to `mmu_get_page'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/video/lfbvideo.c:108: undefined reference to `mmu_frame_map_address'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/usb/xhci.o: in function `find_xhci':
/home/klange/Projects/workspace/toaru-aarch64/kernel/usb/xhci.c:51: undefined reference to `mmu_map_mmio_region'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/procfs.o: in function `procfs_generic_create':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:54: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:55: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:56: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/procfs.o: in function `loader_func':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:532: undefined reference to `arch_get_loader'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/procfs.o: in function `cmdline_func':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:381: undefined reference to `arch_get_cmdline'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/procfs.o: in function `uptime_func':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:368: undefined reference to `relative_time'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/procfs.o: in function `meminfo_func':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:291: undefined reference to `mmu_total_memory'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:292: undefined reference to `mmu_used_memory'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:293: undefined reference to `sbrk'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/procfs.o: in function `proc_status_func':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:128: undefined reference to `mmu_count_user'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:129: undefined reference to `mmu_count_shm'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:130: undefined reference to `mmu_total_memory'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:163: undefined reference to `arch_user_ip'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:164: undefined reference to `arch_syscall_number'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:165: undefined reference to `arch_syscall_arg0'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:166: undefined reference to `arch_syscall_arg1'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:167: undefined reference to `arch_syscall_arg2'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:168: undefined reference to `arch_syscall_arg3'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:169: undefined reference to `arch_syscall_arg4'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:170: undefined reference to `arch_stack_pointer'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/procfs.o: in function `procfs_create_self':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:810: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:811: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:812: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/procfs.o: in function `procfs_create':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:872: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:873: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/procfs.o:/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/procfs.c:874: more undefined references to `now' follow
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/tmpfs.o: in function `truncate_tmpfs':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/tmpfs.c:287: undefined reference to `mmu_frame_clear'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/tmpfs.o: in function `write_tmpfs':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/tmpfs.c:226: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/tmpfs.o: in function `read_tmpfs':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/tmpfs.c:182: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/ramdisk.o: in function `write_ramdisk':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/ramdisk.c:60: undefined reference to `mmu_map_from_physical'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/ramdisk.o: in function `read_ramdisk':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/ramdisk.c:45: undefined reference to `mmu_map_from_physical'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/pipe.o: in function `make_pipe':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/pipe.c:256: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/portio.o: in function `write_port':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/portio.c:52: undefined reference to `outportb'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/portio.c:45: undefined reference to `outports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/portio.c:42: undefined reference to `outportb'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/portio.c:48: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/portio.o: in function `read_port':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/portio.c:31: undefined reference to `inportb'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/portio.c:21: undefined reference to `inportb'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/portio.c:27: undefined reference to `inportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/portio.c:24: undefined reference to `inports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/tty.o: in function `create_pty_dir':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/tty.c:634: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/tty.c:635: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/tty.c:636: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/tty.o: in function `create_dev_tty':
/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/tty.c:549: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/tty.c:550: undefined reference to `now'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/vfs/tty.o:/home/klange/Projects/workspace/toaru-aarch64/kernel/vfs/tty.c:551: more undefined references to `now' follow
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/misc/pci.o: in function `pci_write_field':
/home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:26: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:27: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/misc/pci.o: in function `pci_read_field':
/home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:43: undefined reference to `inportb'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:37: undefined reference to `inportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:40: undefined reference to `inports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:43: undefined reference to `inportb'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:43: undefined reference to `inportb'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:40: undefined reference to `inports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:43: undefined reference to `inportb'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:40: undefined reference to `inports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:43: undefined reference to `inportb'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:43: undefined reference to `inportb'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:43: undefined reference to `inportb'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:43: undefined reference to `inportb'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:40: undefined reference to `inports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:40: undefined reference to `inports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:43: undefined reference to `inportb'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:43: undefined reference to `inportb'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:40: undefined reference to `inports'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:34: undefined reference to `outportl'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/pci.c:43: undefined reference to `inportb'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/misc/elf64.o: in function `elf_module':
/home/klange/Projects/workspace/toaru-aarch64/kernel/misc/elf64.c:61: undefined reference to `mmu_map_module'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/elf64.c:81: undefined reference to `mmu_map_module'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/elf64.c:166: undefined reference to `mmu_map_module'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/misc/elf64.o: in function `elf_exec':
/home/klange/Projects/workspace/toaru-aarch64/kernel/misc/elf64.c:231: undefined reference to `mmu_set_directory'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/misc/malloc.o: in function `klmalloc':
/home/klange/Projects/workspace/toaru-aarch64/kernel/misc/malloc.c:536: undefined reference to `sbrk'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/malloc.c:641: undefined reference to `sbrk'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/misc/assert.o: in function `__assert_failed':
/home/klange/Projects/workspace/toaru-aarch64/kernel/misc/assert.c:12: undefined reference to `arch_fatal_prepare'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/misc/assert.c:14: undefined reference to `arch_fatal'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/sys/syscall.o: in function `sys_sleep':
/home/klange/Projects/workspace/toaru-aarch64/kernel/sys/syscall.c:751: undefined reference to `relative_time'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/sys/syscall.o: in function `sys_gettimeofday':
/home/klange/Projects/workspace/toaru-aarch64/kernel/sys/syscall.c:465: undefined reference to `gettimeofday'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/sys/syscall.o: in function `syscall_handler':
/home/klange/Projects/workspace/toaru-aarch64/kernel/sys/syscall.c:980: undefined reference to `arch_syscall_number'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/sys/syscall.c:985: undefined reference to `arch_syscall_number'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/sys/syscall.c:981: undefined reference to `arch_syscall_return'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/sys/shm.o: in function `release_chunk':
/home/klange/Projects/workspace/toaru-aarch64/kernel/sys/shm.c:134: undefined reference to `mmu_frame_clear'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/sys/signal.o: in function `handle_signal':
/home/klange/Projects/workspace/toaru-aarch64/kernel/sys/signal.c:117: undefined reference to `arch_enter_signal_handler'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/sys/process.o: in function `_kidle':
/home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:296: undefined reference to `arch_pause'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:296: undefined reference to `arch_pause'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/sys/process.o: in function `spawn_kidle':
/home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:335: undefined reference to `mmu_get_page'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:335: undefined reference to `mmu_frame_allocate'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:349: undefined reference to `gettimeofday'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/sys/process.o: in function `spawn_init':
/home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:388: undefined reference to `mmu_get_page'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:388: undefined reference to `mmu_frame_allocate'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/sys/process.o: in function `spawn_process':
/home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:443: undefined reference to `mmu_get_page'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:443: undefined reference to `mmu_frame_allocate'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/sys/process.o: in function `process_reap':
/home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:500: undefined reference to `mmu_get_page'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:500: undefined reference to `mmu_frame_allocate'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/sys/process.o: in function `_kburn':
/home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:302: undefined reference to `arch_pause'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/sys/process.o: in function `process_timeout_sleep':
/home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:978: undefined reference to `relative_time'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: kernel/sys/process.o: in function `spawn_worker_thread':
/home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:1268: undefined reference to `mmu_get_kernel_directory'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:1268: undefined reference to `mmu_clone'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:1277: undefined reference to `arch_enter_tasklet'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:1277: undefined reference to `arch_enter_tasklet'
/home/klange/Projects/workspace/toaru-aarch64/util/local/lib/gcc/aarch64-unknown-toaru/10.3.0/../../../../aarch64-unknown-toaru/bin/ld: /home/klange/Projects/workspace/toaru-aarch64/kernel/sys/process.c:1287: undefined reference to `gettimeofday'
collect2: error: ld returned 1 exit status
make: *** [Makefile:148: kernel/symbols.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment