Hello,

I haven't cross compiled myself, but there is a makefile flag CROSS_COMPILE that you can set in such cases -- the Makefile of the modules sets the path to includes and libs based on it. You may need to set other Makefile variables to get it done, look in the src/Makefile.defs to see most of them.

Ovidiu Sas seemed to be active in this space some time ago, maybe he can give further guidelines.

Cheers,
Daniel

On 19.06.20 14:11, Benjamin Marty wrote:
Hello

I would like to ask if someone already tried to build Kamailio for the Embedded Distribution Buildroot. I tried it myself but it looks like Kamailio is not that easy to cross compile.

Thanks

Benjamin

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla