PDA

View Full Version : Compile Error



ponyboy
05-06-2004, 11:08 AM
I'm getting this error during the make. It's happened twice now after I do a make -f Makefile.dist then ./configure.

Here is the error hopefully someone knows what's creating this.

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3-gcc3.2/include -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/\" -c -o mapcore.o `test -f 'mapcore.cpp' || echo './'`mapcore.cpp
mapcore.cpp: In member function `void MapData::loadSOEMap(const QString&,
bool)':
mapcore.cpp:968: no matching function for call to `QString::remove(QRegExp&)'
/usr/lib/qt3-gcc3.2/include/qstring.h:500: candidates are: QString&
QString::remove(unsigned int, unsigned int)
/usr/lib/qt3-gcc3.2/include/qstring.h:607: `QString& QString::replace(const
QString&, const QString&)' is private
mapcore.cpp:1094: within this context
/usr/lib/qt3-gcc3.2/include/qstring.h: In member function `void
MapData::saveSOEMap(const QString&) const':
/usr/lib/qt3-gcc3.2/include/qstring.h:607: `QString& QString::replace(const
QString&, const QString&)' is private
mapcore.cpp:1361: within this context
make[3]: *** [mapcore.o] Error 1
make[3]: Leaving directory `/usr/local/showeq/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/showeq'
make: *** [all] Error 2

Dedpoet
05-06-2004, 01:02 PM
Have you had this running before, or is this your first time?

Looks to me like you may be missing a package or two. Did you install all of the packages listed in the install.NEWBIES file, specifically qt-devel? What distribution are you running? What version?

ponyboy
05-06-2004, 03:18 PM
Yes I've had this running before. In fact I've had the 5.0.6 Beta version running for awhile now, and it broke during the last patch (no skittles showing up), so I applied the quick fix that is found in the dev section to the everquest.h file and tried to re-compile. During that re-compile is when I got this error. I then downloaded the 5.0.7 version and tried to compile that one and got the same error. I don't see how it could be a problem with the packages since the version that gave the error in the first place was same version I had been running for awhile. BTW, I'm running Red Hat 8.0.

ponyboy
05-06-2004, 06:30 PM
Okay I re-installed the gcc3 rpms and re-installed QT and now I get this error during the compile.

g++3 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-3.2.3/include -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/\" -c -o bazaarlog.o `test -f 'bazaarlog.cpp' || echo './'`bazaarlog.cpp
bazaarlog.cpp: In member function `void BazaarLog::bazaarSearch(const uint8_t*,
unsigned int, unsigned char)':
bazaarlog.cpp:51: `isdigit' undeclared (first use this function)
bazaarlog.cpp:51: (Each undeclared identifier is reported only once for each
function it appears in.)
bazaarlog.cpp:60: warning: int format, time_t arg (arg 3)
bazaarlog.cpp:50: warning: `char*p' might be used uninitialized in this
function
make[3]: *** [bazaarlog.o] Error 1
make[3]: Leaving directory `/usr/local/showeq/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/showeq'
make: *** [all] Error 2


Not sure how I'm getting all these errors all of a sudden. Never had a problem before.

codepig666
05-06-2004, 07:18 PM
Chech the dev forum for the answer to the bazaarlog problem

some distros need an extra include in that file

#include <ctypes.h>

-piggy