Jump to content

game compile error


Recommended Posts

hello

today i've install mainline on myserver

i've install all requirements

when i try to compile it say this

Spoiler

compile panama.cpp
compile DragonLair.cpp
compile threeway_war.cpp
compile BlueDragon.cpp
compile BlueDragon_Binder.cpp
compile auth_brazil.cpp
compile questlua_dragonlair.cpp
compile HackShield.cpp
g++: directory": No such file or directory
compile map_location.cpp
<command-line>: warning: missing terminating " character
version.cpp:10: error: missing terminating " character
version.cpp: In function 'void WriteVersion()':
version.cpp:10: error: expected primary-expression before ')' token
Makefile:127: recipe for target 'OBJDIR/version.o' failed
gmake: *** [OBJDIR/version.o] Error 1
gmake: *** Waiting for unfinished jobs....
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = std::string]':
../../../Extern/include/cryptopp/cryptlib.h:277:   instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = int]':
../../../Extern/include/cryptopp/cryptlib.h:283:   instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = std::string]':
../../../Extern/include/cryptopp/cryptlib.h:277:   instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = int]':
../../../Extern/include/cryptopp/cryptlib.h:283:   instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = std::string]':
../../../Extern/include/cryptopp/cryptlib.h:277:   instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = int]':
../../../Extern/include/cryptopp/cryptlib.h:283:   instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
root@mt2fear:/usr/src/mainline/Srcs/Server/game/src #
 

i need help :(

Link to comment
Share on other sites

    if (fp)
    {
        fprintf(fp, "40250\n");
        fprintf(fp, "%s@%s:%s\n", __USER__, __HOSTNAME__, __PWD__);

resloved

now i have this

linking ../game_r40250_....
/usr/bin/ld: cannot find -lcryptopp
Makefile:135: recipe for target '../game_r40250_' failed
gmake: *** [../game_r40250_] Error 1
 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.