Jpe230 / BOTW-Save-Editor-GUI

A Work in Progress Save Editor for BOTW
GNU General Public License v3.0
139 stars 22 forks source link

Linker issues #7

Open urherenow opened 5 years ago

urherenow commented 5 years ago

latest DKP and libs and latest source here does not build. Linker fails with tons of undefined references. Nothing wrong with my setup as other projects build just fine.

Small example:

/opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /opt/devkitpro/portlibs/switch/lib/libEGL.a(nv50_ir_emit_gk110.o):nv50_ir_emit_gk110.cpp:(.text._ZN7nv50_ir16CodeEmitterGK11014setImmediate32EPKNS_11InstructionEiNS_8ModifierE+0x268): more undefined references to operator delete(void*)' follow /opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /opt/devkitpro/portlibs/switch/lib/libEGL.a(nv50_ir_emit_gk110.o):(.data.rel.ro._ZTIN7nv50_ir16CodeEmitterGK110E[_ZTIN7nv50_ir16CodeEmitterGK110E]+0x0): undefined reference tovtable for cxxabiv1::si_class_type_info' /opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /opt/devkitpro/libnx/lib/libnx.a(thread.o): in function threadCreate': /home/fincs/pacman-packages/libnx/src/source/kernel/thread.c:48: undefined reference totls_start' /opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/fincs/pacman-packages/libnx/src/source/kernel/thread.c:48: undefined reference to __tls_end' /opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/fincs/pacman-packages/libnx/src/source/kernel/thread.c:48: undefined reference totls_end'

and by the way... why is it showing /home/fincs...? Does not exist in my setup. Mistake in libnx?