Buna ziua J4M
am si eu o problema la compilare sursa pentru CHest Veiw Drop
aici o-sa arat ce imi arata cand compilez sursa.
root@localhost:/usr/src/gazer/Srcs/Server/game/src # gmake -j20
Makefile:127: warning: overriding recipe for target `OBJDIR/minilzo.o'
Makefile:123: warning: ignoring old recipe for target `OBJDIR/minilzo.o'
gmake: Warning: File `Makefile' has modification time 28926 s in the future
[OK] Compiling: BattleArena.cpp
[OK] Compiling: FSM.cpp
[OK] Compiling: MarkConvert.cpp
[OK] Compiling: MarkImage.cpp
[OK] Compiling: MarkManager.cpp
[OK] Compiling: OXEvent.cpp
[OK] Compiling: TrafficProfiler.cpp
[OK] Compiling: ani.cpp
[OK] Compiling: arena.cpp
[OK] Compiling: banword.cpp
[OK] Compiling: battle.cpp
In file included from packet_info.h:4,
from input.h:4,
from desc.h:5,
from OXEvent.cpp:12:
packet.h

error: conflicting declaration 'HEADER_CG_CHEST_DROP_INFO'
packet.h

error: 'HEADER_CG_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_CG_CHEST_DROP_INFO'
packet.h

error: conflicting declaration 'HEADER_GC_CHEST_DROP_INFO'
packet.h

error: 'HEADER_GC_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_GC_CHEST_DROP_INFO'
packet.h

error: redefinition of 'struct SPacketCGChestDropInfo'
packet.h

error: previous definition of 'struct SPacketCGChestDropInfo'
packet.h

error: invalid type in declaration before ';' token
packet.h

error: conflicting declaration 'typedef int TPacketCGChestDropInf o'
packet.h

error: 'TPacketCGChestDropInfo' has a previous declaration as 'ty pedef struct SPacketCGChestDropInfo TPacketCGChestDropInfo'
packet.h

error: redefinition of 'struct SChestDropInfoTable'
packet.h

error: previous definition of 'struct SChestDropInfoTable'
packet.h

error: invalid type in declaration before ';' token
packet.h

error: conflicting declaration 'typedef int TChestDropInfoTable'
packet.h

error: 'TChestDropInfoTable' has a previous declaration as 'typed ef struct SChestDropInfoTable TChestDropInfoTable'
packet.h

error: redefinition of 'struct SPacketGCChestDropInfo'
packet.h

error: previous definition of 'struct SPacketGCChestDropInfo'
packet.h

error: invalid type in declaration before ';' token
packet.h

error: conflicting declaration 'typedef int TPacketGCChestDropInf o'
packet.h

error: 'TPacketGCChestDropInfo' has a previous declaration as 'ty pedef struct SPacketGCChestDropInfo TPacketGCChestDropInfo'
[OK] Compiling: blend_item.cpp
In file included from packet_info.h:4,
from input.h:4,
from desc.h:5,
from arena.cpp:5:
packet.h

error: conflicting declaration 'HEADER_CG_CHEST_DROP_INFO'
packet.h

error: 'HEADER_CG_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_CG_CHEST_DROP_INFO'
packet.h

error: conflicting declaration 'HEADER_GC_CHEST_DROP_INFO'
packet.h

error: 'HEADER_GC_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_GC_CHEST_DROP_INFO'
packet.h

error: redefinition of 'struct SPacketCGChestDropInfo'
packet.h

error: previous definition of 'struct SPacketCGChestDropInfo'
packet.h

error: invalid type in declaration before ';' token
packet.h

error: conflicting declaration 'typedef int TPacketCGChestDropInf o'
packet.h

error: 'TPacketCGChestDropInfo' has a previous declaration as 'ty pedef struct SPacketCGChestDropInfo TPacketCGChestDropInfo'
packet.h

error: redefinition of 'struct SChestDropInfoTable'
packet.h

error: previous definition of 'struct SChestDropInfoTable'
packet.h

error: invalid type in declaration before ';' token
packet.h

error: conflicting declaration 'typedef int TChestDropInfoTable'
packet.h

error: 'TChestDropInfoTable' has a previous declaration as 'typed ef struct SChestDropInfoTable TChestDropInfoTable'
packet.h

error: redefinition of 'struct SPacketGCChestDropInfo'
packet.h

error: previous definition of 'struct SPacketGCChestDropInfo'
packet.h

error: invalid type in declaration before ';' token
packet.h

error: conflicting declaration 'typedef int TPacketGCChestDropInf o'
packet.h

error: 'TPacketGCChestDropInfo' has a previous declaration as 'ty pedef struct SPacketGCChestDropInfo TPacketGCChestDropInfo'
gmake: *** [OBJDIR/OXEvent.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [OBJDIR/arena.o] Error 1
In file included from item_manager.h:9,
from battle.cpp:9:
packet.h

error: conflicting declaration 'HEADER_CG_CHEST_DROP_INFO'
packet.h

error: 'HEADER_CG_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_CG_CHEST_DROP_INFO'
packet.h

error: conflicting declaration 'HEADER_GC_CHEST_DROP_INFO'
packet.h

error: 'HEADER_GC_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_GC_CHEST_DROP_INFO'
packet.h

error: redefinition of 'struct SPacketCGChestDropInfo'
packet.h

error: previous definition of 'struct SPacketCGChestDropInfo'
packet.h

error: invalid type in declaration before ';' token
packet.h

error: conflicting declaration 'typedef int TPacketCGChestDropInf o'
packet.h

error: 'TPacketCGChestDropInfo' has a previous declaration as 'ty pedef struct SPacketCGChestDropInfo TPacketCGChestDropInfo'
packet.h

error: redefinition of 'struct SChestDropInfoTable'
packet.h

error: previous definition of 'struct SChestDropInfoTable'
packet.h

error: invalid type in declaration before ';' token
packet.h

error: conflicting declaration 'typedef int TChestDropInfoTable'
packet.h

error: 'TChestDropInfoTable' has a previous declaration as 'typed ef struct SChestDropInfoTable TChestDropInfoTable'
packet.h

error: redefinition of 'struct SPacketGCChestDropInfo'
packet.h

error: previous definition of 'struct SPacketGCChestDropInfo'
packet.h

error: invalid type in declaration before ';' token
packet.h

error: conflicting declaration 'typedef int TPacketGCChestDropInf o'
packet.h

error: 'TPacketGCChestDropInfo' has a previous declaration as 'ty pedef struct SPacketGCChestDropInfo TPacketGCChestDropInfo'
In file included from battle.cpp:12:
packet.h

error: conflicting declaration 'HEADER_CG_CHEST_DROP_INFO'
packet.h

error: 'HEADER_CG_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_CG_CHEST_DROP_INFO'
packet.h

error: conflicting declaration 'HEADER_GC_CHEST_DROP_INFO'
packet.h

error: 'HEADER_GC_CHEST_DROP_INFO' has a previous declaration as '<anonymous enum> HEADER_GC_CHEST_DROP_INFO'
packet.h

error: redefinition of 'struct SPacketCGChestDropInfo'
packet.h

error: previous definition of 'struct SPacketCGChestDropInfo'
packet.h

error: invalid type in declaration before ';' token
packet.h

error: conflicting declaration 'typedef int TPacketCGChestDropInf o'
packet.h

error: 'TPacketCGChestDropInfo' has a previous declaration as 'ty pedef struct SPacketCGChestDropInfo TPacketCGChestDropInfo'
packet.h

error: redefinition of 'struct SChestDropInfoTable'
packet.h

error: previous definition of 'struct SChestDropInfoTable'
packet.h

error: invalid type in declaration before ';' token
packet.h

error: conflicting declaration 'typedef int TChestDropInfoTable'
packet.h

error: 'TChestDropInfoTable' has a previous declaration as 'typed ef struct SChestDropInfoTable TChestDropInfoTable'
packet.h

error: redefinition of 'struct SPacketGCChestDropInfo'
packet.h

error: previous definition of 'struct SPacketGCChestDropInfo'
packet.h

error: invalid type in declaration before ';' token
packet.h

error: conflicting declaration 'typedef int TPacketGCChestDropInf o'
packet.h

error: 'TPacketGCChestDropInfo' has a previous declaration as 'ty pedef struct SPacketGCChestDropInfo TPacketGCChestDropInfo'
gmake: *** [OBJDIR/battle.o] Error 1