Hi When i was cross compiling for Mips, 1) make ---- is success 2) make install ------ is giving below error ------------------------------------------------------------------------------ CC (/home/subhra/SDK3.1.2/tools-3.1.2_build_50/bin/mips64-octeon-linux-gnu-gcc) [U kamcmd] kamcmd.o kamcmd.c:47:31: fatal error: readline/readline.h: No such file or directory compilation terminated. ../../src//Makefile.rules:100: recipe for target 'kamcmd.o' failed make[2]: *** [kamcmd.o] Error 1 ------------------------------------------------------- I have installed readline-dev using apt-get install libreadline-dev
Please help me how to get rid of this error. Thanks and Regards Subhra Prakash Giri
Hello,
can you give the output of the command:
pkg-config --cflags readline
Cheers, Daniel
On 18.03.20 14:43, subhra giri wrote:
Hi When i was cross compiling for Mips,
- make ---- is success
- make install ------ is giving below error
CC (/home/subhra/SDK3.1.2/tools-3.1.2_build_50/bin/mips64-octeon-linux-gnu-gcc) [U kamcmd] kamcmd.o kamcmd.c:47:31: fatal error: readline/readline.h: No such file or directory compilation terminated. ../../src//Makefile.rules:100: recipe for target 'kamcmd.o' failed make[2]: *** [kamcmd.o] Error 1
I have installed readline-dev using apt-get install libreadline-dev
Please help me how to get rid of this error. Thanks and Regards Subhra Prakash Giri
Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Dear Daniel Output of the command is ------------------------------------------------- root@Giri:/home/subhra/Downloads/kamailio-5.3.3# pkg-config --cflags readline Package readline was not found in the pkg-config search path. Perhaps you should add the directory containing `readline.pc' to the PKG_CONFIG_PATH environment variable No package 'readline' found ----------------------------------- *Please let me know how to install readline in ubuntu-18.04. I tried to install in this way* ----------------------------------------------------------------- root@Giri:/home/subhra/Downloads/kamailio-5.3.3# apt install libreadline-dev Reading package lists... Done Building dependency tree Reading state information... Done libreadline-dev is already the newest version (7.0-3). 0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. --------------------------------------------------------------------------------- Thanks & Regards Subhra Prakash Giri
On Wed, Mar 18, 2020 at 7:29 PM Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
can you give the output of the command:
pkg-config --cflags readline
Cheers, Daniel On 18.03.20 14:43, subhra giri wrote:
Hi When i was cross compiling for Mips,
- make ---- is success
- make install ------ is giving below error
CC (/home/subhra/SDK3.1.2/tools-3.1.2_build_50/bin/mips64-octeon-linux-gnu-gcc) [U kamcmd] kamcmd.o kamcmd.c:47:31: fatal error: readline/readline.h: No such file or directory compilation terminated. ../../src//Makefile.rules:100: recipe for target 'kamcmd.o' failed make[2]: *** [kamcmd.o] Error 1
I have installed readline-dev using apt-get install libreadline-dev
Please help me how to get rid of this error. Thanks and Regards Subhra Prakash Giri
Kamailio (SER) - Development Mailing Listsr-dev@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda