PDA

View Full Version : Make error with current CVS



lrow
02-16-2002, 01:06 AM
I messed with this a bit and searched and read posts here but couldn't find any errors except problems with getting this configured. I have no problems configuring it, just can't make it.

Here is the error I am receiving (note I am using gcc 3.0.1):

[root@local showeq]# make
make all-recursive
make[1]: Entering directory `/root/seq/showeq'
Making all in maps
make[2]: Entering directory `/root/seq/showeq/maps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/seq/showeq/maps'
Making all in src
make[2]: Entering directory `/root/seq/showeq/src'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-2.3.2/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/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 logger.cpp
logger.cpp: In member function `void SpawnLogger::logKilledSpawn(Spawn*, char*,
int)':
logger.cpp:1932: cannot convert `const char*' to `char*' in conversion
logger.cpp:1932: conversion of `spawn->Spawn::rawName()' from `const QString'
to `char*' is ambiguous
logger.cpp: In member function `void SpawnLogger::logDeleteSpawn(Spawn*)':
logger.cpp:1941: cannot convert `const char*' to `char*' in conversion
logger.cpp:1941: conversion of `spawn->Spawn::rawName()' from `const QString'
to `char*' is ambiguous
make[2]: *** [logger.o] Error 1
make[2]: Leaving directory `/root/seq/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/seq/showeq'
make: *** [all-recursive-am] Error 2
[root@local showeq]#

high_jeeves
02-16-2002, 09:12 AM
did you do a make -f Makefile.dist before you configured?

--Jeeves

lrow
02-16-2002, 09:19 PM
Yes. There is not 'configure' until you run 'make -f Makefile.dist'.

It looks like some kind of casting error with the QtString data type? I'm using QT-2.3.2.

high_jeeves
02-16-2002, 10:29 PM
Was just making sure this wasnt after an update :).

I assume all the basics, like QT was compiled with the correct flags (-thread), and QT was built with gcc3? By looking at your error, neither of these would probably cause it, but just making sure.

What day is your checkout from? Have you tried updating to the newest version.

Not sure on this specific error, maybe Yendor can help more since he is the specific developer of this peice. Sorry I cant be more help, good luck.

lrow
02-17-2002, 09:45 PM
Yeah, checked out whatever was in CVS on the 15th. Is weird since I never had any problems building previous versions. I mean been using SEQ for about a year now.

Cryonic
02-17-2002, 09:57 PM
OK, you said you've been using SEQ for over a year now, so you're not a complete newb at this.

Requirements
QT-2.3.2 compiled with gcc3/g++3 and -thread option

SEQ configured with gcc3/g++3.

based on you saying you have gcc 3.0.1 I'm assuming a mandrake install.

Check the mandrake install guide and see if you missed a step prior to building SEQ.