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

Fix building and linking with GCC 10 #775

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

Conversation

dmolik
Copy link

@dmolik dmolik commented Aug 21, 2020

dyn_ring_queue.h defines 2 global variables that are used in many
source files. This patch makes those variables ( C2G_InQ, C2G_OutQ )
external in the header, and intiates them in dyn_ring_queue.c

dyn_ring_queue.h defines 2 global variables that are used in many
source files. This patch makes those variables ( C2G_InQ, C2G_OutQ )
external in the header, and intiates them in dyn_ring_queue.c
@eskies
Copy link

eskies commented Mar 27, 2021

This fix helps me when building the Dynomite (Multiple definition errors both variables) on alpine Linux (ARM64 and AMD64).
Glad found the solution here, thank you @dmolik

@mcouillard
Copy link

Wonderful, thank you! This also resolves the build on RHEL 9, GCC 11.

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.

3 participants