{"action":"created","issue":{"url":"https://api.github.com/repos/libavg/libavg/issues/612","labels_url":"https://api.github.com/repos/libavg/libavg/issues/612/labels{/name}","comments_url":"https://api.github.com/repos/libavg/libavg/issues/612/comments","events_url":"https://api.github.com/repos/libavg/libavg/issues/612/events","html_url":"https://github.com/libavg/libavg/issues/612","id":60200419,"number":612,"title":"Compiling for Raspberry Pi 2","user":{"login":"cstranex","id":453573,"avatar_url":"https://avatars.githubusercontent.com/u/453573?v=3","gravatar_id":"","url":"https://api.github.com/users/cstranex","html_url":"https://github.com/cstranex","followers_url":"https://api.github.com/users/cstranex/followers","following_url":"https://api.github.com/users/cstranex/following{/other_user}","gists_url":"https://api.github.com/users/cstranex/gists{/gist_id}","starred_url":"https://api.github.com/users/cstranex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cstranex/subscriptions","organizations_url":"https://api.github.com/users/cstranex/orgs","repos_url":"https://api.github.com/users/cstranex/repos","events_url":"https://api.github.com/users/cstranex/events{/privacy}","received_events_url":"https://api.github.com/users/cstranex/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/libavg/libavg/labels/Bug","name":"Bug","color":"ea92a4"},{"url":"https://api.github.com/repos/libavg/libavg/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/libavg/libavg/labels/Platform","name":"Platform","color":"c3a95d"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-07T10:13:32Z","updated_at":"2015-03-09T19:43:53Z","closed_at":null,"body":"If I checkout the latest version of libavg from git:\r\n./bootstrap\r\n./configure --enable-rpi\r\nmake\r\n\r\nThe build eventually fails with:\r\n  CXXLD  testgpu\r\n/usr/bin/ld: ./.libs/libgraphics.a(BCMDisplay.o): undefined reference to symbol 'vc_dispmanx_element_add'\r\n//opt/vc/lib/libbcm_host.so: error adding symbols: DSO missing from command line\r\ncollect2: ld returned 1 exit status\r\nMakefile:668: recipe for target 'testgpu' failed\r\n\r\n\r\nAny suggestions to make compiling work?"},"comment":{"url":"https://api.github.com/repos/libavg/libavg/issues/comments/77927073","html_url":"https://github.com/libavg/libavg/issues/612#issuecomment-77927073","issue_url":"https://api.github.com/repos/libavg/libavg/issues/612","id":77927073,"user":{"login":"uzadow","id":7524857,"avatar_url":"https://avatars.githubusercontent.com/u/7524857?v=3","gravatar_id":"","url":"https://api.github.com/users/uzadow","html_url":"https://github.com/uzadow","followers_url":"https://api.github.com/users/uzadow/followers","following_url":"https://api.github.com/users/uzadow/following{/other_user}","gists_url":"https://api.github.com/users/uzadow/gists{/gist_id}","starred_url":"https://api.github.com/users/uzadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uzadow/subscriptions","organizations_url":"https://api.github.com/users/uzadow/orgs","repos_url":"https://api.github.com/users/uzadow/repos","events_url":"https://api.github.com/users/uzadow/events{/privacy}","received_events_url":"https://api.github.com/users/uzadow/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T19:43:52Z","updated_at":"2015-03-09T19:43:52Z","body":"Hm... first of all, thanks for the patch, I'm merging it right now.\r\nIt looks like the segfault might be a result of an out of memory condition. If that's the case, compiling with less optimization (-O2 instead of -O3) or cross-compiling are the options you have. I'd suggest cross-compiling anyway, because that will bring your build time down to about 20 mins. We have (possibly outdated) instructions here: https://www.libavg.de/site/projects/libavg/wiki/RPI"}}