Search found 8 matches

by pv081079
Mon Dec 20, 2021 2:22 pm
Forum: Coding Questions
Topic: PureBasic 5.70LTS | SHA1Fingerprint
Replies: 8
Views: 2242

Re: PureBasic 5.70LTS | SHA1Fingerprint

This is the result using PB5.31 and gcc-7 on linux:

# ./collider
./collider: Symbol `exit' causes overflow in R_X86_64_PC32 relocation
./collider: Symbol `cuDeviceGet' causes overflow in R_X86_64_PC32 relocation
./collider: Symbol `cuDeviceGet' causes overflow in R_X86_64_PC32 relocation
./collider ...
by pv081079
Mon Dec 20, 2021 12:38 pm
Forum: Coding Questions
Topic: PureBasic 5.70LTS | SHA1Fingerprint
Replies: 8
Views: 2242

Re: PureBasic 5.70LTS | SHA1Fingerprint

Hi I shared all the source, as I can see the Author its a member of this Forum "Etayson"

Anyone tested to compile on Linux? using PB 5.70?

Thanks,
by pv081079
Sun Dec 19, 2021 11:35 pm
Forum: Coding Questions
Topic: PureBasic 5.70LTS | SHA1Fingerprint
Replies: 8
Views: 2242

Re: PureBasic 5.70LTS | SHA1Fingerprint

Original code:

https://github.com/Etayson/BSGS-cuda

This only compiles on PB 5.31 but on Linux we have problems with asm errors with new gcc-7

So that's why I was trying to port the code to PB 5.70 LTS

I changed the lib path and cuda.lib to libcuda.so

If you compile with PB5.70 and changing the ...
by pv081079
Sun Dec 19, 2021 10:46 pm
Forum: Coding Questions
Topic: PureBasic 5.70LTS | SHA1Fingerprint
Replies: 8
Views: 2242

Re: PureBasic 5.70LTS | SHA1Fingerprint

If I do this:

;generate fingerprint of settings
settingsvalue$ = Str(threadtotal)+Str(blocktotal)+Str(pparam)+Str(waletcounter)+privkey+privkeyend+Str(HT_POW)
;settingsFingerPrint$ = SHA1Fingerprint(@settingsvalue$, StringByteLength(settingsvalue$))
UseSHA1Fingerprint()
settingsFingerPrint ...
by pv081079
Sun Dec 19, 2021 9:45 pm
Forum: Coding Questions
Topic: PureBasic 5.70LTS | SHA1Fingerprint
Replies: 8
Views: 2242

Re: PureBasic 5.70LTS | SHA1Fingerprint

Thanks, but its not expecting a string Value
by pv081079
Sun Dec 19, 2021 9:24 pm
Forum: Coding Questions
Topic: PureBasic 5.70LTS | SHA1Fingerprint
Replies: 8
Views: 2242

PureBasic 5.70LTS | SHA1Fingerprint

Hi,

I am trying to compile this:

;generate fingerprint of settings
settingsvalue$ = Str(threadtotal)+Str(blocktotal)+Str(pparam)+Str(waletcounter)+privkey+privkeyend+Str(HT_POW)
settingsFingerPrint$ = SHA1Fingerprint(@settingsvalue$, StringByteLength(settingsvalue$))

and returns me the error ...
by pv081079
Sun Dec 19, 2021 6:15 pm
Forum: Coding Questions
Topic: PureBasic 5.31 linux GCC flags when generating executable
Replies: 3
Views: 1046

PureBasic 5.31 linux GCC flags when generating executable

Hi,

It is possible to add -no-pie gcc flag while generating the linux binary executable? or something

to avoid this error:

Symbol `exit' causes overflow in R_X86_64_PC32 relocation

Thanks,