build error
Hi all, when trying to build this, I get the following error:
/usr/bin/ld: jfbuild/libengine.a(glbuild.o): warning: relocation against default_glbuild_fs_glsl' in read-only section .text'
/usr/bin/ld: jfbuild/libengine.a(glbuild.o): in function glbuild_prepare_8bit_shader': /home/darrin/Source/jfsw/jfbuild/src/glbuild.c:699:(.text+0x2135): undefined reference to default_glbuild_fs_glsl'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make: *** [Makefile:237: sw] Error 1
I assume I'm missing a lib somewhere?
Ubuntu 24.04.
thanks Darrin
It does build properly in Ubuntu 22.04.
Without yet retesting to know for sure, I believe this can happen if libengine.a is built with a different compiler, as I suspect I may have some Makefile dependency errors.