Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler throws odd "display_get" and "display_try_get" errors #36

Open
ghbbeep opened this issue Jul 16, 2023 · 2 comments
Open

Compiler throws odd "display_get" and "display_try_get" errors #36

ghbbeep opened this issue Jul 16, 2023 · 2 comments

Comments

@ghbbeep
Copy link

ghbbeep commented Jul 16, 2023

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?

@Killertamagotchi
Copy link

dito same problem

@jnmartin84
Copy link
Owner

jnmartin84 commented Sep 6, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants