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 ;)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
[LINUX] 'make' Issue
Moderator: ZSNES Mods
-
- New Member
- Posts: 2
- Joined: Fri May 22, 2015 2:48 pm
[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:
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
Re: [LINUX] 'make' Issue
Grab a precompiled package, old source has too many issues for a clean compile on modern machines.
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
-
- New Member
- Posts: 2
- Joined: Fri May 22, 2015 2:48 pm
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.