[root@localhost build-make]# rpm -i RCDCap-0.7.99-Linux.rpm
le fichier /usr/bin de l'installation de rcdcap-0.7.99-1.x86_64 entre en conflit avec le fichier du paquet filesystem-3.2-20.el7.x86_64
le fichier /usr/lib de l'installation de rcdcap-0.7.99-1.x86_64 entre en conflit avec le fichier du paquet filesystem-3.2-20.el7.x86_64
I have to add --replacefiles and it works.
Julien
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Congrats for you amazing tool.
But I have an error when I want to use PF_RING :
[ 80%] Building CXX object src/CMakeFiles/rcdcap.dir/rcdcap-main.cc.o
cd /tmp/build-make/src && /usr/bin/c++ -I/usr/local/include -I/tmp/build-make/include -I/tmp/RCDCap-0.7.99-Source/include -pedantic -Wall -Wno-long-long -std=c++0x -mcx16 -msse -msse2 -mssse3 -pthread -o CMakeFiles/rcdcap.dir/rcdcap-main.cc.o -c /tmp/RCDCap-0.7.99-Source/src/rcdcap-main.cc
/usr/bin/cmake -E cmake_progress_report /tmp/build-make/CMakeFiles 4
[ 86%] Building CXX object src/CMakeFiles/rcdcap.dir/pfring-source.cc.o
cd /tmp/build-make/src && /usr/bin/c++ -I/usr/local/include -I/tmp/build-make/include -I/tmp/RCDCap-0.7.99-Source/include -pedantic -Wall -Wno-long-long -std=c++0x -mcx16 -msse -msse2 -mssse3 -pthread -o CMakeFiles/rcdcap.dir/pfring-source.cc.o -c /tmp/RCDCap-0.7.99-Source/src/pfring-source.cc
/tmp/RCDCap-0.7.99-Source/src/pfring-source.cc: In constructor ‘RCDCap::PF_RINGDataSource::PF_RINGDataSource(boost::asio::io_service&, RCDCap::DataSource::termination_handler, size_t, bool)’:
/tmp/RCDCap-0.7.99-Source/src/pfring-source.cc:33:28: erreur: no matching function for call to ‘RCDCap::DataSource::DataSource(boost::asio::io_service&, RCDCap::DataSource::termination_handler&, size_t&, bool&)’
m_PacketsCaptured(0)
^
/tmp/RCDCap-0.7.99-Source/src/pfring-source.cc:33:28: note: candidate is:
In file included from /tmp/RCDCap-0.7.99-Source/include/rcdcap/pfring-source.hh:22:0,
from /tmp/RCDCap-0.7.99-Source/src/pfring-source.cc:18:
/tmp/RCDCap-0.7.99-Source/include/rcdcap/source.hh:87:14: note: RCDCap::DataSource::DataSource(boost::asio::io_service&, RCDCap::DataSource::termination_handler, size_t, bool, size_t, size_t)
explicit DataSource(boost::asio::io_service& io_service,
^
/tmp/RCDCap-0.7.99-Source/include/rcdcap/source.hh:87:14: note: candidate expects 6 arguments, 4 provided
/tmp/RCDCap-0.7.99-Source/src/pfring-source.cc: In member function ‘virtual void RCDCap::PF_RINGDataSource::start()’:
/tmp/RCDCap-0.7.99-Source/src/pfring-source.cc:77:47: erreur: no matching function for call to ‘RCDCap::Sink::notify(RCDCap::PacketInfo&)’
m_Sink->notify(packet_info);
^
/tmp/RCDCap-0.7.99-Source/src/pfring-source.cc:77:47: note: candidate is:
In file included from /tmp/RCDCap-0.7.99-Source/include/rcdcap/source.hh:22:0,
from /tmp/RCDCap-0.7.99-Source/include/rcdcap/pfring-source.hh:22,
from /tmp/RCDCap-0.7.99-Source/src/pfring-source.cc:18:
/tmp/RCDCap-0.7.99-Source/include/rcdcap/sink.hh:54:18: note: virtual void RCDCap::Sink::notify(RCDCap::PacketInfo, size_t)
virtual void notify(PacketInfo packet_info, size_t packets)=0;
^
/tmp/RCDCap-0.7.99-Source/include/rcdcap/sink.hh:54:18: note: candidate expects 2 arguments, 1 provided
/tmp/RCDCap-0.7.99-Source/src/pfring-source.cc: In member function ‘void RCDCap::PF_RINGDataSource::dispatch()’:
/tmp/RCDCap-0.7.99-Source/src/pfring-source.cc:200:43: erreur: no matching function for call to ‘RCDCap::Sink::notify(RCDCap::PacketInfo&)’
m_Sink->notify(packet_info);
^
/tmp/RCDCap-0.7.99-Source/src/pfring-source.cc:200:43: note: candidate is:
In file included from /tmp/RCDCap-0.7.99-Source/include/rcdcap/source.hh:22:0,
from /tmp/RCDCap-0.7.99-Source/include/rcdcap/pfring-source.hh:22,
from /tmp/RCDCap-0.7.99-Source/src/pfring-source.cc:18:
/tmp/RCDCap-0.7.99-Source/include/rcdcap/sink.hh:54:18: note: virtual void RCDCap::Sink::notify(RCDCap::PacketInfo, size_t)
virtual void notify(PacketInfo packet_info, size_t packets)=0;
^
/tmp/RCDCap-0.7.99-Source/include/rcdcap/sink.hh:54:18: note: candidate expects 2 arguments, 1 provided
make[2]: [src/CMakeFiles/rcdcap.dir/pfring-source.cc.o] Erreur 1
make[2] : on quitte le répertoire « /tmp/build-make »
make[1]: [src/CMakeFiles/rcdcap.dir/all] Erreur 2
make[1] : on quitte le répertoire « /tmp/build-make »
make: *** [all] Erreur 2
Do you have an idea ?
Thx in advance.
Regards,
Julien
Can you try the latest Mercurial commit. It should fix the compilation issue.
Hello,
Thx for your answer. It works :)
I have this error when I try to installing it.
I have to add --replacefiles and it works.
Julien
Hello Julien,
Were you able to solve the compilation problem by updating the mercurial package?
Thanks!!!
Coqueiro
It should work with the latest revision. I might make a new release in a few days with the latest fixes.
Perfect Zero! Thanks a lot
rcdcap install with success... best regards