Results 1 to 3 of 3

Thread: Compile Error.

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    10

    Compile Error.

    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.
    Nijhal

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    1,508
    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.

  3. #3
    Registered User
    Join Date
    Jan 2003
    Posts
    10

    Thumbs up

    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.
    Nijhal

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On