64doom icon indicating copy to clipboard operation
64doom copied to clipboard

Compiler throws odd "display_get" and "display_try_get" errors

Open ghbbeep opened this issue 1 year ago • 2 comments

Here is my compiler:

env IWAD_DIRECTORY="~/IWADS" IWAD_PREFIX="PLUTONIA" make
/opt/libdragon/bin/mips64-elf-ld -o PLUTONIA.elf obj/i_sound.o obj/endoom.o obj/dll.o obj/hash.o obj/lzfx.o obj/i_video.o obj/i_input.o obj/doomdef.o obj/doomstat.o obj/dstrings.o obj/i_system.o obj/i_net.o obj/r_draw.o obj/v_video.o obj/f_finale.o obj/f_wipe.o obj/d_main.o obj/d_net.o obj/d_items.o obj/g_game.o obj/p_saveg.o obj/m_menu.o obj/m_misc.o obj/m_argv.o obj/m_bbox.o obj/m_cheat.o obj/m_random.o obj/am_map.o obj/p_ceilng.o obj/p_doors.o obj/p_enemy.o obj/p_floor.o obj/p_inter.o obj/p_lights.o obj/p_map.o obj/p_maputl.o obj/p_plats.o obj/p_pspr.o obj/nodereorder.o obj/p_setup.o obj/p_sight.o obj/p_spec.o obj/p_switch.o obj/p_mobj.o obj/p_telept.o obj/p_tick.o obj/p_user.o obj/r_bsp.o obj/r_data.o obj/r_main.o obj/r_plane.o obj/r_segs.o obj/r_sky.o obj/r_things.o obj/w_wad.o obj/wi_stuff.o obj/z_zone.o obj/st_lib.o obj/st_stuff.o obj/hu_stuff.o obj/hu_lib.o obj/s_sound.o obj/info.o obj/sounds.o obj/i_main.o --gc-sections -G4 -g -L/opt/libdragon/mips64-elf/lib -ldragon -lc -lm -ldragonsys -Tn64.ld
/opt/libdragon/bin/mips64-elf-ld: obj/i_video.o: in function `lockVideo':
(.text.lockVideo+0x8): undefined reference to `display_get'
/opt/libdragon/bin/mips64-elf-ld: (.text.lockVideo+0x10): undefined reference to `display_try_get'
/opt/libdragon/bin/mips64-elf-ld: obj/i_video.o: in function `I_StartFrame':
(.text.I_StartFrame+0x8): undefined reference to `display_get'
make: *** [Makefile:121: PLUTONIA.elf] Error 1

I've made sure i'm using the unstable branch. What is happening?

ghbbeep avatar Jul 16 '23 03:07 ghbbeep

dito same problem

Killertamagotchi avatar Aug 25 '23 00:08 Killertamagotchi

Just verified it with the latest commit in libdragon unstable from today (2023/09/06), b04d8ccb....

It builds.

Which version of GCC are you using?

jnmartin84 avatar Sep 06 '23 23:09 jnmartin84