logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
str* make errors (not atoi)

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support
View previous topic :: View next topic  
Author Message
onthefritz



Joined: 18 Jul 2009
Posts: 14

PostPosted: Sat Jul 18, 2009 19:42    Post subject: str* make errors (not atoi) Reply with quote

I am getting the following error when trying to run a make on the NWNX2 install...

Code:

g++  -mcpu=i386   -c -o NWNXBase.o NWNXBase.cpp
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
NWNXBase.cpp: In member function ‘void CNWNXBase::Log(int, const char*, ...)’:
NWNXBase.cpp:80: warning: format not a string literal and no format arguments
NWNXBase.cpp: In member function ‘int CNWNXBase::ParamLog(int, const char*, char*)’:
NWNXBase.cpp:90: error: ‘strlen’ was not declared in this scope
NWNXBase.cpp:91: error: ‘strcpy’ was not declared in this scope
make: *** [NWNXBase.o] Error 1


Can anyone help? I'm running Linux Mint 7. (Although I'm thinking about switching to CentOS, or another server distro)

Thanks,

OTF
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group