{"action":"opened","issue":{"url":"https://api.github.com/repos/richarddurbin/pbwt/issues/38","labels_url":"https://api.github.com/repos/richarddurbin/pbwt/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/richarddurbin/pbwt/issues/38/comments","events_url":"https://api.github.com/repos/richarddurbin/pbwt/issues/38/events","html_url":"https://github.com/richarddurbin/pbwt/issues/38","id":121705093,"number":38,"title":"Build error from git clone","user":{"login":"grady","id":60004,"avatar_url":"https://avatars.githubusercontent.com/u/60004?v=3","gravatar_id":"","url":"https://api.github.com/users/grady","html_url":"https://github.com/grady","followers_url":"https://api.github.com/users/grady/followers","following_url":"https://api.github.com/users/grady/following{/other_user}","gists_url":"https://api.github.com/users/grady/gists{/gist_id}","starred_url":"https://api.github.com/users/grady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grady/subscriptions","organizations_url":"https://api.github.com/users/grady/orgs","repos_url":"https://api.github.com/users/grady/repos","events_url":"https://api.github.com/users/grady/events{/privacy}","received_events_url":"https://api.github.com/users/grady/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-11T13:08:19Z","updated_at":"2015-12-11T13:08:19Z","closed_at":null,"body":"From a clone of the repository on github, running make gives:\r\n```\r\n$ make\r\ncc -g -O3 -I../htslib  -c -o pbwtMain.o pbwtMain.c\r\npbwtMain.c: In function ‘pbwtCommitHash’:\r\npbwtMain.c:176:12: error: ‘PBWT_COMMIT_HASH’ undeclared (first use in this function)\r\n     return PBWT_COMMIT_HASH ;\r\n```\r\nI needed to explicitly generate `version.h` before the build would proceed:\r\n```\r\n$ make version.h\r\n# ...\r\n$ make\r\n# builds ok\r\n```"}}