instalação de emulador zsnes [RESOLVIDO]

1. instalação de emulador zsnes [RESOLVIDO]

Hugo Leonardo Leite Lima
hugohlll

(usa Ubuntu)

Enviado em 01/01/2009 - 12:40h

olá, gostaria de saber como proceder para concluir a instalação do zsnes pois no terminal após aparece o seguinte:
hugo@hugo-laptop:~/zsnes_1_51/src$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -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... no
configure: error: You need NASM installed to compile ZSNES
hugo@hugo-laptop:~/zsnes_1_51/src$ make
make: *** Nenhum alvo indicado e nenhum arquivo make encontrado. Pare.
hugo@hugo-laptop:~/zsnes_1_51/src$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -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... no
checking for SDL - version >= 1.2.0... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: SDL >= 1.2.0 is required
hugo@hugo-laptop:~/zsnes_1_51/src$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -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


ZSNES v1.51

SDL support Version 1.2.12
NASM support NASM version 2.03.01 compiled on Jun 19 2008
zlib support Version 1.2.3.3
PNG support Yes, version 1.2.27
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.

hugo@hugo-laptop:~/zsnes_1_51/src$ make
g++ -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -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/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -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:
tools/strutil.h: In static member function ‘static int ci_char_traits::compare(const char*, const char*, size_t)’:
tools/strutil.h:34: error: ‘strncasecmp’ was not declared in this scope
make: ** [tools/strutil.o] Erro 1



  


2. Re: instalação de emulador zsnes [RESOLVIDO]

Marcelo A. B. Slomp
mslomp

(usa Slackware)

Enviado em 01/01/2009 - 13:39h

você provavelmente está usando o gcc da série 4.3, e a partir desse branch algumas coisas mudaram nas dependências dos cabeçalhos na libstdc++. sendo assim, códigos mais antigos que não sigam esse padrão podem apresentar problemas do gênero.
por coincidência eu mesmo já compilei o zsnes e, por experiência própria, você precisará fazer uma intervenção manual no código.

edite tools/strutil.h e adicione a header cstring:
#include <cstring>

mais adiante um ou mais arquivos fonte (que não lembro quais, claro), apresentarão erros semelhantes, e basta fazer a mesma coisa para cada um.
outro problema que você precisará corrigir manualmente será mudar os tipos de argc em algumas funções main - de size_t para int. o gcc vai te avisar onde, aí basta editar e modificar. isso também é fator da série 4.3. o gcc fechou o cerco quanto às exigências para a função main.

boa sorte e qualquer coisa poste.


3. instalar

wagner oliveira machado
waolma

(usa Mandriva)

Enviado em 01/01/2009 - 13:48h

A melhor idéia seria pegar o programa já compilado no site rpmfind.net para versão RPM.


4. Re: instalação de emulador zsnes [RESOLVIDO]

Hugo Leonardo Leite Lima
hugohlll

(usa Ubuntu)

Enviado em 02/01/2009 - 12:35h

ok, vou tentar manualmente e conforme as dúvidas forem surgindo eu postarei

vlw!


5. Re: instalação de emulador zsnes [RESOLVIDO]

Hugo Leonardo Leite Lima
hugohlll

(usa Ubuntu)

Enviado em 03/01/2009 - 13:19h

ok, desculpe a minha ignorância no assunto, pois sou usuário a pouco tempo, mas após incluir a header <cstring> aparece isso:

hugo@hugo-laptop:~/zsnes_1_51/src$ make
g++ -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -march=native -O3 -fomit-frame-pointer -s -fno-rtti -o tools/strutil.o -c tools/strutil.cpp
g++ -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -march=native -O3 -fomit-frame-pointer -s -fno-rtti -o tools/depbuild tools/depbuild.cpp tools/fileutil.o tools/strutil.o
tools/depbuild.cpp: In function ‘void dependency_calculate_asm(const char*)’:
tools/depbuild.cpp:133: error: ‘system’ was not declared in this scope
tools/depbuild.cpp: At global scope:
tools/depbuild.cpp:186: error: first argument of ‘int main(size_t, const char* const*)’ should be ‘int’
make: ** [tools/depbuild] Erro 1


e agora?



6. Re: instalação de emulador zsnes [RESOLVIDO]

