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

Linux: Building with GCC 10 fails with 'multiple definition of' linking errors #24

Open
nomadbyte opened this issue May 11, 2021 · 2 comments

Comments

@nomadbyte
Copy link
Owner

Building with GCC 10 fails with linking errors:

bristol.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: multiple definition of `blo'
arpdco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: first defined here
dco.o:/home/testuser/bristol-develop/bristol/dco.c:42: multiple definition of `note_diff'
arpdco.o:/home/testuser/bristol-develop/bristol/arpdco.c:42: first defined here
dco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: multiple definition of `blo'
arpdco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: first defined here
expdco.o:/home/testuser/bristol-develop/bristol/expdco.c:43: multiple definition of `note_diff'
arpdco.o:/home/testuser/bristol-develop/bristol/arpdco.c:42: first defined here
expdco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: multiple definition of `blo'
arpdco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: first defined here
filter2.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: multiple definition of `blo'
arpdco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: first defined here
filter.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: multiple definition of `blo'
arpdco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: first defined here
filter.o:/home/testuser/bristol-develop/bristol/filter.c:148: multiple definition of `pidsr'
filter2.o:/home/testuser/bristol-develop/bristol/filter2.c:150: first defined here
hammond.o:/home/testuser/bristol-develop/bristol/hammond.c:48: multiple definition of `note_diff'
arpdco.o:/home/testuser/bristol-develop/bristol/arpdco.c:42: first defined here
junodco.o:/home/testuser/bristol-develop/bristol/junodco.c:42: multiple definition of `note_diff'
arpdco.o:/home/testuser/bristol-develop/bristol/arpdco.c:42: first defined here
junodco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: multiple definition of `blo'
arpdco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: first defined here
lfo.o:/home/testuser/bristol-develop/bristol/lfo.c:41: multiple definition of `note_diff'
arpdco.o:/home/testuser/bristol-develop/bristol/arpdco.c:42: first defined here
prophetdco.o:/home/testuser/bristol-develop/bristol/prophetdco.c:50: multiple definition of `note_diff'
arpdco.o:/home/testuser/bristol-develop/bristol/arpdco.c:42: first defined here
prophetdco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: multiple definition of `blo'
arpdco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: first defined here
sdco.o:/home/testuser/bristol-develop/bristol/sdco.c:44: multiple definition of `note_diff'
arpdco.o:/home/testuser/bristol-develop/bristol/arpdco.c:42: first defined here
vox.o:/home/testuser/bristol-develop/bristol/vox.c:62: multiple definition of `wave1'
hammond.o:/home/testuser/bristol-develop/bristol/hammond.c:73: first defined here
vox.o:/home/testuser/bristol-develop/bristol/vox.c:63: multiple definition of `wave2'
hammond.o:/home/testuser/bristol-develop/bristol/hammond.c:74: first defined here
vox.o:/home/testuser/bristol-develop/bristol/vox.c:43: multiple definition of `note_diff'
arpdco.o:/home/testuser/bristol-develop/bristol/arpdco.c:42: first defined here
vox.o:/home/testuser/bristol-develop/bristol/vox.c:44: multiple definition of `samplecount'
hammond.o:/home/testuser/bristol-develop/bristol/hammond.c:49: first defined here
vox.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: multiple definition of `blo'
arpdco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: first defined here
granulardco.o:/home/testuser/bristol-develop/bristol/granulardco.c:42: multiple definition of `samplerate'
midihandlers.o:/home/testuser/bristol-develop/bristol/midihandlers.c:636: first defined here
granulardco.o:/home/testuser/bristol-develop/bristol/granulardco.c:41: multiple definition of `note_diff'
arpdco.o:/home/testuser/bristol-develop/bristol/arpdco.c:42: first defined here
bit1osc.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: multiple definition of `blo'
arpdco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: first defined here
bit1osc.o:/home/testuser/bristol-develop/bristol/bit1osc.c:50: multiple definition of `samplecount'
hammond.o:/home/testuser/bristol-develop/bristol/hammond.c:49: first defined here
cs80osc.o:/home/testuser/bristol-develop/bristol/cs80osc.c:44: multiple definition of `note_diff'
arpdco.o:/home/testuser/bristol-develop/bristol/arpdco.c:42: first defined here
cs80osc.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: multiple definition of `blo'
arpdco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: first defined here
cs80osc.o:/home/testuser/bristol-develop/bristol/cs80osc.c:45: multiple definition of `samplecount'
hammond.o:/home/testuser/bristol-develop/bristol/hammond.c:49: first defined here
blo.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: multiple definition of `blo'
arpdco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: first defined here
trilogyosc.o:/home/testuser/bristol-develop/bristol/trilogyosc.c:43: multiple definition of `note_diff'
arpdco.o:/home/testuser/bristol-develop/bristol/arpdco.c:42: first defined here
trilogyosc.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: multiple definition of `blo'
arpdco.o:/home/testuser/bristol-develop/bristol/./../include/bristol/bristolblo.h:50: first defined here
trilogyosc.o:/home/testuser/bristol-develop/bristol/trilogyosc.c:44: multiple definition of `samplecount'
hammond.o:/home/testuser/bristol-develop/bristol/hammond.c:49: first defined here
@nomadbyte
Copy link
Owner Author

GCC 10 defaults to -fno-common.

@nomadbyte
Copy link
Owner Author

Fixed in 3015be7, 38dce65, dd84b47, 01ca4d1, 1e9cd65, 4a34c5a, e4e2e66, 3d9a322

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

1 participant