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

Add FLAGS option to fix build on Linux #8

Merged
merged 1 commit into from
May 17, 2024
Merged

Conversation

ronan22
Copy link
Contributor

@ronan22 ronan22 commented May 16, 2024

The test build was done on Linux Fedora 39.

The curent build status:

/usr/bin/ld: ../Third_Party/cbv2g/obj/appHandshake/appHand_Decoder.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: failed to set dynamic section sizes: bad value

To fix the build issue add '-fPIC' to FLAGS variable.

FLAGS = -c -Wall -O3 -fPIC

The test build was done on Linux Fedora 39.

The curent build status:

/usr/bin/ld: ../Third_Party/cbv2g/obj/appHandshake/appHand_Decoder.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: failed to set dynamic section sizes: bad value

To fix the build issue add '-fPIC' to FLAGS variable.

FLAGS = -c -Wall -O3 -fPIC
@TGruett TGruett merged commit 31d542b into dspace-group:main May 17, 2024
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

Successfully merging this pull request may close these issues.

2 participants