Jump to content
×
×
  • Create New...
  • 0

Server SRC compilation into FreeBSD 9.2 64 bits ?


tmoitoi

Question

Hi there !

I'm in hollidas right now and i've put my SRC into my Fbsd 9.2 server using 64 bits, and.. in my home that's a vm with 32 bits.

 

Can we compil with 64 bits ? because i've these error while i compile:

 

In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from TrafficProfiler.cpp:10:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from MarkManager.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from MarkImage.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from MarkConvert.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from block_country.cpp:10:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from OXEvent.cpp:9:
char.h:734: error: integer constant is too large for 'long' type
In file included from cipher.h:6,
                 from desc.h:7,
                 from OXEvent.cpp:12:
../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type
In file included from ani.cpp:11:
char.h:734: error: integer constant is too large for 'long' type
OXEvent.cpp:220:19: warning: null character(s) preserved in literal
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from ani.cpp:10:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from OXEvent.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from cipher.h:6,
                 from desc.h:7,
                 from arena.cpp:5:
../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from banword.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from BattleArena.cpp:6:
char.h:734: error: integer constant is too large for 'long' type
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from BattleArena.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from arena.cpp:9:
char.h:734: error: integer constant is too large for 'long' type
gmake: *** [OBJDIR/TrafficProfiler.o] Error 1
gmake: *** Waiting for unfinished jobs....
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from arena.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
gmake: *** [OBJDIR/MarkConvert.o] Error 1
In file included from building.cpp:8:
char.h:734: error: integer constant is too large for 'long' type
In file included from cipher.h:6,
                 from desc.h:7,
                 from building.cpp:12:
../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from buffer_manager.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
gmake: *** [OBJDIR/MarkImage.o] Error 1
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from building.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from cipher.h:6,
                 from desc.h:7,
                 from arena.cpp:5:
../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type
gmake: *** [OBJDIR/block_country.o] Error 1
gmake: *** [OBJDIR/MarkManager.o] Error 1
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from blend_item.cpp:10:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
In file included from cipher.h:6,
                 from desc.h:7,
                 from battle.cpp:4:
../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type
arena.cpp: In function 'long int ready_to_start_event(LPEVENT, long int)':
arena.cpp:327: warning: overflow in implicit constant conversion
arena.cpp:328: warning: overflow in implicit constant conversion
banword.cpp: In member function 'bool CBanwordManager::Initialize(TBanwordTable*, WORD)':
banword.cpp:24: warning: format '%zu' expects type 'size_t', but argument 4 has type 'size_t'
In file included from castle.cpp:21:
char.h:734: error: integer constant is too large for 'long' type
gmake: *** [OBJDIR/buffer_manager.o] Error 1
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from castle.cpp:12:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
gmake: *** [OBJDIR/banword.o] Error 1
In file included from battle.cpp:5:
char.h:734: error: integer constant is too large for 'long' type
In file included from debug_allocator.h:5,
                 from stdafx.h:7,
                 from battle.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter
gmake: *** [OBJDIR/ani.o] Error 1
gmake: *** [OBJDIR/blend_item.o] Error 1
gmake: *** [OBJDIR/arena.o] Error 1
In file included from cipher.h:6,
                 from desc.h:7,
                 from OXEvent.cpp:12:
../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type
OXEvent.cpp: In member function 'void COXEventManager::WarpToAudience()':
OXEvent.cpp:375: warning: overflow in implicit constant conversion
OXEvent.cpp:376: warning: overflow in implicit constant conversion
OXEvent.cpp:377: warning: overflow in implicit constant conversion
OXEvent.cpp:378: warning: overflow in implicit constant conversion
OXEvent.cpp:379: warning: overflow in implicit constant conversion
gmake: *** [OBJDIR/BattleArena.o] Error 1
In file included from cipher.h:6,
                 from desc.h:7,
                 from building.cpp:12:
../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type
gmake: *** [OBJDIR/OXEvent.o] Error 1
In file included from cipher.h:6,
                 from desc.h:7,
                 from battle.cpp:4:
../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type
gmake: *** [OBJDIR/castle.o] Error 1
gmake: *** [OBJDIR/building.o] Error 1
gmake: *** [OBJDIR/battle.o] Error 1

Any help will be much appreciated !

Thanks guys :)

 

 

 

Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

2 answers to this question

Recommended Posts

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


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.