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

Remove unnecessary name after struct #26

Merged
merged 1 commit into from
Mar 29, 2021

Conversation

depau
Copy link
Contributor

@depau depau commented Sep 8, 2020

Hello,
This fixes the following build issue:

[Link (Dynamic)]
/usr/bin/ld: wpiExtensions.o:(.bss+0x408): multiple definition of `comDat'; drcNet.o:(.bss+0x400): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:143: libwiringPi.so.2.46] Error 1

comDat looks like an incomplete typedef but it actually declares a global variable. Twice, since it's included both in wpiExtensions.c and drcNet.c, which makes the build fail.

This removes the unneeded global var.

@FerGT50
Copy link

FerGT50 commented Feb 4, 2021

Probably related to
#32 (comment)

@AndreiCherniaev
Copy link

Probably related to
#32 (comment)

Solution #35

@orangepi-xunlong orangepi-xunlong merged commit 421f5a0 into orangepi-xunlong:master Mar 29, 2021
@depau depau deleted the patch-1 branch March 29, 2021 08:15
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.

4 participants