Cyan4973 / xxHash

Extremely fast non-cryptographic hash algorithm
http://www.xxhash.com/
Other
9.16k stars 777 forks source link

need many update..... #195

Closed shariat1 closed 5 years ago

shariat1 commented 5 years ago

How to install and use? ...no helping!!

easyaspi314 commented 5 years ago

The binaries have been taken down from the page because of an issue on windows. As Cyan is currently sick, development has been a little delayed.

You can compile them yourself though, either by running make in a Linux/macOS/WSL/Cygwin/msys2 terminal with GCC installed, or you can use cmake.

shariat1 commented 5 years ago

[xxh32sum] Error 1 ...show this error

easyaspi314 commented 5 years ago

That doesn't give me enough information.

I need stuff like:

shariat1 commented 5 years ago

root@localhost:/sdcard/tool/xxHash# ls appveyor.yml LICENSE xxhash.c xxhsum.1.md cmake_unofficial Makefile xxhash.h xxhsum.c doc README.md xxhash.o xxhsum.o libxxhash.a tests xxhsum libxxhash.so.0.7.0 xxh3.h xxhsum.1 root@localhost:/sdcard/tool/xxHash# make ln -sf xxhsum xxh32sum ln: failed to create symbolic link ‘xxh32sum’: Functi on not implemented Makefile:93: recipe for target 'xxh32sum' failed make: *** [xxh32sum] Error 1 root@localhost:/sdcard/tool/xxHash#

See it ... I use " make" command .. But show error..

felixhandte commented 5 years ago

The error you are describing is not an xxh error. It sounds like you're on an extremely minimal operating system / filesystem that doesn't implement symbolic links. Whereas xxhash expects the standard complement of unix utilities.

What operating system are you using?

easyaspi314 commented 5 years ago

I'm guessing Android or something from the path.

Considering that the path is /sdcard, the filesystem is likely FAT32, which doesn't support symlinks

easyaspi314 commented 5 years ago

If you are on Android, try the Termux environment which gives you a filesystem that supports symlinks, or try /data/local. On normal Linux, try something in /home.

But thanks for the build log.

shariat1 commented 5 years ago

thanks now working...I clone it desktop now working...

root@localhost:~/Desktop/xxHash# make cc -O3 -c -o xxhash.o xxhash.c ar rcs libxxhash.a xxhash.o cc -O3 -fPIC xxhash.c -shared -Wl,-soname=libxxhas h.so.0 -o libxxhash.so.0.7.0 ln -sf libxxhash.so.0.7.0 libxxhash.so.0 ln -sf libxxhash.so.0.7.0 libxxhash.so cc -O3 -c -o xxhsum.o xxhsum.c cc xxhsum.o xxhash.o -o xxhsum ln -sf xxhsum xxh32sum ln -sf xxhsum xxh64sum root@localhost:~/Desktop/xxHash#

easyaspi314 commented 5 years ago

If you solved your issue, please close it. Thanks.