<div dir="ltr">Hi <div>readline.h is located at </div><div>/home/subhra/SDK3.1.2/linux/embedded_rootfs/build/readline-5.1/readline.h<br></div><div>And libreadline*.so* are present at </div><div><br></div><div>/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></div><div><br></div><div>Please let me know what i should add in Makefile</div><div>Thanks and Regards</div><div>Subhra Prakash Giri</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 19, 2020 at 9:05 PM 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"><div><div dir="auto">That’s the wrong path because is the host’s path. You need to install readline for the target and provide that path to the Makefile.</div></div><div dir="auto"><br></div><div dir="auto">-ovidiu</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 19, 2020 at 11:05 subhra giri <<a href="mailto:subhraprakash79@gmail.com" target="_blank">subhraprakash79@gmail.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"><div dir="ltr">Hi Daniel<div>readline.h is located at </div><div>/usr/include/readline/readline.h<br></div><div><br></div><div>And libreadline*.so* are present at </div><div><br></div><div>/lib/x86_64-linux-gnu/libreadline.so.7<br>/lib/x86_64-linux-gnu/libreadline.so.7.0<br>/usr/lib/x86_64-linux-gnu/libreadline.so<br></div><div><br></div><div>Thanks and Regards</div><div>Subhra Prakash Giri</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 19, 2020 at 7:43 PM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.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">
  
    
  
  <div>
    <p>Hello,</p>
    <p>it seems that libreadline-dev is not installing any pkg-config
      file, so its path is not detected.</p>
    <p>Can you locate where readline.h and libreadline*.so* files are
      installed on your system? We can add the paths to the makefile of
      the kamcmd.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div>On 19.03.20 04:15, subhra giri wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div class="gmail_quote">
          <div>Dear Daniel</div>
          <div>I applied the latest Makefile that you have shared.</div>
          <div>Still i am getting following error.</div>
          <div>----------------------------------</div>
          install -m 755  ss7ops.so  /usr/local/lib64/kamailio/modules<br>
          LD
(/home/subhra/SDK3.1.2/tools-3.1.2_build_50/bin/mips64-octeon-linux-gnu-gcc)
          [U kamcmd] kamcmd<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 -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>
          collect2: error: ld returned 1 exit status<br>
          ../../src//Makefile.rules:191: recipe for target 'kamcmd'
          failed<br>
          make[3]: *** [kamcmd] Error 1<br>
          ERROR: make --no-print-directory -C ../../../utils/kamcmd
          install-if-newer failed<br>
          ../../Makefile.modules:138: recipe for target 'install-utils'
          failed<br>
          make[2]: *** [install-utils] Error 1<br>
          Makefile:511: recipe for target 'install-modules' failed<br>
          make[1]: *** [install-modules] Error 1<br>
          make[1]: Leaving directory
          '/home/subhra/Downloads/kamailio-5.3.3/src'<br>
          Makefile:43: recipe for target 'install' failed<br>
          make: *** [install] Error 2<br>
          <div>------------------------------------------------- </div>
        </div>
      </div>
    </blockquote>
    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a></pre>
  </div>

</blockquote></div>
_______________________________________________<br>
Kamailio (SER) - Development Mailing List<br>
<a href="mailto:sr-dev@lists.kamailio.org" target="_blank">sr-dev@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</blockquote></div></div>-- <br><div dir="ltr">VoIP Embedded, Inc.<br><a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a></div>
_______________________________________________<br>
Kamailio (SER) - Development Mailing List<br>
<a href="mailto:sr-dev@lists.kamailio.org" target="_blank">sr-dev@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</blockquote></div>