Shpoike/Quakespasm

Cannot build anymore: undefined reference to `VectorMA'

ckotte opened this issue · 2 comments

cc strlcat.o strlcpy.o gl_refrag.o gl_rlight.o gl_rmain.o gl_fog.o gl_rmisc.o r_part.o r_part_fte.o r_world.o gl_screen.o gl_sky.o gl_warp.o gl_vidsdl.o gl_draw.o image.o gl_texmgr.o gl_mesh.o r_sprite.o r_alias.o r_brush.o gl_model.o in_sdl.o snd_voip.o snd_dma.o snd_mix.o snd_mem.o bgmusic.o snd_codec.o snd_flac.o snd_wave.o snd_vorbis.o snd_opus.o snd_mp3.o snd_mp3tag.o snd_mikmod.o snd_modplug.o snd_xmp.o snd_umx.o snd_sdl.o cd_sdl.o net_bsd.o net_udp.o net_dgrm.o net_loop.o net_main.o chase.o cl_demo.o cl_input.o cl_main.o cl_parse.o cl_tent.o console.o keys.o menu.o sbar.o view.o wad.o cmd.o common.o fs_zip.o crc.o cvar.o cfgfile.o host.o host_cmd.o mathlib.o mdfour.o pr_cmds.o pr_ext.o pr_edict.o pr_exec.o sv_main.o sv_move.o sv_phys.o sv_user.o world.o zone.o pl_linux.o sys_sdl_unix.o main_sdl.o  -ldl -lm -lGL -lz  -lopusfile  -lopus  -lvorbisfile -lvorbis -logg -lmad -L/usr/lib -pthread -lSDL2 -o quakespasm
/usr/bin/ld: r_sprite.o: in function `R_DrawSpriteModel':
r_sprite.c:(.text+0x228): undefined reference to `VectorMA'
/usr/bin/ld: r_sprite.c:(.text+0x242): undefined reference to `VectorMA'
/usr/bin/ld: r_sprite.c:(.text+0x272): undefined reference to `VectorMA'
/usr/bin/ld: r_sprite.c:(.text+0x28c): undefined reference to `VectorMA'
/usr/bin/ld: r_sprite.c:(.text+0x2be): undefined reference to `VectorMA'
/usr/bin/ld: r_sprite.o:r_sprite.c:(.text+0x2d8): more undefined references to `VectorMA' follow
collect2: error: ld returned 1 exit status
make: *** [Makefile:305: quakespasm] Error 1

this is likely an issue on your end (caused by the lack of proper dependency tracking in whatever makefile you're using).
make clean or just manually delete those .o files before trying again.

this works. probably make clean is missing in the Arch Linux PKGBUILD
Thx