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 failure: gcc: multiple definition of 'oc_help_info' #23

Open
tomoverlund opened this issue Feb 19, 2022 · 0 comments
Open

Build failure: gcc: multiple definition of 'oc_help_info' #23

tomoverlund opened this issue Feb 19, 2022 · 0 comments

Comments

@tomoverlund
Copy link

Failure occurred under GCC 11:

/usr/bin/ld: harness.o:/home/virt/projects/occam/kroc/tools/occ21/misc/harness.c:567: multiple definition of 'oc_help_info'; version.o:/home/virt/projects/occam/kroc/tools/occ21/version.c:39: first defined here

Adding extern to harness.c fixes the problem.

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