{"action":"created","issue":{"url":"https://api.github.com/repos/happyfish100/fastdfs/issues/20","labels_url":"https://api.github.com/repos/happyfish100/fastdfs/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/happyfish100/fastdfs/issues/20/comments","events_url":"https://api.github.com/repos/happyfish100/fastdfs/issues/20/events","html_url":"https://github.com/happyfish100/fastdfs/issues/20","id":99661643,"number":20,"title":"/usr/lib64/libfastcommon.so：对‘cos’未定义的引用","user":{"login":"lext-7","id":7139516,"avatar_url":"https://avatars.githubusercontent.com/u/7139516?v=3","gravatar_id":"","url":"https://api.github.com/users/lext-7","html_url":"https://github.com/lext-7","followers_url":"https://api.github.com/users/lext-7/followers","following_url":"https://api.github.com/users/lext-7/following{/other_user}","gists_url":"https://api.github.com/users/lext-7/gists{/gist_id}","starred_url":"https://api.github.com/users/lext-7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lext-7/subscriptions","organizations_url":"https://api.github.com/users/lext-7/orgs","repos_url":"https://api.github.com/users/lext-7/repos","events_url":"https://api.github.com/users/lext-7/events{/privacy}","received_events_url":"https://api.github.com/users/lext-7/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-07T14:46:42Z","updated_at":"2015-08-15T08:28:12Z","closed_at":"2015-08-12T15:11:07Z","body":"\r\n\r\n从github克隆的源文件，安装了libfastcommon和libevent-2.0.1\r\n运行sudo ./make.sh就会曝出下面的错误\r\n```\r\n    cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -o fdfs_monitor fdfs_monitor.c  ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -L/usr/lib64 -lpthread -ldl -rdynamic -lfastcommon -I../common -I../tracker -I/usr/include/fastcommon\r\n    /usr/lib64/libfastcommon.so：对‘cos’未定义的引用\r\n    /usr/lib64/libfastcommon.so：对‘sqrt’未定义的引用\r\n    collect2: error: ld returned 1 exit status\r\n    make: *** [fdfs_monitor] 错误 1\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/happyfish100/fastdfs/issues/comments/131315321","html_url":"https://github.com/happyfish100/fastdfs/issues/20#issuecomment-131315321","issue_url":"https://api.github.com/repos/happyfish100/fastdfs/issues/20","id":131315321,"user":{"login":"lext-7","id":7139516,"avatar_url":"https://avatars.githubusercontent.com/u/7139516?v=3","gravatar_id":"","url":"https://api.github.com/users/lext-7","html_url":"https://github.com/lext-7","followers_url":"https://api.github.com/users/lext-7/followers","following_url":"https://api.github.com/users/lext-7/following{/other_user}","gists_url":"https://api.github.com/users/lext-7/gists{/gist_id}","starred_url":"https://api.github.com/users/lext-7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lext-7/subscriptions","organizations_url":"https://api.github.com/users/lext-7/orgs","repos_url":"https://api.github.com/users/lext-7/repos","events_url":"https://api.github.com/users/lext-7/events{/privacy}","received_events_url":"https://api.github.com/users/lext-7/received_events","type":"User","site_admin":false},"created_at":"2015-08-15T08:28:12Z","updated_at":"2015-08-15T08:28:12Z","body":"https://github.com/lext-7/fastdfs/\r\n这个直接编译没问题，亲测有效"}}