PDA

View Full Version : Error with make please help



nsjdvc
07-18-2006, 01:21 AM
Success!
Please run:
make
debian:~/showeq-5.5.0.0# make
make all-recursive
make[1]: Entering directory `/root/showeq-5.5.0.0'
Making all in src
make[2]: Entering directory `/root/showeq-5.5.0.0/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/qt3 -I/usr/X11R6/include -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT packetcapture.o -MD -MP -MF ".deps/packetcapture.Tpo" -c -o packetcapture.o packetcapture.cpp; \
then mv -f ".deps/packetcapture.Tpo" ".deps/packetcapture.Po"; else rm -f ".deps/packetcapture.Tpo"; exit 1; fi
packetcapture.cpp: In member function `void PacketCaptureThread::start(const
char*, const char*, bool, unsigned char)':
packetcapture.cpp:98: error: invalid conversion from `const char*' to `char*'
packetcapture.cpp: In member function `void
PacketCaptureThread::setFilter(const char*, const char*, bool, unsigned
char, short unsigned int, short unsigned int)':
packetcapture.cpp:431: error: invalid conversion from `const char*' to `char*'
make[2]: *** [packetcapture.o] Error 1
make[2]: Leaving directory `/root/showeq-5.5.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/showeq-5.5.0.0'
make: *** [all] Error 2
debian:~/showeq-5.5.0.0#

nsjdvc
07-18-2006, 01:24 AM
packetcapture.cpp:431: error: invalid conversion from `const char*' to `char*'

I think that is the problem. What does it mean?

tanner
07-18-2006, 01:45 AM
See my tag if you want to build it the "debian way"

purple
07-18-2006, 06:15 AM
What is up with all the Debian people showing up lately with bad compiles on pcap? Are they on stable which is on pcap from 5 years ago or something? Do I need to add an autoconf check for pcap version so this stops?