{"action":"closed","issue":{"url":"https://api.github.com/repos/iNavFlight/inav/issues/182","repository_url":"https://api.github.com/repos/iNavFlight/inav","labels_url":"https://api.github.com/repos/iNavFlight/inav/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/iNavFlight/inav/issues/182/comments","events_url":"https://api.github.com/repos/iNavFlight/inav/issues/182/events","html_url":"https://github.com/iNavFlight/inav/issues/182","id":152859558,"number":182,"title":"Auto Declination build regression with a451e0e","user":{"login":"stronnag","id":158229,"avatar_url":"https://avatars.githubusercontent.com/u/158229?v=3","gravatar_id":"","url":"https://api.github.com/users/stronnag","html_url":"https://github.com/stronnag","followers_url":"https://api.github.com/users/stronnag/followers","following_url":"https://api.github.com/users/stronnag/following{/other_user}","gists_url":"https://api.github.com/users/stronnag/gists{/gist_id}","starred_url":"https://api.github.com/users/stronnag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stronnag/subscriptions","organizations_url":"https://api.github.com/users/stronnag/orgs","repos_url":"https://api.github.com/users/stronnag/repos","events_url":"https://api.github.com/users/stronnag/events{/privacy}","received_events_url":"https://api.github.com/users/stronnag/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-03T19:50:49Z","updated_at":"2016-05-04T02:36:43Z","closed_at":"2016-05-04T02:36:43Z","body":"As of 2016-05-03, master (a451e0e) fails to build with ```INAV_ENABLE_AUTO_MAG_DECLINATION=1```\r\n````\r\n In function `onNewGPSData':\r\ninav/./src/main/flight/navigation_rewrite_pos_estimator.c:281: undefined reference to `geoCalculateMagDeclination'\r\ncollect2: error: ld returned 1 exit status\r\n````\r\n(this on SPRF3 target)"}}