Asterisk 11 incompatible with Gmime 2.6

I recently tried to compile Asterisk 11.6 with Gmime 2.6.15 and failed. I don’t have anymore the error log, but it was related to a lot of references missing. I can compile Asterisk fine with Gmime 2.4.33, anyone else has this issue?

Basically, all I’m asking is if someone had compile issues with Asterisk 11.x, while using the Gmime 2.6.x library. Can someone confirm this?