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

Added extern to fix test on ubuntu 22.04 #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

romanfbr
Copy link

gcc version 10.2.1:
Gives errors on make check (linkage)

/usr/bin/ld: codes.o:/src/turbofec/tests/codes.h:28: multiple definition of `conv_trunc'; conv_test.o:/src/turbofec/tests/codes.h:28: first defined here
/usr/bin/ld: codes.o:/src/turbofec/tests/codes.h:27: multiple definition of `lte_conv_pbch'; conv_test.o:/src/turbofec/tests/codes.h:27: first defined here
/usr/bin/ld: codes.o:/src/turbofec/tests/codes.h:26: multiple definition of `gmr1_conv_tch3_speech'; conv_test.o:/src/turbofec/tests/codes.h:26: first defined here
...................

Without this, make check does work on gcc 9.*

Also removed a deprecation warning from automake

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.

1 participant