Marcelo A. B. Slomp
mslomp

(usa Slackware)

Enviado em 03/01/2009 - 14:16h

edite tools/depbuild.cpp e vamos por partes:
tools/depbuild.cpp:133: error: ‘system’ was not declared in this scope
para resolver isso inclua lá no começo a header stdlib:

#include <cstdlib>
ou, se não resolver:
#include <stdlib.h>

tools/depbuild.cpp: At global scope:
tools/depbuild.cpp:186: error: first argument of ‘int main(size_t, const char* const*)’ should be ‘int’
e para resolver isso, vá até a linha 186 e troque:
size_t argc
por
int argc


7. Re: instalação de emulador zsnes [RESOLVIDO]

Hugo Leonardo Leite Lima
hugohlll

(usa Ubuntu)

Enviado em 03/01/2009 - 16:13h

após adicionar a header #include <cstdlib> e trocar size_t argc por int argc:


hugo@hugo-laptop:~/zsnes_1_51/src$ make
g++ -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -march=native -O3 -fomit-frame-pointer -s -fno-rtti -o tools/depbuild tools/depbuild.cpp tools/fileutil.o tools/strutil.o
tools/depbuild.cpp: In function ‘void dependency_calculate_asm(const char*)’:
tools/depbuild.cpp:134: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
tools/depbuild gcc " -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -march=native -O3 -fomit-frame-pointer -s" nasm " -w-orphan-labels -D__UNIXSDL__ -f elf -DELF -D__OPENGL__ -O1" cfg.o endmem.o init.o initc.o input.o md.o patch.o ui.o vcache.o version.o zloader.o zmovie.o zpath.o zstate.o ztime.o ztimec.o chips/c4emu.o chips/c4proc.o chips/dsp1emu.o chips/dsp1proc.o chips/dsp2proc.o chips/dsp3emu.o chips/dsp3proc.o chips/dsp4emu.o chips/dsp4proc.o chips/fxemu2.o chips/fxemu2b.o chips/fxemu2c.o chips/fxtable.o chips/obc1emu.o chips/obc1proc.o chips/sa1proc.o chips/sa1regs.o chips/sdd1emu.o chips/seta10.o chips/sfxproc.o chips/st10proc.o chips/7110proc.o chips/seta11.o chips/st11proc.o cpu/dma.o cpu/dsp.o cpu/dspproc.o cpu/execute.o cpu/executec.o cpu/irq.o cpu/memory.o cpu/memtable.o cpu/spc700.o cpu/stable.o cpu/table.o cpu/tablec.o debugasm.o debugger.o gui/gui.o gui/guifuncs.o gui/menu.o effects/burn.o effects/smoke.o effects/water.o jma/7zlzma.o jma/crc32.o jma/iiostrm.o jma/inbyte.o jma/jma.o jma/lzma.o jma/lzmadec.o jma/winout.o jma/zsnesjma.o mmlib/mm.o mmlib/linux.o video/makev16b.o video/makev16t.o video/makevid.o video/mode716.o video/mode716b.o video/mode716d.o video/mode716e.o video/mode716t.o video/mode7.o video/mode7ext.o video/mv16tms.o video/m716text.o video/newg162.o video/newgfx.o video/newgfx16.o video/newgfx2.o video/procvid.o video/procvidc.o video/sw_draw.o video/2xsaiw.o video/hq2x16.o video/hq2x32.o video/hq3x16.o video/hq3x32.o video/hq4x16.o video/hq4x32.o video/ntsc.o video/copyvwin.o linux/audio.o linux/battery.o linux/sdlintrf.o linux/sdllink.o linux/gl_draw.o linux/sw_draw.o linux/safelib.o zip/unzip.o zip/zpng.o > makefile.dep
g++ -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -march=native -O3 -fomit-frame-pointer -s -fno-rtti -o parsegen parsegen.cpp -lz
parsegen.cpp: In function ‘char* get_token(char*, const char*)’:
parsegen.cpp:131: error: ‘strchr’ was not declared in this scope
parsegen.cpp:140: error: ‘strchr’ was not declared in this scope
parsegen.cpp: In function ‘variable::ctype variable::GetCType(const char*)’:
parsegen.cpp:425: error: ‘strcmp’ was not declared in this scope
parsegen.cpp: In function ‘const char* convert_asm_type(const char*, bool)’:
parsegen.cpp:615: error: ‘strcasecmp’ was not declared in this scope
parsegen.cpp:644: error: ‘strlen’ was not declared in this scope
parsegen.cpp:644: error: ‘strncmp’ was not declared in this scope
parsegen.cpp: In function ‘void handle_directive(const char*, const char*)’:
parsegen.cpp:1369: error: ‘strcasecmp’ was not declared in this scope
parsegen.cpp: In function ‘char* get_comment(char)’:
parsegen.cpp:1500: error: ‘strlen’ was not declared in this scope
parsegen.cpp: In function ‘void output_header_conditional(std::ostream&, const char*, const char*)’:
parsegen.cpp:1519: error: ‘strcasecmp’ was not declared in this scope
parsegen.cpp: In function ‘void parser_generate(std::istream&, std::ostream&, std::ostream&, const std::string&)’:
parsegen.cpp:1552: error: ‘strlen’ was not declared in this scope
parsegen.cpp:1577: error: ‘strcasecmp’ was not declared in this scope
parsegen.cpp:1584: error: ‘strncasecmp’ was not declared in this scope
parsegen.cpp:1595: error: ‘strchr’ was not declared in this scope
parsegen.cpp:1667: error: ‘strncmp’ was not declared in this scope
parsegen.cpp:1675: error: ‘strcmp’ was not declared in this scope
parsegen.cpp: At global scope:
parsegen.cpp:1825: error: first argument of ‘int main(size_t, const char* const*)’ should be ‘int’
parsegen.cpp: In function ‘int main(size_t, const char* const*)’:
parsegen.cpp:1833: error: ‘strncmp’ was not declared in this scope
parsegen.cpp:1837: error: ‘strcmp’ was not declared in this scope
parsegen.cpp:1954: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
make: ** [parsegen] Erro 1





