albertobsd / keysubtracter

Bitcoin and Altcoins Publickey subtracter
BSD 2-Clause "Simplified" License
41 stars 34 forks source link

a little help please :) #8

Closed robywijaya007 closed 3 years ago

robywijaya007 commented 3 years ago

hello alberto , i tried to make compile but it was going error gcc -O3 -c gmpecc.c -o gmpecc.o gcc -O3 -c util.c -o util.o gcc -o keysubtracter keysubtracter.c gmpecc.o util.o -lgmp /usr/bin/ld: gmpecc.o:(.bss+0x2020): multiple definition of EC'; /tmp/ccmOxZkI.o:(.bss+0x0): first defined here /usr/bin/ld: gmpecc.o:(.bss+0x0): multiple definition ofDoublingG'; /tmp/ccmOxZkI.o:(.bss+0x40): first defined here /usr/bin/ld: gmpecc.o:(.bss+0x2000): multiple definition of `G'; /tmp/ccmOxZkI.o:(.bss+0x20): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:4: default] Error 1

please help Best regards

albertobsd commented 3 years ago

please add more details of your system, Linux version, Gcc Version.

robywijaya007 commented 3 years ago

Dear Alberto, Thank you for your kind reply , gcc version 10.2.0 running on Ubuntu 20.10 groovy . Kind regards

albertobsd commented 3 years ago

@we-akri install libgmpdev

we-akri commented 3 years ago

Thank you Kind regards