PDA

View Full Version : Compile Error.



Shade
02-19-2003, 01:00 PM
Please help. I dont know if this makes a difference but I forgot to "make distclean" before I "cvs -z3 update". Once I realized it, I did a "make distclean" then reupdated. Now, I am getting this compile error.

In file included from interface.h:32,
from main.cpp:22:
everquest.h:1585: parse error before `<<' token
everquest.h:1542: parse error before `==' token
everquest.h:1544: declaration of `unit8_t hpUpdateStruct::version'
everquest.h:1537: conflicts with previous declaration `uint8_t
hpUpdateStruct::version
everquest.h:1545: declaration of `int16_t hpUpdateStruct::haxHp'
everquest.h:1540: conflicts with previous declaration `int16_t
hpUpdateStruct::maxHp
everquest.h:1546: declaration of `int16_t hpUpdateStruct::curHp'
everquest.h:1539: conflicts with previous declaration `int16_t
hpUpdateStruct::curHp'
everquest.h:1547: declaration of `uint15_t hpUpdateStruct::spawnId'
everquest.h:1538: conflicts with previous declaration `uint16_t
hpUpdateStruct::spawnId'
everquest.h:1544: duplicate member `hpUpdateStruct::version'
everquest.h:1547: duplicate member `hpUpdateStruct::spawnId'
everquest.h:1546: duplicate member `hpUpdateStruct::curHp'
everquest.h:1545: duplicate member `hpUpdateStruct::maxHp'
everquest.h:1561: parse error before `>>' token
everquest.h:1562: missing ';' before right brace
make[2]: *** [main.o] Error 1
make[2]: Leaving Directory `/root/showeq/src'
make[1]: *** [all -recursive] Error 1
make[1]: Leaving Directory `/root/showeq'
make: *** [all -recursive-am] Error 2

This was all typed by hand, I am sorry that I dont know a super ammount about linux, so I dont know how to copy and past out of the Konsole. I did use search, but didnt come up with anything. I would not have taken the time to type all this out if I could have found the answer in search. Does anyone know what this means? Can anyone help?

Thank you for taking the time to read this.

Cryonic
02-19-2003, 01:01 PM
I would hazard a guess that the code you updated had been modified by you or someone else and therefore didn't match what the CVS update was looking for. Delete or move the offending files and reupdate.

Shade
02-19-2003, 01:14 PM
Cryonic,

Thank you that fixed it (as far as I can tell) it is compiling now, further than when I got the previous errors. Thanks for helping. :)