8. Re: instalação de emulador zsnes [RESOLVIDO]

Marcelo A. B. Slomp
mslomp

(usa Slackware)

Enviado em 03/01/2009 - 16:19h

"... mais adiante um ou mais arquivos fonte (que não lembro quais, claro), apresentarão erros semelhantes, e basta fazer a mesma coisa para cada um..."

aquele arquivo passou, agora o problema está em parsegen.cpp

edite-o e adicione o
#include <cstring>

ah, e observe que na linha 1825 você também precisará mudar size_t por int


9. Re: instalação de emulador zsnes [RESOLVIDO]

Hugo Leonardo Leite Lima
hugohlll

(usa Ubuntu)

Enviado em 03/01/2009 - 16:46h

parece que está instalado, mas quando clico em aplicativos-->jogos-->zsnes, ou quando executo pelo terminal não acontece nada...


hugo@hugo-laptop:~/zsnes_1_51/src$ make
gcc -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -march=native -O3 -fomit-frame-pointer -s -o version.o -c version.c
g++ -o zsnes cfg.o endmem.o init.o initc.o input.o md.o patch.o ui.o vcache.o version.o zloader.o zmovie.o zpath.o zstate.o ztime.o ztimec.o chips/c4emu.o chips/c4proc.o chips/dsp1emu.o chips/dsp1proc.o chips/dsp2proc.o chips/dsp3emu.o chips/dsp3proc.o chips/dsp4emu.o chips/dsp4proc.o chips/fxemu2.o chips/fxemu2b.o chips/fxemu2c.o chips/fxtable.o chips/obc1emu.o chips/obc1proc.o chips/sa1proc.o chips/sa1regs.o chips/sdd1emu.o chips/seta10.o chips/sfxproc.o chips/st10proc.o chips/7110proc.o chips/seta11.o chips/st11proc.o cpu/dma.o cpu/dsp.o cpu/dspproc.o cpu/execute.o cpu/executec.o cpu/irq.o cpu/memory.o cpu/memtable.o cpu/spc700.o cpu/stable.o cpu/table.o cpu/tablec.o debugasm.o debugger.o gui/gui.o gui/guifuncs.o gui/menu.o effects/burn.o effects/smoke.o effects/water.o jma/7zlzma.o jma/crc32.o jma/iiostrm.o jma/inbyte.o jma/jma.o jma/lzma.o jma/lzmadec.o jma/winout.o jma/zsnesjma.o mmlib/mm.o mmlib/linux.o video/makev16b.o video/makev16t.o video/makevid.o video/mode716.o video/mode716b.o video/mode716d.o video/mode716e.o video/mode716t.o video/mode7.o video/mode7ext.o video/mv16tms.o video/m716text.o video/newg162.o video/newgfx.o video/newgfx16.o video/newgfx2.o video/procvid.o video/procvidc.o video/sw_draw.o video/2xsaiw.o video/hq2x16.o video/hq2x32.o video/hq3x16.o video/hq3x32.o video/hq4x16.o video/hq4x32.o video/ntsc.o video/copyvwin.o linux/audio.o linux/battery.o linux/sdlintrf.o linux/sdllink.o linux/gl_draw.o linux/sw_draw.o linux/safelib.o zip/unzip.o zip/zpng.o -pipe -I. -I/usr/local/include -I/usr/include -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -march=native -O3 -fomit-frame-pointer -s -fno-rtti -L/usr/local/lib -L/usr/lib -lz -L/usr/lib -lSDL -lpng -lm -lcurses -lGL
rm -f version.o
hugo@hugo-laptop:~/zsnes_1_51/src$ sudo make install
[sudo] password for hugo:
/usr/bin/install -c -d -m 0755 //usr/local/bin
/usr/bin/install -c -m 0755 zsnes //usr/local/bin
/usr/bin/install -c -d -m 0755 //usr/local/man/man1
/usr/bin/install -c -m 0644 linux/zsnes.1 //usr/local/man/man1
hugo@hugo-laptop:~/zsnes_1_51/src$ sudo ./zsnes
ZSNES v1.51, (c) 1997-2007, ZSNES Team
Be sure to check http://www.zsnes.com/ for the latest version.

