Created attachment 94768 [details] [review] export gbm_device_is_format_supported Hi, I was still getting undefined reference to this function when linking against mesa -- but linker found the library and everything. According to nm the function was only local ("t"). Attached patch solved it. Regards, Marek Chalupa
Very nice catch there Marek. Please send the patch to the mesa-dev mailing list for other dev that way be interested. The patch looks great imho, and unless someone objects I'll commit it by the end of the week.
Pushed to master commit 96f324e229d035e6b00e15c96b69a00999d1adcb Author: Marek Chalupa <mchqwerty@gmail.com> Date: Thu Feb 27 09:23:21 2014 +0100 gbm: export gbm_device_is_format_supported Probably depending on compiler settings, the definition can be hidden, so undefined reference error can be encountred during linking.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.