{"action":"created","issue":{"url":"https://api.github.com/repos/mattn/go-sqlite3/issues/106","labels_url":"https://api.github.com/repos/mattn/go-sqlite3/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/mattn/go-sqlite3/issues/106/comments","events_url":"https://api.github.com/repos/mattn/go-sqlite3/issues/106/events","html_url":"https://github.com/mattn/go-sqlite3/issues/106","id":26453690,"number":106,"title":"Cross platform build failed","user":{"login":"elgs","id":55955,"avatar_url":"https://avatars.githubusercontent.com/u/55955?v=3","gravatar_id":"","url":"https://api.github.com/users/elgs","html_url":"https://github.com/elgs","followers_url":"https://api.github.com/users/elgs/followers","following_url":"https://api.github.com/users/elgs/following{/other_user}","gists_url":"https://api.github.com/users/elgs/gists{/gist_id}","starred_url":"https://api.github.com/users/elgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elgs/subscriptions","organizations_url":"https://api.github.com/users/elgs/orgs","repos_url":"https://api.github.com/users/elgs/repos","events_url":"https://api.github.com/users/elgs/events{/privacy}","received_events_url":"https://api.github.com/users/elgs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":57,"created_at":"2014-01-28T16:13:49Z","updated_at":"2016-01-07T07:38:06Z","closed_at":"2014-11-14T10:51:09Z","body":"When I tried to build from OS X for Linux, it says:\r\n```\r\n$ GOOS=linux GOARCH=amd64 go install\r\n# github.com/mattn/go-sqlite3\r\n../../../mattn/go-sqlite3/sqlite3.c:241 unknown #: if\r\n../../../mattn/go-sqlite3/sqlite3.c:256 unknown #: if\r\n../../../mattn/go-sqlite3/sqlite3.c:296 unknown #: if\r\n../../../mattn/go-sqlite3/sqlite3.c:309 unknown #: if\r\n../../../mattn/go-sqlite3/sqlite3.c:339 unknown #: if\r\n../../../mattn/go-sqlite3/sqlite3.c:342 unknown #: elif\r\n../../../mattn/go-sqlite3/sqlite3.c:343 macro redefined: SQLITE_INT_TO_PTR\r\n../../../mattn/go-sqlite3/sqlite3.c:344 macro redefined: SQLITE_PTR_TO_INT\r\n../../../mattn/go-sqlite3/sqlite3.c:345 unknown #: elif\r\n../../../mattn/go-sqlite3/sqlite3.c:346 macro redefined: SQLITE_INT_TO_PTR\r\n../../../mattn/go-sqlite3/sqlite3.c:347 macro redefined: SQLITE_PTR_TO_INT\r\ntoo many errors\r\n```"},"comment":{"url":"https://api.github.com/repos/mattn/go-sqlite3/issues/comments/169586670","html_url":"https://github.com/mattn/go-sqlite3/issues/106#issuecomment-169586670","issue_url":"https://api.github.com/repos/mattn/go-sqlite3/issues/106","id":169586670,"user":{"login":"mattn","id":10111,"avatar_url":"https://avatars.githubusercontent.com/u/10111?v=3","gravatar_id":"","url":"https://api.github.com/users/mattn","html_url":"https://github.com/mattn","followers_url":"https://api.github.com/users/mattn/followers","following_url":"https://api.github.com/users/mattn/following{/other_user}","gists_url":"https://api.github.com/users/mattn/gists{/gist_id}","starred_url":"https://api.github.com/users/mattn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattn/subscriptions","organizations_url":"https://api.github.com/users/mattn/orgs","repos_url":"https://api.github.com/users/mattn/repos","events_url":"https://api.github.com/users/mattn/events{/privacy}","received_events_url":"https://api.github.com/users/mattn/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T07:38:05Z","updated_at":"2016-01-07T07:38:05Z","body":"try with `export CC=gcc`."}}