{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7261","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7261/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7261/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7261/events","html_url":"https://github.com/bitcoin/bitcoin/issues/7261","id":124094515,"number":7261,"title":"undefined reference to `secp256k1_ecdsa_sign_recoverable'","user":{"login":"doged","id":9091991,"avatar_url":"https://avatars.githubusercontent.com/u/9091991?v=3","gravatar_id":"","url":"https://api.github.com/users/doged","html_url":"https://github.com/doged","followers_url":"https://api.github.com/users/doged/followers","following_url":"https://api.github.com/users/doged/following{/other_user}","gists_url":"https://api.github.com/users/doged/gists{/gist_id}","starred_url":"https://api.github.com/users/doged/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doged/subscriptions","organizations_url":"https://api.github.com/users/doged/orgs","repos_url":"https://api.github.com/users/doged/repos","events_url":"https://api.github.com/users/doged/events{/privacy}","received_events_url":"https://api.github.com/users/doged/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-28T17:26:26Z","updated_at":"2015-12-28T17:35:48Z","closed_at":null,"body":"going through the make process, i run into this error:\r\n(i tried running a git clean)\r\n\r\ntestb0x@testb0x-VirtualBox:~/bitcoin$ make\r\nMaking all in src\r\nmake[1]: Entering directory '/home/testb0x/bitcoin/src'\r\nmake[2]: Entering directory '/home/testb0x/bitcoin/src'\r\nmake[3]: Entering directory '/home/testb0x/bitcoin/src/secp256k1'\r\nmake[3]: Leaving directory '/home/testb0x/bitcoin/src/secp256k1'\r\n  CXXLD    bitcoind\r\nlibbitcoin_common.a(libbitcoin_common_a-key.o): In function `CKey::SignCompact(uint256 const&, std::vector<unsigned char, std::allocator<unsigned char> >&) const':\r\n/home/testb0x/bitcoin/src/key.cpp:204: undefined reference to `secp256k1_ecdsa_sign_recoverable'\r\n/home/testb0x/bitcoin/src/key.cpp:206: undefined reference to `secp256k1_ecdsa_recoverable_signature_serialize_compact'\r\nlibbitcoin_common.a(libbitcoin_common_a-pubkey.o): In function `CPubKey::RecoverCompact(uint256 const&, std::vector<unsigned char, std::allocator<unsigned char> > const&)':\r\n/home/testb0x/bitcoin/src/pubkey.cpp:194: undefined reference to `secp256k1_ecdsa_recoverable_signature_parse_compact'\r\n/home/testb0x/bitcoin/src/pubkey.cpp:197: undefined reference to `secp256k1_ecdsa_recover'\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:2759: recipe for target 'bitcoind' failed\r\nmake[2]: *** [bitcoind] Error 1\r\nmake[2]: Leaving directory '/home/testb0x/bitcoin/src'\r\nMakefile:6870: recipe for target 'all-recursive' failed\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory '/home/testb0x/bitcoin/src'\r\nMakefile:636: recipe for target 'all-recursive' failed\r\nmake: *** [all-recursive] Error 1\r\ntestb0x@testb0x-VirtualBox:~/bitcoin$ \r\n"},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/167608773","html_url":"https://github.com/bitcoin/bitcoin/issues/7261#issuecomment-167608773","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7261","id":167608773,"user":{"login":"sipa","id":548488,"avatar_url":"https://avatars.githubusercontent.com/u/548488?v=3","gravatar_id":"","url":"https://api.github.com/users/sipa","html_url":"https://github.com/sipa","followers_url":"https://api.github.com/users/sipa/followers","following_url":"https://api.github.com/users/sipa/following{/other_user}","gists_url":"https://api.github.com/users/sipa/gists{/gist_id}","starred_url":"https://api.github.com/users/sipa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sipa/subscriptions","organizations_url":"https://api.github.com/users/sipa/orgs","repos_url":"https://api.github.com/users/sipa/repos","events_url":"https://api.github.com/users/sipa/events{/privacy}","received_events_url":"https://api.github.com/users/sipa/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T17:35:48Z","updated_at":"2015-12-28T17:35:48Z","body":"This is a problem resulting from linking against an older build result of\nlibsecp256k1.\n\nTry `make clean`. If that doesn't work, try `make clean` inside\nsrc/secp256k1 directory. If that doesn't work, use `git clean -dfx` (which\ndeletes all non-committed files; be careful if you have other work in the\nworking directory).\n"}}