Kompilierproblem von zsnes_1_51

jeudi 10 mars 2016

Hallo zusammen.
Vielleicht könnt ihr mir ja helfen, ich habe folgendes Problem:
Ich bin auf Tahrpup 6.0.5 64Bit umgestiegen und würde gerne Zsnes 1.51 32Bit installieren.
Da es nie eine 64Bit Portierung von zsnes gab, wollte ich es selbst kompilieren.
Die benötigten 32Bit Libs hab ich.
Also ./configure gestartet. Ausgabe:
Code:

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for nasm... nasm
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for zlib - version >= 1.2.3... yes
checking for libpng - version >= 1.2.0... yes
checking if you want the zsnes debugger... yes
checking for initscr in -lcurses... yes
checking for initscr in -lncurses... yes
checking for initscr in -lpdcurses... no
checking if you want libao support... no
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for glGetError in -lGL... yes
checking for OpenGL... yes
checking for JMA support... yes
checking for cpu info... found
checking if you want gdb friendly executable... no
checking which cpu architecture to optimize for... native
checking if you want crazy optimizations... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether sys/types.h defines makedev... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged


ZSNES v1.51

SDL support                  Version 1.2.15
NASM support                  NASM version 2.10.09 compiled on Dec 29 2013
zlib support                  Version 1.2.8
PNG support                  Yes, version 1.2.50
OpenGL support                Yes
JMA support                  Yes
ZSNES debugger                Enabled

The binary will be installed in /usr/local/bin

Configure complete, now type 'make' and pray.

Soweit so gut...
Als ich dann allerdings make benutzt habe kam folgende Felermeldung:
Code:

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

Irgendjemand eine Idee?


0 commentaires:

Enregistrer un commentaire

 

Lorem

Ipsum

Dolor