<div dir="ltr">Hi Ovidiu<div>I have attached my makefile.</div><div>I have added path to readline, but still get erro</div><div>/home/subhra/SDK3.1.2/tools-3.1.2_build_50/bin/../lib/gcc/mips64-octeon-linux-gnu/4.7.0/../../../../mips64-octeon-linux-gnu/bin/ld: cannot find -lreadline<br>/home/subhra/SDK3.1.2/tools-3.1.2_build_50/bin/../lib/gcc/mips64-octeon-linux-gnu/4.7.0/../../../../mips64-octeon-linux-gnu/bin/ld: cannot find -lncurses<br></div><div><br></div><div>PleaseĀ help me where i have done wrong in makefile.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 20, 2020 at 10:20 AM Ovidiu Sas <<a href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Take a look at this makefile:<br>
<a href="https://github.com/Optware/Optware-ng/blob/master/make/kamailio.mk" rel="noreferrer" target="_blank">https://github.com/Optware/Optware-ng/blob/master/make/kamailio.mk</a><br>
<br>
It was used to cross compile kamailio for several platforms.<br>
Through CC_EXTRA_OPTS you can pass extra compiler flags and paths for<br>
the target platform.<br>
<br>
Also, please keep the list in cc, otherwise e-mails will go unanswered,<br>
<br>
Regards,<br>
Ovidiu Sas<br>
<br>
On Thu, Mar 19, 2020 at 11:53 PM subhra giri <<a href="mailto:subhraprakash79@gmail.com" target="_blank">subhraprakash79@gmail.com</a>> wrote:<br>
><br>
> Dear ovidiu<br>
> I am not able to fix the issue in makefile.<br>
> Please help me what i should update in makefile for cross-compiling readline for mips.<br>
> readline.h is located at<br>
> /home/subhra/SDK3.1.2/linux/embedded_rootfs/build/readline-5.1/readline.h<br>
><br>
> And libreadline*.so* are present at<br>
><br>
> /home/subhra/SDK3.1.2/linux/embedded_rootfs/build/readline-5.1/shlib/libreadline.so.5.1<br>
> /home/subhra/SDK3.1.2/linux/embedded_rootfs/build/readline-5.1/shlib/readline.so<br>
> Thanks and Regards<br>
> Subhra Prakash<br>
<br>
<br>
<br>
-- <br>
VoIP Embedded, Inc.<br>
<a href="http://www.voipembedded.com" rel="noreferrer" target="_blank">http://www.voipembedded.com</a><br>
</blockquote></div>