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

build error #39

Open
darrinh opened this issue Nov 28, 2024 · 2 comments
Open

build error #39

darrinh opened this issue Nov 28, 2024 · 2 comments

Comments

@darrinh
Copy link

darrinh commented Nov 28, 2024

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
Copy link
Author

darrinh commented Nov 28, 2024

It does build properly in Ubuntu 22.04.

@jonof
Copy link
Owner

jonof commented Dec 26, 2024

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.

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

2 participants