libfastcommon
libfastcommon copied to clipboard
c common functions library extracted from my open source project FastDFS. this library is very simple and stable. functions including: string, logger, chain, hash, socket, ini file reader, base64 enc...
./make.sh cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O3 -DDARWIN -c -o shared_func.o shared_func.c shared_func.c:2567:9: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a...
在编译的时候报错,请问如何解决? [root@vm1 libfastcommon-1.0.43]# ./make.sh cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O3 -c -o hash.o hash.c In file included from /usr/include/errno.h:35:0, from hash.c:12: /usr/include/bits/errno.h:24:26: fatal error: linux/errno.h: No such file or directory...
报错: libfastcommon/src/logger.c:738:13: error: 'system' is unavailable: not available on iOS if (system(cmd) == -1) ^
日志初始化这里有调用init_pthread_lock函数,但是这个函数内部错误会利用日志打印,一旦函数内部错误,应该会崩溃吧。
The project README says: libfastcommon may be copied only under the terms of the Less GNU General Public License(LGPL). Whereas the headers in many of the source files (for example...
Http://www.csource.org/ Unable to access The highest release in github is only v1.0.39 Where should I go to download v1.23 or higher? can make a release?
缺少/usr/lib/libc_r.so
网上说是libfastcommon跟fastdfs服务版本不匹配,我用libfastcommon最新版本编译了一边还是这个问题,请教大神
./make.sh install后/usr/include/里没有fastdfs目录