Advertisement
Guest User

Untitled

a guest
Sep 1st, 2022
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. [100%] Linking CXX executable rpnx-kernel.elf
  2. /Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/rpnx-kernel.dir/link.txt --verbose=1
  3. /opt/local/bin/ld.lld-mp-14 -T /Users/rnicholl/testos/linker.ld -O2 -nostdlib -( klib/libklib.a "CMakeFiles/rpnx-kernel.dir/boot.asm.obj" "CMakeFiles/rpnx-kernel.dir/kernel.cpp.obj" -) -o rpnx-kernel.elf
  4. ld.lld: error: undefined symbol: mmu_set_translation_table_base0_address
  5. >>> referenced by kernel.cpp
  6. >>> CMakeFiles/rpnx-kernel.dir/kernel.cpp.obj:(kernel_main)
  7. make[2]: *** [rpnx-kernel.elf] Error 1
  8. make[1]: *** [CMakeFiles/rpnx-kernel.dir/all] Error 2
  9. make: *** [all] Error 2
  10. rnicholl@rpnx-lt-04 testos % nm ./build/klib/libklib.a
  11.  
  12. empty.c.obj:
  13. 0000000000000000 T empty_function_test
  14.  
  15. cpu.asm.obj:
  16. 0000000000000000 T mmu_set_translation_table_base0_address
  17. rnicholl@rpnx-lt-04 testos % objdump -x ./build/CMakeFiles/rpnx-kernel.dir/kernel.cpp.obj
  18.  
  19. ./build/CMakeFiles/rpnx-kernel.dir/kernel.cpp.obj: file format elf64-littleaarch64
  20. architecture: aarch64
  21. start address: 0x0000000000000000
  22.  
  23. Program Header:
  24.  
  25. Dynamic Section:
  26.  
  27. Sections:
  28. Idx Name Size VMA Type
  29. 0 00000000 0000000000000000
  30. 1 .strtab 000000ad 0000000000000000
  31. 2 .text 00000038 0000000000000000 TEXT
  32. 3 .rela.text 00000060 0000000000000000
  33. 4 .data 00000004 0000000000000000 DATA
  34. 5 .comment 00000016 0000000000000000
  35. 6 .note.GNU-stack 00000000 0000000000000000
  36. 7 .eh_frame 00000030 0000000000000000 DATA
  37. 8 .rela.eh_frame 00000018 0000000000000000
  38. 9 .llvm_addrsig 00000002 0000000000000000
  39. 10 .symtab 000000f0 0000000000000000
  40.  
  41. SYMBOL TABLE:
  42. 0000000000000000 l df *ABS* 0000000000000000 kernel.cpp
  43. 0000000000000000 l d .text 0000000000000000 .text
  44. 0000000000000000 l .text 0000000000000000 $x.0
  45. 0000000000000000 l .data 0000000000000000 $d.1
  46. 0000000000000000 l .comment 0000000000000000 $d.2
  47. 0000000000000000 l .eh_frame 0000000000000000 $d.3
  48. 0000000000000000 g F .text 0000000000000038 kernel_main
  49. 0000000000000000 g O .data 0000000000000004 c
  50. 0000000000000000 *UND* 0000000000000000 mmu_set_translation_table_base0_address
  51.  
  52. RELOCATION RECORDS FOR [.text]:
  53. OFFSET TYPE VALUE
  54. 0000000000000010 R_AARCH64_ADR_PREL_PG_HI21 c
  55. 0000000000000014 R_AARCH64_LDST32_ABS_LO12_NC c
  56. 000000000000001c R_AARCH64_LDST32_ABS_LO12_NC c
  57. 0000000000000028 R_AARCH64_CALL26 mmu_set_translation_table_base0_address
  58.  
  59. RELOCATION RECORDS FOR [.eh_frame]:
  60. OFFSET TYPE VALUE
  61. 000000000000001c R_AARCH64_PREL32 .text
  62. rnicholl@rpnx-lt-04 testos %
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement