Closed ultraboby closed 8 years ago
can you please install lipcap-dev as well ?
libpcap-devel-1.5.3-8.el7.x86_64 already installed and latest version
can you do: grep -R DLT_LINUX_SLL /usr/include/
and show a result
/usr/include/pcap/sll.h: * handle DLT_LINUX_SLL captures will continue to handle them correctly /usr/include/pcap/sll.h: * A DLT_LINUX_SLL fake link-layer header. /usr/include/pcap/bpf.h: * sometimes it isn't.) We currently handle it as DLT_LINUX_SLL, /usr/include/pcap/bpf.h:#define DLT_LINUX_SLL 113
and in the source directory after configure can you do "grep HAVE_DLT_LINUX_SLL *.log"
On 16 March 2016 at 14:00, ultraboby notifications@github.com wrote:
/usr/include/pcap/sll.h: * handle DLT_LINUX_SLL captures will continue to handle them correctly /usr/include/pcap/sll.h: * A DLT_LINUX_SLL fake link-layer header. /usr/include/pcap/bpf.h: * sometimes it isn't.) We currently handle it as DLT_LINUX_SLL, /usr/include/pcap/bpf.h:#define DLT_LINUX_SLL 113
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/sipcapture/sipgrep/issues/26#issuecomment-197311109
sorry: grep HAVE_DLT_LINUX_SLL *.h
nothing ?!
as workaround, please add to config.h
no difference
weird ok, please add this as additional string to the config.h
the same error ..
you do something wrong, because this is only things that generate the error. if the parameters has been defined , the error should be disappeared.
you can put these parameters to the sipgrep.c and try again.
sorry but this not work in my server ..
I see this when start make command
sipparse.c: In function ‘set_hname’: sipparse.c:43:12: warning: comparison of distinct pointer types lacks a cast [enabled by default] for (; s < end; s++) {
The same problem on centos 6.7 fresh install ..
warning reproduced, standby for a patch but should not impact functionality
can you please try again ? get the last git
It's OK now.
Thank you!
There was the same error when collecting.
[root@kv-dkweb-02 sipgrep-master]# make
Making all in src
make[1]: Entering directory /home/toor/SRC/sipgrep-master/src' make all-am make[2]: Entering directory
/home/toor/SRC/sipgrep-master/src'
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT sipgrep.o -MD -MP -MF .deps/sipgrep.Tpo -c -o sipgrep.o sipgrep.c
mv -f .deps/sipgrep.Tpo .deps/sipgrep.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.c
mv -f .deps/log.Tpo .deps/log.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT ipreasm.o -MD -MP -MF .deps/ipreasm.Tpo -c -o ipreasm.o ipreasm.c
mv -f .deps/ipreasm.Tpo .deps/ipreasm.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT tcpreasm.o -MD -MP -MF .deps/tcpreasm.Tpo -c -o tcpreasm.o tcpreasm.c
mv -f .deps/tcpreasm.Tpo .deps/tcpreasm.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT sipparse.o -MD -MP -MF .deps/sipparse.Tpo -c -o sipparse.o sipparse.c
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT sipparse.o -MD -MP -MF .deps/sipparse.Tpo -c -o sipparse.o sipparse.c
sipparse.c: In function ‘set_hname’:
sipparse.c:43:12: warning: comparison of distinct pointer types lacks a cast [enabled by default]
for (; s < end; s++) {
^
mv -f .deps/sipparse.Tpo .deps/sipparse.Po
[root@kv-dkweb-02 sipgrep-master]# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)
sorry, I don't see any error, only warning... can you be a bit more specific ?
ask questions i will try to answer. I can send a protocol [root@kv-dkweb-02 sipgrep-master]# script make.txt
sorry, what are you trying to say ? I am very glad that you can do copy & paste, but if you couldnt explain , please dont spam... Thank you
I tell that there is an error when compiling the code. I can remove the protocol if it is not needed.
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT sipparse.o -MD -MP -MF .deps/sipparse.Tpo -c -o sipparse.o sipparse.c sipparse.c: In function ‘set_hname’: sipparse.c:43:12: warning: comparison of distinct pointer types lacks a cast [enabled by default] for (; s < end; s++) { ^
I dont see any error , can you be more specific ?
sory . I realized. confused quick completion
I start sipgrep with folowing command:
sipgrep -d any '^(INVITE|INFO)' -P 5060-5080
sipgrep: V2.2.0 CentOS Linux release 7.1.1503 libpcap-1.5.3-8.el7.x86_64