Revision 8716 doesn't compile on Debian Sid 64 bits

Bug #1174683 reported by Samuel VISCAPI
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stratagus
Fix Released
Undecided
cybermind

Bug Description

Hi,

Revision 8716 doesn't compile on Debian Sid 64 bits:

Linking CXX executable metaserver
[ 4%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_attack.cpp.o
CMakeFiles/metaserver.dir/metaserver/cmd.cpp.o: In function `ParseUser(Session*, char*)':
cmd.cpp:(.text+0x104e): undefined reference to `EnableDebugPrint'
cmd.cpp:(.text+0x107c): undefined reference to `PrintOnStdOut(char const*, ...)'
cmd.cpp:(.text+0x10b0): undefined reference to `EnableDebugPrint'
cmd.cpp:(.text+0x10de): undefined reference to `PrintOnStdOut(char const*, ...)'
cmd.cpp:(.text+0x10fb): undefined reference to `EnableDebugPrint'
cmd.cpp:(.text+0x1129): undefined reference to `PrintOnStdOut(char const*, ...)'
CMakeFiles/metaserver.dir/metaserver/cmd.cpp.o: In function `ParseRegister(Session*, char*)':
cmd.cpp:(.text+0x127d): undefined reference to `EnableDebugPrint'
cmd.cpp:(.text+0x12ab): undefined reference to `PrintOnStdOut(char const*, ...)'
cmd.cpp:(.text+0x12c8): undefined reference to `EnableDebugPrint'
cmd.cpp:(.text+0x12f6): undefined reference to `PrintOnStdOut(char const*, ...)'
CMakeFiles/metaserver.dir/metaserver/cmd.cpp.o: In function `ParseCreateGame(Session*, char*)':
cmd.cpp:(.text+0x1493): undefined reference to `EnableDebugPrint'
cmd.cpp:(.text+0x14c7): undefined reference to `PrintOnStdOut(char const*, ...)'
CMakeFiles/metaserver.dir/metaserver/cmd.cpp.o: In function `ParseCancelGame(Session*, char*)':
cmd.cpp:(.text+0x1558): undefined reference to `EnableDebugPrint'
cmd.cpp:(.text+0x158c): undefined reference to `PrintOnStdOut(char const*, ...)'
CMakeFiles/metaserver.dir/metaserver/cmd.cpp.o: In function `ParseStartGame(Session*, char*)':
cmd.cpp:(.text+0x1613): undefined reference to `EnableDebugPrint'
cmd.cpp:(.text+0x1647): undefined reference to `PrintOnStdOut(char const*, ...)'
CMakeFiles/metaserver.dir/metaserver/cmd.cpp.o: In function `ParseJoinGame(Session*, char*)':
cmd.cpp:(.text+0x17bb): undefined reference to `EnableDebugPrint'
cmd.cpp:(.text+0x17fe): undefined reference to `PrintOnStdOut(char const*, ...)'
CMakeFiles/metaserver.dir/metaserver/cmd.cpp.o: In function `ParsePartGame(Session*, char*)':
cmd.cpp:(.text+0x18b0): undefined reference to `EnableDebugPrint'
cmd.cpp:(.text+0x18e4): undefined reference to `PrintOnStdOut(char const*, ...)'
CMakeFiles/metaserver.dir/metaserver/db.cpp.o: In function `DBMaxIDCallback(void*, int, char**, char**)':
db.cpp:(.text+0x1a): undefined reference to `EnableAssert'
db.cpp:(.text+0x3d): undefined reference to `AbortAt(char const*, int, char const*, char const*)'
CMakeFiles/metaserver.dir/metaserver/db.cpp.o: In function `DBFindUserCallback(void*, int, char**, char**)':
db.cpp:(.text+0x21f): undefined reference to `EnableAssert'
db.cpp:(.text+0x242): undefined reference to `AbortAt(char const*, int, char const*, char const*)'
CMakeFiles/metaserver.dir/metaserver/netdriver.cpp.o: In function `KillSession(Session*)':
netdriver.cpp:(.text+0x3f4): undefined reference to `EnableDebugPrint'
netdriver.cpp:(.text+0x428): undefined reference to `PrintOnStdOut(char const*, ...)'
CMakeFiles/metaserver.dir/metaserver/netdriver.cpp.o: In function `AcceptConnections()':
netdriver.cpp:(.text+0x63f): undefined reference to `EnableDebugPrint'
netdriver.cpp:(.text+0x673): undefined reference to `PrintOnStdOut(char const*, ...)'
CMakeFiles/metaserver.dir/metaserver/netdriver.cpp.o: In function `KickIdlers()':
netdriver.cpp:(.text+0x7c5): undefined reference to `EnableDebugPrint'
netdriver.cpp:(.text+0x7f9): undefined reference to `PrintOnStdOut(char const*, ...)'
CMakeFiles/metaserver.dir/src/network/net_lowlevel.cpp.o: In function `NetResolveHost(std::string const&)':
net_lowlevel.cpp:(.text+0xf9): undefined reference to `EnableAssert'
net_lowlevel.cpp:(.text+0x122): undefined reference to `AbortAt(char const*, int, char const*, char const*)'
CMakeFiles/metaserver.dir/src/network/net_lowlevel.cpp.o: In function `NetSocketAddr(int, unsigned long*, int)':
net_lowlevel.cpp:(.text+0x1c9): undefined reference to `EnableDebugPrint'
net_lowlevel.cpp:(.text+0x1f9): undefined reference to `PrintOnStdOut(char const*, ...)'
net_lowlevel.cpp:(.text+0x2a3): undefined reference to `EnableDebugPrint'
net_lowlevel.cpp:(.text+0x2dc): undefined reference to `PrintOnStdOut(char const*, ...)'
net_lowlevel.cpp:(.text+0x3a7): undefined reference to `EnableDebugPrint'
net_lowlevel.cpp:(.text+0x3e0): undefined reference to `PrintOnStdOut(char const*, ...)'
CMakeFiles/metaserver.dir/src/network/net_lowlevel.cpp.o: In function `SocketSet::HasDataToRead(int) const':
net_lowlevel.cpp:(.text+0xbde): undefined reference to `EnableDebugPrint'
net_lowlevel.cpp:(.text+0xc05): undefined reference to `PrintOnStdOut(char const*, ...)'
collect2: error: ld returned 1 exit status
make[2]: *** [metaserver] Error 1
make[1]: *** [CMakeFiles/metaserver.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

and...

[ 60%] Building CXX object CMakeFiles/stratagus.dir/src/network/network.cpp.o
/home/samuel/stratagus-bzr/stratagus/src/network/netconnect.cpp: In member function 'void CClient::SendRateLimited(const T&, long unsigned int, long unsigned int)':
/home/samuel/stratagus-bzr/stratagus/src/network/netconnect.cpp:312:2: error: 'ncconstatenames' was not declared in this scope
/home/samuel/stratagus-bzr/stratagus/src/network/netconnect.cpp:312:2: error: 'icmsgsubtypenames' was not declared in this scope
/home/samuel/stratagus-bzr/stratagus/src/network/netconnect.cpp: In member function 'void CClient::SendRateLimited(const T&, long unsigned int, long unsigned int) [with T = CInitMessage_Header]':
/home/samuel/stratagus-bzr/stratagus/src/network/netconnect.cpp:333:2: error: 'ncconstatenames' was not declared in this scope
/home/samuel/stratagus-bzr/stratagus/src/network/netconnect.cpp:333:2: error: 'icmsgsubtypenames' was not declared in this scope
/home/samuel/stratagus-bzr/stratagus/src/network/netconnect.cpp: In member function 'bool CClient::Parse(const unsigned char*, const CHost&)':
/home/samuel/stratagus-bzr/stratagus/src/network/netconnect.cpp:647:2: error: 'icmsgsubtypenames' was not declared in this scope
/home/samuel/stratagus-bzr/stratagus/src/network/netconnect.cpp:647:2: error: 'ncconstatenames' was not declared in this scope
make[2]: *** [CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/stratagus.dir/all] Error 2
make: *** [all] Error 2

Bye and thanks,

Sam

Related branches

Revision history for this message
cybermind (iddqd-mail) wrote :

Check it out now

Revision history for this message
Samuel VISCAPI (samuel-viscapi) wrote :

Compiles perfectly now, thanks :)

cybermind (iddqd-mail)
Changed in stratagus:
assignee: nobody → cybermind (iddqd-mail)
status: New → Fix Committed
cybermind (iddqd-mail)
Changed in stratagus:
status: Fix Committed → Fix Released
milestone: none → 2.3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.