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...
直接通过 ` git clone https://github.com/happyfish100/libfastcommon.git --depth 1 ` 执行make.sh出现错误 ./make.sh: line 172: warning: here-document at line 2 delimited by end-of-file (wanted `EOF') ./make.sh: line 2: ./a.out: No such file or...
There is a small typo in src/sockopt.h. Should read `received` rather than `recveived`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md
``` src/libfastcommon.a(hash.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC ``` env: Ubuntu 14.04, gcc 4.8
common_define.h文件中: #define st_atimensec st_atim.tv_nsec #define st_mtimensec st_mtim.tv_nsec #define st_ctimensec st_ctim.tv_nsec 这几行内容编译时报错:error: expected ':', ',', ';', '}' or '__attribute__' before '.' token,这是什么原因呢,这些内容的作用是什么,注释掉有什么影响吗
中标麒麟 arm架构 fastdfs 编译通过, 
[2019-02-21 15:03:18] INFO - FastDFS v5.11, base_path=/data/fastdfs/tracker, run_by_group=, run_by_user=, connect_timeout=30s, network_timeout=60s, port=22122, bind_addr=, max_connections=256, accept_threads=1, work_threads=4, min_buff_size=8192, max_buff_size=131072, store_lookup=2, store_group=, store_server=0, store_path=0, reserved_storage_space=10.00%, download_server=0, allow_ip_count=-1, sync_log_buff_interval=10s, check_active_interval=120s, thread_stack_size=64 KB, storage_ip_changed_auto_adjust=1,...
现在导致storage编译不了 storage_sync_func.c:88:21: error: too many arguments to function 'socketCreateExAuto' g_client_bind_addr ? g_bind_addr : NULL, &result);
如题
the 52 line" #include "_os_define.h" "at the header file "libfastcommon/src/common_define.h" shows file not found. why does it define in the make.sh?
好东东啊; 谢谢大牛牛提供 跨平台吗?多线程安全吗?