jfsw icon indicating copy to clipboard operation
jfsw copied to clipboard

build error

Open darrinh opened this issue 1 year ago • 2 comments

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

darrinh avatar Nov 28 '24 02:11 darrinh

It does build properly in Ubuntu 22.04.

darrinh avatar Nov 28 '24 03:11 darrinh

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.

jonof avatar Dec 26 '24 04:12 jonof