PDA

View Full Version : unable to compile make: *** [Doors.o] Error 1


asprin
07-14-2008, 10:30 PM
Suse 10.3
gcc version 4.2.1 (SUSE Linux)
mysql Ver 14.12 Distrib 5.0.51a, for pc-linux-gnu (i686) using readline 5.2
I followed the directions up until here:
make
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -DDEBUG=1 -DCATCH_CRASH -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX `mysql_config --cflags` -c Doors.cpp -o Doors.o
In file included from ../zone/zonedump.h:31,
from Doors.h:2,
from Doors.cpp:12:
../zone/../common/Item.h:479: error: extra qualification

asprin
07-16-2008, 12:30 PM
So is there any thoughts on this issue?

Derision
07-16-2008, 03:31 PM
../zone/../common/Item.h:479: error: extra qualification

Is that the entire error message? Googling for 'extra qualification' indicates that newer versions of GCC are more picky regarding class qualification, e.g.

http://www.fourmilab.ch/fourmilog/archives/2006-05/000699.html

but all the examples I have seen of the 'extra qualification' error message show more detail, e.g (random example picked from Google):


hdimage.h:279: error: extra qualification 'sparse_image_t::' on member 'get_physical_offset'


If there is more detail in the error message you are getting, post it (still can't promise I can help you fix it though :) )

asprin
07-17-2008, 02:16 PM
Ok I am switching to ubuntu and will try it with that.
See if that works. most likely needs gcc3.
I am finding that gcc 4 = FAIL.
Makes compiling difficult to say least.