releasei386.glibc/glquake/sys_dosa.o: In function `Sys_LowFPPrecision': /var/tmp/portage/games-fps/tenebrae-1.04/work/tenebrae_0/linux/..//sys_dosa.s:49: multiple definition of `Sys_LowFPPrecision' releasei386.glibc/glquake/sys_linux.o:/var/tmp/portage/games-fps/tenebrae-1.04/work/tenebrae_0/linux/..//sys_linux.c:383: first defined here releasei386.glibc/glquake/sys_dosa.o: In function `Sys_HighFPPrecision': /var/tmp/portage/games-fps/tenebrae-1.04/work/tenebrae_0/linux/..//sys_dosa.s:55: multiple definition of `Sys_HighFPPrecision' releasei386.glibc/glquake/sys_linux.o:/var/tmp/portage/games-fps/tenebrae-1.04/work/tenebrae_0/linux/..//sys_linux.c:379: first defined here releasei386.glibc/glquake/gl_warp.o: In function `EasyTgaLoad': /var/tmp/portage/games-fps/tenebrae-1.04/work/tenebrae_0/linux/..//gl_warp.c:1392: undefined reference to `png_set_gray_1_2_4_to_8' releasei386.glibc/glquake/gl_warp.o: In function `LoadTextureInPlace': /var/tmp/portage/games-fps/tenebrae-1.04/work/tenebrae_0/linux/..//gl_warp.c:825: undefined reference to `png_set_gray_1_2_4_to_8' releasei386.glibc/glquake/gl_warp.o: In function `LoadTexture': /var/tmp/portage/games-fps/tenebrae-1.04/work/tenebrae_0/linux/..//gl_warp.c:713: undefined reference to `png_set_gray_1_2_4_to_8' collect2: ld returned 1 exit status make[1]: *** [releasei386.glibc/bin/tenebrae.run] Error 1 make[1]: Leaving directory `/var/tmp/portage/games-fps/tenebrae-1.04/work/tenebrae_0/linux' make: *** [build_release] Error 2
I cannot build test this as I do not currently have access to an x86 machine, but: sed -i -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' gl_warp.c should be run to convert the obsolete functions to working ones.
(In reply to comment #1) > I cannot build test this as I do not currently have access to an x86 machine, > but: > sed -i -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' gl_warp.c > should be run to convert the obsolete functions to working ones. > missing :g in the sed there. but yes, this is the correct fix. i've applied it in portage. however, this is still untested so leaving open.