PDA

View Full Version : Odd make error



domesticbeer
12-17-2001, 02:05 PM
Ok i am using Redhat Linux 7.2 upgraded from 7.1
QT 2.3.1

here is the error

c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-2.3.1/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/usr/local/share/showeq\" -I/usr/include/pcap -g -O2 -c main.cpp
In file included from interface.h:31,
from main.cpp:20:
packet.h:261: invalid type `const char[1]' for default argument to
`QString &'
packet.h:386: invalid type `const char[1]' for default argument to
`QString &'
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/root/showeq-2.5.3/linux/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/showeq-2.5.3/linux'
make: *** [all-recursive-am] Error 2


Any ideas??

fryfrog
12-17-2001, 09:57 PM
you sure you have good versions of pcap and such installed? seeing as it errored out on packet.h and the last line that appears to have worked mentioned pcap... my guess would be pcap or pcap-devel

make sure all the rpms you need are installed. i am pretty sure that most of the ones that come with rh 7.2 should do the trick. perhaps a lingering rh 7.1 rpm was not udpated?

domesticbeer
12-18-2001, 12:29 AM
blew away that whole box and reload
downloaded the cvs applied a patch and viola fixed