You are cross compiling and you need to use CROSS_COMPILE.
Take a look at the Makefile used to build for optware on all kind of
embedded platforms:
http://svn.nslu2-linux.org/svnroot/optware/trunk/make/kamailio.mk
Regards,
Ovidiu Sas
On Tue, Mar 12, 2013 at 11:02 AM, Jiri Slachta <slachta(a)cesnet.cz> wrote:
Hello everyone,
I am new to this list and I am a newbie when it comes to Kamailio details, so sorry for
any of my misunderstandings. I am the author of kamailio3 package in OpenWrt and currently
I am trying to port recent major release of kamailio to OpenWrt. Let's jump directly
to my question.
The current state of my Kamailio4 package is that all modules which does not depend on
any external libraries, are succesfully built. Any module that depends on external library
is not built at all.
But if I pass LD="$(TARGET_CC)" to the linker via:
make -C/path/to/module LD="$(TARGET_CC)"
then the module is succesfully compiled. I build kamailio4 via macro Build/Compile in
following Makefile -
http://liptel.vsb.cz/svn/besip/Trunk/packages-trunk/net/kamailio4/Makefile
My question is - has anything changed in build procedures or variables significantly? It
seems that LD variable is not passed into Makefiles of specific modules. Am I doing
anything wrong?
I am open to any suggestions.
Thank you!
~ Jiri Slachta
--
VoIP Embedded, Inc.
http://www.voipembedded.com