Closed parkerlreed closed 1 year ago
Arch Linux host
switch branch on repo
deko3d 0.4.0-1 devkit-env 1.0.1-2 devkitA64 r20-1 devkitA64-gdb 11.2-1 devkita64-cmake 1.1.1-1 general-tools 1.2.0-2 libnx 4.2.2-1 switch-cmake 1.5.0-1 switch-examples 20201219-1 switch-pkg-config 0.28-4 switch-tools 1.12.0-1 uam 1.1.0-1 switch-sdl2 2.0.14-1 switch-mesa 20.1.0-4
(deck@steamdeck sm64ex)$ make -j8 make: Entering directory '/home/deck/build/sm64ex/tools' make: Nothing to be done for 'default'. make: Leaving directory '/home/deck/build/sm64ex/tools' built ... sm64.us.f3dex2e.nacp aarch64-none-elf-gcc -L build/us_nx -o build/us_nx/sm64.us.f3dex2e build/us_nx/src/engine/behavior_script.o build/us_nx/src/engine/geo_layout.o build/us_nx/src/engine/graph_node.o build/us_nx/src/engine/graph_node_manager.o build/us_nx/src/engine/level_script.o build/us_nx/src/engine/math_util.o build/us_nx/src/engine/surface_collision.o build/us_nx/src/engine/surface_load.o build/us_nx/src/game/area.o build/us_nx/src/game/behavior_actions.o build/us_nx/src/game/camera.o build/us_nx/src/game/debug.o build/us_nx/src/game/debug_course.o build/us_nx/src/game/envfx_bubbles.o build/us_nx/src/game/envfx_snow.o build/us_nx/src/game/game_init.o build/us_nx/src/game/geo_misc.o build/us_nx/src/game/hud.o build/us_nx/src/game/ingame_menu.o build/us_nx/src/game/interaction.o build/us_nx/src/game/level_geo.o build/us_nx/src/game/level_update.o build/us_nx/src/game/macro_special_objects.o build/us_nx/src/game/mario_actions_airborne.o build/us_nx/src/game/mario_actions_automatic.o build/us_nx/src/game/mario_actions_cutscene.o build/us_nx/src/game/mario_actions_moving.o build/us_nx/src/game/mario_actions_object.o build/us_nx/src/game/mario_actions_stationary.o build/us_nx/src/game/mario_actions_submerged.o build/us_nx/src/game/mario.o build/us_nx/src/game/mario_misc.o build/us_nx/src/game/mario_step.o build/us_nx/src/game/memory.o build/us_nx/src/game/moving_texture.o build/us_nx/src/game/obj_behaviors_2.o build/us_nx/src/game/obj_behaviors.o build/us_nx/src/game/object_collision.o build/us_nx/src/game/object_helpers.o build/us_nx/src/game/object_list_processor.o build/us_nx/src/game/options_menu.o build/us_nx/src/game/paintings.o build/us_nx/src/game/platform_displacement.o build/us_nx/src/game/print.o build/us_nx/src/game/profiler.o build/us_nx/src/game/rendering_graph_node.o build/us_nx/src/game/save_file.o build/us_nx/src/game/screen_transition.o build/us_nx/src/game/shadow.o build/us_nx/src/game/skybox.o build/us_nx/src/game/sound_init.o build/us_nx/src/game/spawn_object.o build/us_nx/src/game/spawn_sound.o build/us_nx/src/game/thread6.o build/us_nx/src/audio/data.o build/us_nx/src/audio/effects.o build/us_nx/src/audio/external.o build/us_nx/src/audio/globals_start.o build/us_nx/src/audio/heap.o build/us_nx/src/audio/load.o build/us_nx/src/audio/playback.o build/us_nx/src/audio/port_eu.o build/us_nx/src/audio/seqplayer.o build/us_nx/src/audio/synthesis.o build/us_nx/src/menu/file_select.o build/us_nx/src/menu/intro_geo.o build/us_nx/src/menu/level_select_menu.o build/us_nx/src/menu/star_select.o build/us_nx/src/buffers/buffers.o build/us_nx/src/buffers/framebuffers.o build/us_nx/src/buffers/gfx_output_buffer.o build/us_nx/src/buffers/zbuffer.o build/us_nx/actors/common0.o build/us_nx/actors/common0_geo.o build/us_nx/actors/common1.o build/us_nx/actors/common1_geo.o build/us_nx/actors/group0.o build/us_nx/actors/group0_geo.o build/us_nx/actors/group10.o build/us_nx/actors/group10_geo.o build/us_nx/actors/group11.o build/us_nx/actors/group11_geo.o build/us_nx/actors/group12.o build/us_nx/actors/group12_geo.o build/us_nx/actors/group13.o build/us_nx/actors/group13_geo.o build/us_nx/actors/group14.o build/us_nx/actors/group14_geo.o build/us_nx/actors/group15.o build/us_nx/actors/group15_geo.o build/us_nx/actors/group16.o build/us_nx/actors/group16_geo.o build/us_nx/actors/group17.o build/us_nx/actors/group17_geo.o build/us_nx/actors/group1.o build/us_nx/actors/group1_geo.o build/us_nx/actors/group2.o build/us_nx/actors/group2_geo.o build/us_nx/actors/group3.o build/us_nx/actors/group3_geo.o build/us_nx/actors/group4.o build/us_nx/actors/group4_geo.o build/us_nx/actors/group5.o build/us_nx/actors/group5_geo.o build/us_nx/actors/group6.o build/us_nx/actors/group6_geo.o build/us_nx/actors/group7.o build/us_nx/actors/group7_geo.o build/us_nx/actors/group8.o build/us_nx/actors/group8_geo.o build/us_nx/actors/group9.o build/us_nx/actors/group9_geo.o build/us_nx/levels/entry.o build/us_nx/levels/scripts.o build/us_nx/bin/cave.o build/us_nx/bin/debug_level_select.o build/us_nx/bin/effect.o build/us_nx/bin/fire.o build/us_nx/bin/generic.o build/us_nx/bin/grass.o build/us_nx/bin/inside.o build/us_nx/bin/machine.o build/us_nx/bin/mountain.o build/us_nx/bin/outside.o build/us_nx/bin/segment2.o build/us_nx/bin/sky.o build/us_nx/bin/snow.o build/us_nx/bin/spooky.o build/us_nx/bin/title_screen_bg.o build/us_nx/bin/water.o build/us_nx/data/behavior_data.o build/us_nx/src/pc/cheats.o build/us_nx/src/pc/cliopts.o build/us_nx/src/pc/configfile.o build/us_nx/src/pc/ini.o build/us_nx/src/pc/mixer.o build/us_nx/src/pc/pc_main.o build/us_nx/src/pc/platform.o build/us_nx/src/pc/ultra_reimplementation.o build/us_nx/src/pc/gfx/gfx_cc.o build/us_nx/src/pc/gfx/gfx_opengl.o build/us_nx/src/pc/gfx/gfx_opengl_legacy.o build/us_nx/src/pc/gfx/gfx_pc.o build/us_nx/src/pc/gfx/gfx_sdl1.o build/us_nx/src/pc/gfx/gfx_sdl2.o build/us_nx/src/pc/audio/audio_null.o build/us_nx/src/pc/audio/audio_sdl1.o build/us_nx/src/pc/audio/audio_sdl2.o build/us_nx/src/pc/controller/controller_emscripten_keyboard.o build/us_nx/src/pc/controller/controller_entry_point.o build/us_nx/src/pc/controller/controller_keyboard.o build/us_nx/src/pc/controller/controller_recorded_tas.o build/us_nx/src/pc/controller/controller_sdl1.o build/us_nx/src/pc/controller/controller_sdl2.o build/us_nx/src/pc/fs/dirtree.o build/us_nx/src/pc/fs/fs.o build/us_nx/src/pc/fs/fs_packtype_dir.o build/us_nx/src/pc/fs/fs_packtype_zip.o build/us_nx/levels/bbh/leveldata.o build/us_nx/levels/bitdw/leveldata.o build/us_nx/levels/bitfs/leveldata.o build/us_nx/levels/bits/leveldata.o build/us_nx/levels/bob/leveldata.o build/us_nx/levels/bowser_1/leveldata.o build/us_nx/levels/bowser_2/leveldata.o build/us_nx/levels/bowser_3/leveldata.o build/us_nx/levels/castle_courtyard/leveldata.o build/us_nx/levels/castle_grounds/leveldata.o build/us_nx/levels/castle_inside/leveldata.o build/us_nx/levels/ccm/leveldata.o build/us_nx/levels/cotmc/leveldata.o build/us_nx/levels/ddd/leveldata.o build/us_nx/levels/ending/leveldata.o build/us_nx/levels/hmc/leveldata.o build/us_nx/levels/intro/leveldata.o build/us_nx/levels/jrb/leveldata.o build/us_nx/levels/lll/leveldata.o build/us_nx/levels/menu/leveldata.o build/us_nx/levels/pss/leveldata.o build/us_nx/levels/rr/leveldata.o build/us_nx/levels/sa/leveldata.o build/us_nx/levels/sl/leveldata.o build/us_nx/levels/ssl/leveldata.o build/us_nx/levels/thi/leveldata.o build/us_nx/levels/totwc/leveldata.o build/us_nx/levels/ttc/leveldata.o build/us_nx/levels/ttm/leveldata.o build/us_nx/levels/vcutm/leveldata.o build/us_nx/levels/wdw/leveldata.o build/us_nx/levels/wf/leveldata.o build/us_nx/levels/wmotr/leveldata.o build/us_nx/levels/bbh/script.o build/us_nx/levels/bitdw/script.o build/us_nx/levels/bitfs/script.o build/us_nx/levels/bits/script.o build/us_nx/levels/bob/script.o build/us_nx/levels/bowser_1/script.o build/us_nx/levels/bowser_2/script.o build/us_nx/levels/bowser_3/script.o build/us_nx/levels/castle_courtyard/script.o build/us_nx/levels/castle_grounds/script.o build/us_nx/levels/castle_inside/script.o build/us_nx/levels/ccm/script.o build/us_nx/levels/cotmc/script.o build/us_nx/levels/ddd/script.o build/us_nx/levels/ending/script.o build/us_nx/levels/hmc/script.o build/us_nx/levels/intro/script.o build/us_nx/levels/jrb/script.o build/us_nx/levels/lll/script.o build/us_nx/levels/menu/script.o build/us_nx/levels/pss/script.o build/us_nx/levels/rr/script.o build/us_nx/levels/sa/script.o build/us_nx/levels/sl/script.o build/us_nx/levels/ssl/script.o build/us_nx/levels/thi/script.o build/us_nx/levels/totwc/script.o build/us_nx/levels/ttc/script.o build/us_nx/levels/ttm/script.o build/us_nx/levels/vcutm/script.o build/us_nx/levels/wdw/script.o build/us_nx/levels/wf/script.o build/us_nx/levels/wmotr/script.o build/us_nx/levels/bbh/geo.o build/us_nx/levels/bitdw/geo.o build/us_nx/levels/bitfs/geo.o build/us_nx/levels/bits/geo.o build/us_nx/levels/bob/geo.o build/us_nx/levels/bowser_1/geo.o build/us_nx/levels/bowser_2/geo.o build/us_nx/levels/bowser_3/geo.o build/us_nx/levels/castle_courtyard/geo.o build/us_nx/levels/castle_grounds/geo.o build/us_nx/levels/castle_inside/geo.o build/us_nx/levels/ccm/geo.o build/us_nx/levels/cotmc/geo.o build/us_nx/levels/ddd/geo.o build/us_nx/levels/ending/geo.o build/us_nx/levels/hmc/geo.o build/us_nx/levels/intro/geo.o build/us_nx/levels/jrb/geo.o build/us_nx/levels/lll/geo.o build/us_nx/levels/menu/geo.o build/us_nx/levels/pss/geo.o build/us_nx/levels/rr/geo.o build/us_nx/levels/sa/geo.o build/us_nx/levels/sl/geo.o build/us_nx/levels/ssl/geo.o build/us_nx/levels/thi/geo.o build/us_nx/levels/totwc/geo.o build/us_nx/levels/ttc/geo.o build/us_nx/levels/ttm/geo.o build/us_nx/levels/vcutm/geo.o build/us_nx/levels/wdw/geo.o build/us_nx/levels/wf/geo.o build/us_nx/levels/wmotr/geo.o build/us_nx/src/pc/gfx/gfx_direct3d11.o build/us_nx/src/pc/gfx/gfx_direct3d12.o build/us_nx/src/pc/gfx/gfx_direct3d_common.o build/us_nx/src/pc/gfx/gfx_dxgi.o build/us_nx/assets/mario_anim_data.o build/us_nx/assets/demo_data.o build/us_nx/bin/bbh_skybox.o build/us_nx/bin/bidw_skybox.o build/us_nx/bin/bitfs_skybox.o build/us_nx/bin/bits_skybox.o build/us_nx/bin/ccm_skybox.o build/us_nx/bin/cloud_floor_skybox.o build/us_nx/bin/clouds_skybox.o build/us_nx/bin/ssl_skybox.o build/us_nx/bin/water_skybox.o build/us_nx/bin/wdw_skybox.o build/us_nx/sound/sound_data.o build/us_nx/lib/src/alBnkfNew.o build/us_nx/lib/src/guLookAtRef.o build/us_nx/lib/src/guMtxF2L.o build/us_nx/lib/src/guNormalize.o build/us_nx/lib/src/guOrthoF.o build/us_nx/lib/src/guPerspectiveF.o build/us_nx/lib/src/guRotateF.o build/us_nx/lib/src/guScaleF.o build/us_nx/lib/src/guTranslateF.o build/us_nx/lib/src/ldiv.o build/us_nx/src/goddard/debug_utils.o build/us_nx/src/goddard/draw_objects.o build/us_nx/src/goddard/dynlist_proc.o build/us_nx/src/goddard/gd_main.o build/us_nx/src/goddard/gd_math.o build/us_nx/src/goddard/gd_memory.o build/us_nx/src/goddard/joints.o build/us_nx/src/goddard/objects.o build/us_nx/src/goddard/old_menu.o build/us_nx/src/goddard/particles.o build/us_nx/src/goddard/renderer.o build/us_nx/src/goddard/sfx.o build/us_nx/src/goddard/shape_helper.o build/us_nx/src/goddard/skin.o build/us_nx/src/goddard/skin_movement.o build/us_nx/src/goddard/dynlists/anim_group_1.o build/us_nx/src/goddard/dynlists/anim_group_2.o build/us_nx/src/goddard/dynlists/anim_mario_eyebrows_1.o build/us_nx/src/goddard/dynlists/anim_mario_lips_1.o build/us_nx/src/goddard/dynlists/anim_mario_lips_2.o build/us_nx/src/goddard/dynlists/anim_mario_mustache_left.o build/us_nx/src/goddard/dynlists/anim_mario_mustache_right.o build/us_nx/src/goddard/dynlists/dynlist_mario_face.o build/us_nx/src/goddard/dynlists/dynlist_mario_master.o build/us_nx/src/goddard/dynlists/dynlists_mario_eyebrows_mustache.o build/us_nx/src/goddard/dynlists/dynlists_mario_eyes.o build/us_nx/src/goddard/dynlists/dynlist_test_cube.o build/us_nx/src/goddard/dynlists/dynlist_unused.o -specs=/opt/devkitpro/libnx/switch.specs -march=armv8-a+crc+crypto -mtune=cortex-a57 -mtp=soft -fPIC -ftls-model=local-exec -O2 -no-pie -L/opt/devkitpro/libnx/lib -lGLESv2 `sdl2-config --libs` -lstdc++ -lnx -lm /opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/12.2.0/../../../../aarch64-none-elf/bin/ld: skipping incompatible /usr/lib/libGLESv2.so when searching for -lGLESv2 /opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/12.2.0/../../../../aarch64-none-elf/bin/ld: cannot find -lGLESv2 /opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/12.2.0/../../../../aarch64-none-elf/bin/ld: skipping incompatible /usr/lib/libSDL2.so when searching for -lSDL2 /opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/12.2.0/../../../../aarch64-none-elf/bin/ld: cannot find -lSDL2 /opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/12.2.0/../../../../aarch64-none-elf/bin/ld: skipping incompatible /usr/lib/libstdc++.so when searching for -lstdc++ /opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/12.2.0/../../../../aarch64-none-elf/bin/ld: skipping incompatible /usr/lib/libstdc++.a when searching for -lstdc++ /opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/12.2.0/../../../../aarch64-none-elf/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm /opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/12.2.0/../../../../aarch64-none-elf/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm /opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/12.2.0/../../../../aarch64-none-elf/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /opt/devkitpro/devkitA64/bin/../lib/gcc/aarch64-none-elf/12.2.0/../../../../aarch64-none-elf/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc collect2: error: ld returned 1 exit status make: *** [Makefile:1036: build/us_nx/sm64.us.f3dex2e] Error 1 rm build/us_nx/sm64.us.f3dex2e.nacp
devkitpro DOESNT have dkp-toolchain-vars as a dep of switch-dev
Installing that and sourcing switchvars.sh fixed it right away
Arch Linux host
switch branch on repo
deko3d 0.4.0-1 devkit-env 1.0.1-2 devkitA64 r20-1 devkitA64-gdb 11.2-1 devkita64-cmake 1.1.1-1 general-tools 1.2.0-2 libnx 4.2.2-1 switch-cmake 1.5.0-1 switch-examples 20201219-1 switch-pkg-config 0.28-4 switch-tools 1.12.0-1 uam 1.1.0-1 switch-sdl2 2.0.14-1 switch-mesa 20.1.0-4