Jump to content
metin2dev
  • 0
Sign in to follow this  
tavi

open problem with compilere source - problem from vps

Question

Hello , i buy a host with vps but i can compile my source, this is my error:

 

../../../Extern/include/cryptopp/algparam.h: In constructor 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':
../../../Extern/include/cryptopp/filters.h:793:   instantiated from here
../../../Extern/include/cryptopp/algparam.h:26: warning: unused variable 'cryptopp_assert_26'
compile questlua_dragonsoul.cpp
../../../Extern/include/cryptopp/algparam.h: In member function 'void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]':
cipher.cpp:397:   instantiated from here
../../../Extern/include/cryptopp/algparam.h:322: warning: unused variable 'p'
compile shop_manager.cpp
group_text_parse_tree.h: In constructor 'CGroupTextParseTreeLoader::CGroupTextParseTreeLoader()':
group_text_parse_tree.h:93: warning: 'CGroupTextParseTreeLoader::m_dwcurLineIndex' will be initialized after
group_text_parse_tree.h:91: warning:   'CGroupNode* CGroupTextParseTreeLoader::m_pRootGroupNode'
group_text_parse_tree.cpp:5: warning:   when initialized here
compile shopEx.cpp
compile item_manager_read_tables.cpp
compile main.cpp
compile test.cpp
DragonSoul.cpp: In member function 'bool DSManager::ExtractDragonHeart(CHARACTER*, CItem*, CItem*)':
DragonSoul.cpp:350: warning: unused variable 'sum'
DragonSoul.cpp: In member function 'bool DSManager::PullOut(CHARACTER*, TItemPos, CItem*&, CItem*)':
DragonSoul.cpp:435: warning: unused variable 'dwVnum'
DragonSoul.cpp: In member function 'bool DSManager::DoRefineGrade(CHARACTER*, TItemPos (&)[15])':
DragonSoul.cpp:555: warning: unused variable 'prob_sum'
DragonSoul.cpp: In member function 'bool DSManager::DoRefineStep(CHARACTER*, TItemPos (&)[15])':
DragonSoul.cpp:763: warning: unused variable 'sum'
compile minilzo.c
item_manager_read_tables.cpp: In member function 'bool ITEM_MANAGER::ReadMonsterDropItemGroup(const char*)':
item_manager_read_tables.cpp:637: warning: unused variable 'pkGroup'
shop_manager.cpp: In member function 'bool CShopManager::CreateOfflineShop(CHARACTER*, const char*, std::vector<TShopItemTable*, std::allocator<TShopItemTable*> >, DWORD)':
shop_manager.cpp:199: warning: comparison between signed and unsigned integer expressions
shop_manager.cpp: In member function 'bool CShopManager::StartOfflineShop(DWORD, bool)':
shop_manager.cpp:254: warning: 'z' may be used uninitialized in this function
shop_manager.cpp:254: warning: 'y' may be used uninitialized in this function
shop_manager.cpp:254: warning: 'x' may be used uninitialized in this function
shop_manager.cpp:254: warning: 'map_index' may be used uninitialized in this function
shop_manager.cpp:253: warning: 'time' may be used uninitialized in this function
shop_manager.cpp:253: warning: 'pid' may be used uninitialized in this function
item_manager_read_tables.cpp:627: warning: 'pkGroup' may be used uninitialized in this function
../../../Extern/include/cryptopp/misc.h: At global scope:
../../../Extern/include/cryptopp/misc.h:548: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not used
linking ../test
linking ../game_r40250_32....
/usr/lib/libIL.a(il_png.o): In function `iIsValidPng':
il_png.c:(.text+0x143): undefined reference to `png_check_sig'
/usr/lib/libIL.a(il_png.o): In function `readpng_get_image':
il_png.c:(.text+0x5a3): undefined reference to `png_set_gray_1_2_4_to_8'
gmake: *** [../test] Error 1
gmake: *** Waiting for unfinished jobs....
/usr/lib/libIL.a(il_png.o): In function `iIsValidPng':
il_png.c:(.text+0x143): undefined reference to `png_check_sig'
/usr/lib/libIL.a(il_png.o): In function `readpng_get_image':
il_png.c:(.text+0x5a3): undefined reference to `png_set_gray_1_2_4_to_8'
gmake: *** [../game_r40250_32] Error 1

I has this source in my pc and work without problem on compile, but on vps don t work, i think i don t install something....

 

Db compile fine, but game not..

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I think you should pass through tar the extern you use in the local compiler machine -> on the vps and try again...
To compress extern in tar you can use the command tar -cf folder (space) file_name. tar

example :

cd /usr/home/

tar -cf game game.tar



to untar it in vps:

put it in cd /usr/home (for example)

cd /usr/home/
tar -xf game.tar

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×