Also do not work on ubuntu. The strange thing is that it compiles and links with readline,
but aparently its not working.
```
henning@app01~/repositories/kamailio/utils/kamcmd$ make clean
henning@app01~/repositories/kamailio/utils/kamcmd$ make msg
readline detected via pkg-config
command completion enabled
henning@app01~/repositories/kamailio/utils/kamcmd$ make Q=0
config.mak included
gcc -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops
-ftree-vectorize -fno-strict-overflow -mtune=generic -pthread -DKSR_PTHREAD_MUTEX_SHARED
-Wall -DNAME='"kamcmd"' -DSRNAME='"kamailio"'
-DVERSION='"1.5"' -D__OS_linux
-DRUN_DIR='"/var/run/kamailio/"' -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600
-I/usr/include/readline -DMOD_NAME="utils/kamcmd" -c kamcmd.c -o kamcmd.o -MMD
-MP
gcc -g -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops
-ftree-vectorize -fno-strict-overflow -mtune=generic -pthread -DKSR_PTHREAD_MUTEX_SHARED
-Wall -DNAME='"kamcmd"' -DSRNAME='"kamailio"'
-DVERSION='"1.5"' -D__OS_linux
-DRUN_DIR='"/var/run/kamailio/"' -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600
-I/usr/include/readline -DMOD_NAME="utils/kamcmd" -c parse_listen_id.c -o
parse_listen_id.o -MMD -MP
gcc -g -m64 -Wl,-O2 -Wl,-E -pthread -rdynamic "-ldl" -Wl,-Bsymbolic-functions
kamcmd.o parse_listen_id.o -lresolv -lreadline -o kamcmd
henning@app01~/repositories/kamailio/utils/kamcmd$ ldd ./kamcmd
linux-vdso.so.1 (0x00007ffe653de000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6054483000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6054291000)
/lib64/ld-linux-x86-64.so.2 (0x00007f60544ca000)
henning@app01~/repositories/kamailio/utils/kamcmd$ ./kamcmd -s /tmp/kamailio_ctl
kamcmd 1.5
Copyright 2006 iptelorg GmbH
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
kamcmd> ^C
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3284#issuecomment-1350622379
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3284/1350622379(a)github.com>