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 fails (multple defintions) but only defined once #7

Open
JABirchall opened this issue Oct 7, 2021 · 0 comments
Open

Build fails (multple defintions) but only defined once #7

JABirchall opened this issue Oct 7, 2021 · 0 comments

Comments

@JABirchall
Copy link

I dont know if im doing something wrong, but when trying to build the source, it fails with this error.

J:\DT\miner\eminer-1.1>go install
# github.com/ethash/eminer/adl
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: $WORK\b045\_x003.o:J:\DT\miner\eminer-1.1\adl/adlbridge.h:104: multiple definition of `gpus'; $WORK\b045\_x002.o:J:/DT/miner/eminer-1.1/adl/adlbridge.h:104: first defined here
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: $WORK\b045\_x003.o:J:\DT\miner\eminer-1.1\adl/adlbridge.h:35: multiple definition of `adl_lock'; $WORK\b045\_x002.o:J:/DT/miner/eminer-1.1/adl/adlbridge.h:35: first defined here
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: $WORK\b045\_x003.o:J:\DT\miner\eminer-1.1\adl/adlbridge.h:111: multiple definition of `gpu_memdiff'; $WORK\b045\_x002.o:J:/DT/miner/eminer-1.1/adl/adlbridge.h:111: first defined here
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: $WORK\b045\_x003.o:J:\DT\miner\eminer-1.1\adl/adlbridge.h:110: multiple definition of `min_fan'; $WORK\b045\_x002.o:J:/DT/miner/eminer-1.1/adl/adlbridge.h:110: first defined here
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: $WORK\b045\_x003.o:J:\DT\miner\eminer-1.1\adl/adlbridge.h:109: multiple definition of `gpu_fan'; $WORK\b045\_x002.o:J:/DT/miner/eminer-1.1/adl/adlbridge.h:109: first defined here
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: $WORK\b045\_x003.o:J:\DT\miner\eminer-1.1\adl/adlbridge.h:108: multiple definition of `min_engine'; $WORK\b045\_x002.o:J:/DT/miner/eminer-1.1/adl/adlbridge.h:108: first defined here
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: $WORK\b045\_x003.o:J:\DT\miner\eminer-1.1\adl/adlbridge.h:107: multiple definition of `gpu_engine'; $WORK\b045\_x002.o:J:/DT/miner/eminer-1.1/adl/adlbridge.h:107: first defined here
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: $WORK\b045\_x003.o:J:\DT\miner\eminer-1.1\adl/adlbridge.h:105: multiple definition of `total_secs'; $WORK\b045\_x002.o:J:/DT/miner/eminer-1.1/adl/adlbridge.h:105: first defined here
collect2.exe: error: ld returned 1 exit status

Ive check, and they arent defined multiple times. so I don't know whats wrong.

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