-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"undefined reference to `mmal_"* - compilation fails (with gcc-4.8.5?) #255
Comments
No, sorry, I'm saying that I was using gcc-4.8.4, and with this commit b864a84 compiled and ran correctly. Since b864a84, I've now upgraded to gcc-4.8.5 and now neither b864a84 nor any commit since works. As b864a84 did work before, I've not tracked any further backwards. (P.S. By default, Gentoo's packaging system uses a much older version of the upstream code and introduces a minor patch to update the installation paths. I'm working on modernising the Raspberry Pi support in Gentoo and so to ensure that I'm not breaking anything, the output above is from a direct git fetch which has not been patched or modified in any way) |
Nice overlay, I like what you did with the pthreads issue in raspberrypi/firmware#34 A direct pull of master builds fine on ChromiumOS, which is basically the same as Gentoo, but the same issue was reported here: http://lists.opensuse.org/opensuse-arm/2015-01/msg00041.html |
The userland repo is designed for raspbian and we can't offer much help on getting it working on other distributions. We are willing to accept patches that fix build issues on other distributions if they don't harm raspbian. Firstly confirm you have that symbol. E.g:
Assuming you do it's probably down to the order of the libraries on the build line. I assume this is the build line that is failing:
Can you try adding |
Ah - the problem in my case (although I'm not sure how this relates to SuSE) is that Weird that this previously worked successfully with the same setting in place, though... |
Can you confirm that removing |
Yes, it's fine with |
@popcornmix this issue should be closed as it has been resolved |
Nothing has been resolved - but it is not an issue with the supported compiler. It remains an issue on Gentoo, Android and others, that can be fixed with #179 , but that may not be the best solution. |
It can be closed as a duplicate of #176, #303, and potentially others. The requirements of any updated mechanism have been stated at #303 (comment), but those who are complaining don't appear to be prepared to put the legwork in to fix, even though it is their change to the build settings that is causing the breakage. Ho hum. |
Closing as duplicate of #178 |
Commit b864a84 built correctly with gcc-4.8.4 - but now this and all commits since are failing with gcc-4.8.5.
The build process starts:
... and the final error is:
The text was updated successfully, but these errors were encountered: