View unanswered posts | View active topics It is currently Tue Sep 17, 2019 6:31 am



Reply to topic  [ 3 posts ] 
[LINUX] 'make' Issue 
Author Message
New Member

Joined: Fri May 22, 2015 2:48 pm
Posts: 2
Reply with quote
Post [LINUX] 'make' Issue
After installing a hell lot of crap, when it's ready to 'make' (and I command my computer to do so), I get the following message:
Quote:
g++ -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__ -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -O3 -fomit-frame-pointer -s -fno-rtti -o tools/fileutil.o -c tools/fileutil.cpp
g++ -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__ -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -O3 -fomit-frame-pointer -s -fno-rtti -o tools/strutil.o -c tools/strutil.cpp
In file included from tools/strutil.cpp:22:0:
tools/strutil.h: In static member function ‘static int ci_char_traits::compare(const char*, const char*, size_t)’:
tools/strutil.h:34:96: error: ‘strncasecmp’ was not declared in this scope
static int compare(const char* s1, const char* s2, size_t n) { return strncasecmp( s1, s2, n ); }
^
make: *** [tools/strutil.o] Error 1
pedro@PTorres-VAiO-L:~/Downloads/zsnes_1_51/src$ make
g++ -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__ -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -march=native -O3 -fomit-frame-pointer -s -fno-rtti -o tools/strutil.o -c tools/strutil.cpp
In file included from tools/strutil.cpp:22:0:
tools/strutil.h: In static member function ‘static int ci_char_traits::compare(const char*, const char*, size_t)’:
tools/strutil.h:34:96: error: ‘strncasecmp’ was not declared in this scope
static int compare(const char* s1, const char* s2, size_t n) { return strncasecmp( s1, s2, n ); }
^
make: *** [tools/strutil.o] Error 1

I do have g++, I'm using Ubuntu 14.04 LTS, trying to install zsnes 1.51. I'm fairly newb to Linux so, please, be kind with me ;)


Fri May 22, 2015 2:59 pm
Profile
ZSNES Shake Shake Prinny
User avatar

Joined: Wed Jul 28, 2004 4:15 pm
Posts: 5615
Location: PAL50, dood !
Reply with quote
Post Re: [LINUX] 'make' Issue
Grab a precompiled package, old source has too many issues for a clean compile on modern machines.

_________________
皆黙って俺について来い!!
Code:
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)

Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54


Sun May 24, 2015 8:32 am
Profile
New Member

Joined: Fri May 22, 2015 2:48 pm
Posts: 2
Reply with quote
Post Re: [LINUX] 'make' Issue
Right, thanks, but where can I get one of these? I tried searching for it both here and on Google, but found nothing in here, and no trustable source on Google.


Thu May 28, 2015 1:07 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software.