ZSNES is written by the ZSNES Team (See AUTHORS.TXT)
ZSNES comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions;
please read 'LICENSE.TXT' thoroughly before doing so.

Use ZSNES -? for command line definitions.

This is a work in progress build. It contains code which
May or may not be complete

If this is supposed to be an official release, you forgot to
run configure with --enable-release, go rebuild.

Starting Mouse detection.
ManyMouse: 3 mice detected.
Using ManyMouse for:
Mouse 0: ImPS/2 Logitech Wheel Mouse
Mouse 1: USB Mouse
*** buffer overflow detected ***: ./zsnes terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7c2e558]
/lib/tls/i686/cmov/libc.so.6[0xb7c2c680]
./zsnes[0x8058322]
======= Memory map: ========
08048000-0833b000 r-xp 00000000 08:09 941013 /home/hugo/zsnes_1_51/src/zsnes
0833b000-0833c000 r--p 002f2000 08:09 941013 /home/hugo/zsnes_1_51/src/zsnes
0833c000-0837b000 rw-p 002f3000 08:09 941013 /home/hugo/zsnes_1_51/src/zsnes
0837b000-0892f000 rw-p 0837b000 00:00 0
09bed000-09c32000 rw-p 09bed000 00:00 0 [heap]
b6d1c000-b784b000 rw-p b6d1c000 00:00 0
b784b000-b7855000 r-xp 00000000 08:07 914953 /lib/tls/i686/cmov/libnss_files-2.8.90.so
b7855000-b7856000 r--p 00009000 08:07 914953 /lib/tls/i686/cmov/libnss_files-2.8.90.so
b7856000-b7857000 rw-p 0000a000 08:07 914953 /lib/tls/i686/cmov/libnss_files-2.8.90.so
b7857000-b7860000 r-xp 00000000 08:07 914957 /lib/tls/i686/cmov/libnss_nis-2.8.90.so
b7860000-b7861000 r--p 00008000 08:07 914957 /lib/tls/i686/cmov/libnss_nis-2.8.90.so
b7861000-b7862000 rw-p 00009000 08:07 914957 /lib/tls/i686/cmov/libnss_nis-2.8.90.so
b7862000-b7877000 r-xp 00000000 08:07 914947 /lib/tls/i686/cmov/libnsl-2.8.90.so
b7877000-b7878000 r--p 00014000 08:07 914947 /lib/tls/i686/cmov/libnsl-2.8.90.so
b7878000-b7879000 rw-p 00015000 08:07 914947 /lib/tls/i686/cmov/libnsl-2.8.90.so
b7879000-b787b000 rw-p b7879000 00:00 0
b787b000-b7882000 r-xp 00000000 08:07 914949 /lib/tls/i686/cmov/libnss_compat-2.8.90.so
b7882000-b7883000 r--p 00006000 08:07 914949 /lib/tls/i686/cmov/libnss_compat-2.8.90.so
b7883000-b7884000 rw-p 00007000 08:07 914949 /lib/tls/i686/cmov/libnss_compat-2.8.90.so
b7884000-b7886000 rw-p b7884000 00:00 0
b7886000-b788a000 r-xp 00000000 08:07 597282 /usr/lib/libXdmcp.so.6.0.0
b788a000-b788b000 rw-p 00003000 08:07 597282 /usr/lib/libXdmcp.so.6.0.0
b788b000-b788d000 r-xp 00000000 08:07 597271 /usr/lib/libXau.so.6.0.0
b788d000-b788e000 rw-p 00001000 08:07 597271 /usr/lib/libXau.so.6.0.0
b788e000-b788f000 rw-p b788e000 00:00 0
b788f000-b78a6000 r-xp 00000000 08:07 598215 /usr/lib/libxcb.so.1.0.0
b78a6000-b78a7000 r--p 00016000 08:07 598215 /usr/lib/libxcb.so.1.0.0
b78a7000-b78a8000 rw-p 00017000 08:07 598215 /usr/lib/libxcb.so.1.0.0
b78a8000-b78a9000 r-xp 00000000 08:07 598213 /usr/lib/libxcb-xlib.so.0.0.0
b78a9000-b78aa000 r--p 00000000 08:07 598213 /usr/lib/libxcb-xlib.so.0.0.0
b78aa000-b78ab000 rw-p 00001000 08:07 598213 /usr/lib/libxcb-xlib.so.0.0.0
b78ab000-b78b2000 r-xp 00000000 08:07 914966 /lib/tls/i686/cmov/librt-2.8.90.so
b78b2000-b78b3000 r--p 00007000 08:07 914966 /lib/tls/i686/cmov/librt-2.8.90.so
b78b3000-b78b4000 rw-p 00008000 08:07 914966 /lib/tls/i686/cmov/librt-2.8.90.so
b78b4000-b78bb000 r-xp 00000000 08:07 597482 /usr/lib/libdrm.so.2.3.1
b78bb000-b78bc000 r--p 00006000 08:07 597482 /usr/lib/libdrm.so.2.3.1
b78bc000-b78bd000 rw-p 00007000 08:07 597482 /usr/lib/libdrm.so.2.3.1
b78bd000-b78c1000 r-xp 00000000 08:07 597288 /usr/lib/libXfixes.so.3.1.0
b78c1000-b78c2000 rw-p 00003000 08:07 597288 /usr/lib/libXfixes.so.3.1.0
b78c2000-b78c3000 rw-p b78c2000 00:00 0
b78c3000-b78c5000 r-xp 00000000 08:07 597280 /usr/lib/libXdamage.so.1.1.0
b78c5000-b78c6000 rw-p 00001000 08:07 597280 /usr/lib/libXdamage.so.1.1.0
b78c6000-b78ca000 r-xp 00000000 08:07 597322 /usr/lib/libXxf86vm.so.1.0.0
b78ca000-b78cb000 r--p 00003000 08:07 597322 /usr/lib/libXxf86vm.so.1.0.0
b78cb000-b78cc000 rw-p 00004000 08:07 597322 /usr/lib/libXxf86vm.so.1.0.0
b78cc000-b78d9000 r-xp 00000000 08:07 597286 /usr/lib/libXext.so.6.4.0
b78d9000-b78db000 rw-p 0000c000 08:07 597286 /usr/lib/libXext.so.6.4.0
b78db000-b79c6000 r-xp 00000000 08:07 598894 /usr/lib/libX11.so.6.2.0
b79c6000-b79c7000 r--p 000ea000 08:07 598894 /usr/lib/libX11.so.6.2.0
b79c7000-b79c9000 rw-p 000eb000 08:07 598894 /usr/lib/libX11.so.6.2.0
b79c9000-b79ca000 rw-p b79c9000 00:00 0
b79ca000-b79dd000 r-xp 00000000 08:07 597468 /usr/lib/libdirect-1.0.so.0.1.0
b79dd000-b79de000 r--p 00012000 08:07 597468 /usr/lib/libdirect-1.0.so.0.1.0
b79de000-b79df000 rw-p 00013000 08:07 597468 /usr/lib/libdirect-1.0.so.0.1.0
b79df000-b79e6000 r-xp 00000000 08:07 597546 /usr/lib/libfusion-1.0.so.0.1.0
b79e6000-b79e7000 r--p 00006000 08:07 597546 /usr/lib/libfusion-1.0.so.0.1.0
b79e7000-b79e8000 rw-p 00007000 08:07 597546 /usr/lib/libfusion-1.0.so.0.1.0
b79e8000-b79e9000 rw-p b79e8000 00:00 0
b79e9000-b7a4d000 r-xp 00000000 08:07 597470 /usr/lib/libdirectfb-1.0.so.0.1.0
b7a4d000-b7a4e000 r--p 00063000 08:07 597470 /usr/lib/libdirectfb-1.0.so.0.1.0
b7a4e000-b7a4f000 rw-p 00064000 08:07 597470 /usr/lib/libdirectfb-1.0.so.0.1.0
b7a4f000-b7a51000 r-xp 00000000 08:07 914942 /lib/tls/i686/cmov/libdl-2.8.90.so
b7a51000-b7a52000 r--p 00001000 08:07 914942 /lib/tls/i686/cmov/libdl-2.8.90.so
b7a52000-b7a53000 rw-p 00002000 08:07 914942 /lib/tls/i686/cmov/libdl-2.8.90.so
b7a53000-b7b16000 r-xp 00000000 08:07 597345 /usr/lib/libasound.so.2.0.0
b7b16000-b7b18000 r--p 000c2000 08:07 597345 /usr/lib/libasound.so.2.0.0
b7b18000-b7b1b000 rw-p 000c4000 08:07 597345 /usr/lib/libasound.so.2.0.0
b7b1b000-b7b30000 r-xp 00000000 08:07 914962 /lib/tls/i686/cmov/libpthread-2.8.90.so
b7b30000-b7b31000 r--p 00014000 08:07 914962 /lib/tls/i686/cmov/libpthread-2.8.90.so
b7b31000-b7b32000 rw-p 00015000 08:07 914962 /lib/tls/i686/cmov/libpthread-2.8.90.so
b7b32000-b7b34000 rw-p b7b32000 00:00 0
b7b34000-b7c8c000 r-xp 00000000 08:07 914936 /lib/tls/i686/cmov/libc-2.8.90.so
b7c8c000-b7c8e000 r--p 00158000 08:07 914936 /lib/tls/i686/cmov/libc-2.8.90.so
b7c8e000-b7c8f000 rw-p 0015a000 08:07 914936 /lib/tls/i686/cmov/libc-2.8.90.so
b7c8f000-b7c93000 rw-p b7c8f000 00:00 0
b7c93000-b7ca0000 r-xp 00000000 08:07 897662 /lib/libgcc_s.so.1
b7ca0000-b7ca1000 r--p 0000c000 08:07 897662 /lib/libgcc_s.so.1
b7ca1000-b7ca2000 rw-p 0000d000 08:07 897662 /lib/libgcc_s.so.1
b7ca2000-b7cc6000 r-xp 00000000 08:07 914944 /lib/tls/i686/cmov/libm-2.8.90.so
b7cc6000-b7cc7000 r--p 00023000 08:07 914944 /lib/tls/i686/cmov/libm-2.8.90.so
b7cc7000-b7cc8000 rw-p 00024000 08:07 914944 /lib/tls/i686/cmov/libm-2.8.90.so
b7cc8000-b7dab000 r-xp 00000000 08:07 598133 /usr/lib/libstdc++.so.6.0.10
b7dab000-b7dac000 ---p 000e3000 08:07 598133 /usr/lib/libstdc++.so.6.0.10
b7dac000-b7db0000 r--p 000e3000 08:07 598133 /usr/lib/libstdc++.so.6.0.10
b7db0000-b7db1000 rw-p 000e7000 08:07 598133 /usr/lib/libstdc++.so.6.0.10
b7db1000-b7db7000 rw-p b7db1000 00:00 0
b7db7000-b7e0d000 r-xp 00000000 08:07 597219 /usr/lib/libGL.so.1.2
b7e0d000-b7e12000 r--p 00055000 08:07 597219 /usr/lib/libGL.so.1.2
b7e12000-b7e17000 rwxp 0005a000 08:07 597219 /usr/lib/libGL.so.1.2
b7e17000-b7e18000 rwxp b7e17000 00:00 0
b7e18000-b7e45000 r-xp 00000000 08:07 897677 /lib/libncurses.so.5.6
b7e45000-b7e48000 rw-p 0002c000 08:07 897677 /lib/libncurses.so.5.6
b7e48000-b7e6c000 r-xp 00000000 08:07 598015 /usr/lib/libpng12.so.0.27.0
b7e6c000-b7e6e000 rw-p 00023000 08:07 598015 /usr/lib/libpng12.so.0.27.0
b7e6e000-b7e6f000 rw-p b7e6e000 00:00 0
b7e6f000-b7ed6000 r-xp 00000000 08:07 597257 /usr/lib/libSDL-1.2.so.0.11.1
b7ed6000-b7ed8000 rw-p 00066000 08:07 597257 /usr/lib/libSDL-1.2.so.0.11.1
b7ed8000-b7f01000 rw-p b7ed8000 00:00 0
b7f01000-b7f15000 r-xp 00000000 08:07 598227 /usr/lib/libz.so.1.2.3.3
b7f15000-b7f17000 rw-p 00013000 08:07 598227 /usr/lib/libz.so.1.2.3.3
b7f2a000-b7f2d000 rw-p b7f2a000 00:00 0
b7f2d000-b7f47000 r-xp 00000000 08:07 897619 /lib/ld-2.8.90.so
b7f47000-b7f48000 r-xp b7f47000 00:00 0 [vdso]
b7f48000-b7f49000 r--p 0001a000 08:07 897619 /lib/ld-2.8.90.so
b7f49000-b7f4a000 rw-p 0001b000 08:07 897619 /lib/ld-2.8.90.so
bf834000-bf849000 rw-p bffeb000 00:00 0 [stack]
Cancelado



