{"action":"created","issue":{"url":"https://api.github.com/repos/grpc/grpc/issues/1849","labels_url":"https://api.github.com/repos/grpc/grpc/issues/1849/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc/issues/1849/comments","events_url":"https://api.github.com/repos/grpc/grpc/issues/1849/events","html_url":"https://github.com/grpc/grpc/issues/1849","id":83304514,"number":1849,"title":"Compilation error","user":{"login":"nferreira","id":1709589,"avatar_url":"https://avatars.githubusercontent.com/u/1709589?v=3","gravatar_id":"","url":"https://api.github.com/users/nferreira","html_url":"https://github.com/nferreira","followers_url":"https://api.github.com/users/nferreira/followers","following_url":"https://api.github.com/users/nferreira/following{/other_user}","gists_url":"https://api.github.com/users/nferreira/gists{/gist_id}","starred_url":"https://api.github.com/users/nferreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nferreira/subscriptions","organizations_url":"https://api.github.com/users/nferreira/orgs","repos_url":"https://api.github.com/users/nferreira/repos","events_url":"https://api.github.com/users/nferreira/events{/privacy}","received_events_url":"https://api.github.com/users/nferreira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-01T04:23:51Z","updated_at":"2015-06-01T21:29:42Z","closed_at":null,"body":"Hi,\r\n\r\nI am trying to compile grpc on Mac and I get the following error:\r\n\r\n[LD]      Linking libs/opt/libgrpc++.dylib\r\nUndefined symbols for architecture x86_64:\r\n  \"_grpc_call_set_credentials\", referenced from:\r\n      grpc::SecureCredentials::ApplyToCall(grpc_call*) in secure_credentials.o\r\n  \"_grpc_server_register_completion_queue\", referenced from:\r\n      grpc::Server::Server(grpc::ThreadPoolInterface*, bool, int) in server.o\r\n      grpc::ServerBuilder::BuildAndStart() in server_builder.o\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake: *** [libs/opt/libgrpc++.dylib] Error 1"},"comment":{"url":"https://api.github.com/repos/grpc/grpc/issues/comments/107718052","html_url":"https://github.com/grpc/grpc/issues/1849#issuecomment-107718052","issue_url":"https://api.github.com/repos/grpc/grpc/issues/1849","id":107718052,"user":{"login":"soltanmm","id":4889063,"avatar_url":"https://avatars.githubusercontent.com/u/4889063?v=3","gravatar_id":"","url":"https://api.github.com/users/soltanmm","html_url":"https://github.com/soltanmm","followers_url":"https://api.github.com/users/soltanmm/followers","following_url":"https://api.github.com/users/soltanmm/following{/other_user}","gists_url":"https://api.github.com/users/soltanmm/gists{/gist_id}","starred_url":"https://api.github.com/users/soltanmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soltanmm/subscriptions","organizations_url":"https://api.github.com/users/soltanmm/orgs","repos_url":"https://api.github.com/users/soltanmm/repos","events_url":"https://api.github.com/users/soltanmm/events{/privacy}","received_events_url":"https://api.github.com/users/soltanmm/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T21:29:42Z","updated_at":"2015-06-01T21:29:42Z","body":"I may have seen this before, and I think I saw in the context of stale libs. Could you first try uninstalling any old GRPC libraries you may have (as in `rm libgrpc.*` and `rm libgpr.*` them from your install directory), then building?\r\n\r\nIf that doesn't work, take note of that and then try:\r\n\r\n```\r\ngit clean -xdf\r\ngit submodule foreach 'git clean -xdf'\r\n```\r\n\r\nThen build again.\r\n\r\nIf that still doesn't work, take note of that and please tell us what's up."}}