10. Re: instalação de emulador zsnes [RESOLVIDO]

Marcelo A. B. Slomp
mslomp

(usa Slackware)

Enviado em 03/01/2009 - 17:34h

pelo que pesquisei, parece ser um problema conhecido entre o zsnes e o ubuntu:
https://bugs.launchpad.net/ubuntu/+source/zsnes/+bug/250425

então, analisando os reports, em especial o último post, você pode tentar algumas coisas:
1 - recompilar em modo debug:
$ make clean
$ ./configure --enable-debug=yes
$ make

2 - testar a dica do último report desativando _FORTIFY_SOURCE
edite configure.in e na linha 29, onde diz:
CFLAGS="$CFLAGS -pipe -I. -I/usr/local/include -I/usr/include"
deixe-a assim:
CFLAGS="$CFLAGS -pipe -I. -I/usr/local/include -I/usr/include -D_FORTIFY_SOURCE=0"

salve e então faça
$ make distclean
$ ./autogen.sh
$ make


11. Re: instalação de emulador zsnes [RESOLVIDO]

Hugo Leonardo Leite Lima
hugohlll

(usa Ubuntu)

Enviado em 04/01/2009 - 01:45h

consegui! está funcionado perfeitamente, muito obrigado mesmo valeu!!


12. Re: instalação de emulador zsnes [RESOLVIDO]

Marcelo A. B. Slomp
mslomp

(usa Slackware)

Enviado em 04/01/2009 - 17:26h

beleza, cara, fico feliz por você. sob algum ponto de vista teria sido mais fácil instalar o pacote pré-compilado para o ubuntu e pronto, mas o espírito do aprendizado é esse mesmo. eu fui até o fim porque captei esse seu espírito. continue assim. :D






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts