MAKE AJUDA [RESOLVIDO]

1. MAKE AJUDA [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 27/06/2011 - 17:01h

OLA A TODOS. É o seguinte to precisando de ajudar para usar o make, ja tneho todos o pcotes instalados, aqui ta o que aparece quando digito
*MAKE :
user@user-P4I945:~$ cd '/home/user/pokemon/VisualBoyAdvance-1.7.2'
user@user-P4I945:~/pokemon/VisualBoyAdvance-1.7.2$ ./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 whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking for nasm... no
checking for gzopen in -lz... no
configure: error: *** Cannot compile without zlib.
user@user-P4I945:~/pokemon/VisualBoyAdvance-1.7.2$ make
make: *** Nenhum alvo indicado e nenhum arquivo make encontrado. Pare.
user@user-P4I945:~/pokemon/VisualBoyAdvance-1.7.2$



  


2. Re: MAKE AJUDA [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 27/06/2011 - 17:22h

sudo apt-get install zlib1g-dev


3. Re: MAKE AJUDA [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 27/06/2011 - 17:24h

vlw a ajuda mas não é isso


4. Re: MAKE AJUDA [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 27/06/2011 - 17:46h

bom, é o que diz aqui

configure: error: *** Cannot compile without zlib.

"Não pode compilar sem zlib"

tenta zlib1g , sem o dev


5. Re: MAKE AJUDA [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 27/06/2011 - 17:50h

Ok, dei um aptitude update/upgrade (atualizo muita coisa) vo tentar agora vlw^^



edit: kkkkkkkkk agora ta faltando outro (libpng)pacote, bom vou instalando aqui.


6. Re: MAKE AJUDA [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 27/06/2011 - 17:56h

Agora falta um tal de nasm??
"...error: *** Couldn't find nasm program."



7. Re: MAKE AJUDA [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 27/06/2011 - 17:59h

Agora possivelmente a utima coisa que falta SDL library e não sei como achar isso


8. Re: MAKE AJUDA [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 27/06/2011 - 18:09h

Amigo, antes de executar um make, verifique se todas as dependências do programa em questão, estão instaladas.

As dependências do VisualBoyAdvance-1.7.2 são:



libatk1.0-0 (>= 1.9.0)
libc6 (>= 2.3.4-1)
libcairo2 (>= 1.0.2-2)
libfontconfig1 (>= 2.3.0)
libgcc2 (>= 4.0.2)
libglade2-0 (>= 1:2.5.1)
libglademm-2.4-1c2a (>= 2.6.1)
libglib2.0-0 (>= 2.8.0)
libglibmm-2.4-1c2a
libgtk2.0-0 (>= 2.8.0)
libgtkmm-2.4-1c2a
libpango1.0-0 (>= 1.11.0)
libpng12-0 (>= 1.2.8rel)
libsdl1.2debian (>> 1.2.7+1.2.8)
libsigc++-2.0-0c2a (>= 2.0.2)
libstdc++6 (>= 4.0.2-4)
libx11-6
libxau6
libxcursor1 (>> 1.1.2)
libxext6
libxfixes3
libxi6
libxinerama1
libxml2 (>= 2.6.22)
libxrandr2
libxrender1
zlib1g (>= 1:1.2.1)


9. Re: MAKE AJUDA [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 27/06/2011 - 18:15h

em se tratando de compilação o que você deve fazer é após encontrar|ser informado do nome de um tal pacote acrescente o sufixo '-dev' isso é necessário e obrigatório. exemplo do sdl:

libsdl1.2-dev

outras já citadas:

libpng1.2-dev
zlib1g-dev

para a procura:

http://www.debian.org/distrib/packages


10. Re: MAKE AJUDA [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 27/06/2011 - 18:17h

Arrumei tudo mas deu erro no fim
/Cheats.cpp: In function ‘bool cheatsImportGSACodeFile(const char*, int, bool)’:
../Cheats.cpp:942:25: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../Cheats.cpp:950:25: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../Cheats.cpp:953:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../Cheats.cpp:955:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../Cheats.cpp:958:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../Cheats.cpp:968:25: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../Cheats.cpp:971:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../Cheats.cpp:973:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../Cheats.cpp:974:29: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../Cheats.cpp:977:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../Cheats.cpp:980:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../Cheats.cpp:983:29: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../Cheats.cpp:985:33: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I. -I../../src -DSDL -DSYSCONFDIR=\"/usr/local/etc\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -DPROFILING -DMMX -DDEV_VERSION -MT EEprom.o -MD -MP -MF ".deps/EEprom.Tpo" \
-c -o EEprom.o `test -f '../EEprom.cpp' || echo './'`../EEprom.cpp; \
then mv -f ".deps/EEprom.Tpo" ".deps/EEprom.Po"; \
else rm -f ".deps/EEprom.Tpo"; exit 1; \
fi
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I. -I../../src -DSDL -DSYSCONFDIR=\"/usr/local/etc\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -DPROFILING -DMMX -DDEV_VERSION -MT Flash.o -MD -MP -MF ".deps/Flash.Tpo" \
-c -o Flash.o `test -f '../Flash.cpp' || echo './'`../Flash.cpp; \
then mv -f ".deps/Flash.Tpo" ".deps/Flash.Po"; \
else rm -f ".deps/Flash.Tpo"; exit 1; \
fi
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I. -I../../src -DSDL -DSYSCONFDIR=\"/usr/local/etc\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -DPROFILING -DMMX -DDEV_VERSION -MT GBA.o -MD -MP -MF ".deps/GBA.Tpo" \
-c -o GBA.o `test -f '../GBA.cpp' || echo './'`../GBA.cpp; \
then mv -f ".deps/GBA.Tpo" ".deps/GBA.Po"; \
else rm -f ".deps/GBA.Tpo"; exit 1; \
fi
../GBA.cpp: In function ‘bool CPUWriteMemState(char*, int)’:
../GBA.cpp:677:55: warning: deprecated conversion from string constant to ‘char*’
../GBA.cpp: In function ‘bool CPUReadMemState(char*, int)’:
../GBA.cpp:820:55: warning: deprecated conversion from string constant to ‘char*’
../GBA.cpp: In function ‘bool CPUIsZipFile(const char*)’:
../GBA.cpp:1133:32: error: invalid conversion from ‘const char*’ to ‘char*’
../GBA.cpp: In function ‘bool CPUIsGBAImage(const char*)’:
../GBA.cpp:1148:32: error: invalid conversion from ‘const char*’ to ‘char*’
../GBA.cpp: In function ‘bool CPUIsGBABios(const char*)’:
../GBA.cpp:1172:32: error: invalid conversion from ‘const char*’ to ‘char*’
../GBA.cpp: In function ‘bool CPUIsELF(const char*)’:
../GBA.cpp:1192:32: error: invalid conversion from ‘const char*’ to ‘char*’
../GBA.cpp: In function ‘bool CPUReadGSASnapshot(const char*)’:
../GBA.cpp:931:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../GBA.cpp:934:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../GBA.cpp:936:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../GBA.cpp:938:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../GBA.cpp:941:31: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../GBA.cpp:945:29: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
make[2]: ** [GBA.o] Erro 1
make[2]: Saindo do diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src/sdl'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src'
make: ** [all-recursive] Erro 1
user@user-P4I945:~/pokemon/VisualBoyAdvance-1.7.2$ make install
Making install in m4
make[1]: Entrando no diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/m4'
make[2]: Entrando no diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/m4'
make[2]: Nada a ser feito para `install-exec-am'.
make[2]: Nada a ser feito para `install-data-am'.
make[2]: Saindo do diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/m4'
make[1]: Saindo do diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/m4'
Making install in src
make[1]: Entrando no diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src'
Making install in gb
make[2]: Entrando no diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src/gb'
make[3]: Entrando no diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src/gb'
make[3]: Nada a ser feito para `install-exec-am'.
make[3]: Nada a ser feito para `install-data-am'.
make[3]: Saindo do diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src/gb'
make[2]: Saindo do diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src/gb'
Making install in prof
make[2]: Entrando no diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src/prof'
make[3]: Entrando no diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src/prof'
make[3]: Nada a ser feito para `install-exec-am'.
make[3]: Nada a ser feito para `install-data-am'.
make[3]: Saindo do diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src/prof'
make[2]: Saindo do diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src/prof'
Making install in i386
make[2]: Entrando no diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src/i386'
make[3]: Entrando no diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src/i386'
make[3]: Nada a ser feito para `install-exec-am'.
make[3]: Nada a ser feito para `install-data-am'.
make[3]: Saindo do diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src/i386'
make[2]: Saindo do diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src/i386'
Making install in sdl
make[2]: Entrando no diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src/sdl'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I. -I../../src -DSDL -DSYSCONFDIR=\"/usr/local/etc\" -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -DPROFILING -DMMX -DDEV_VERSION -MT GBA.o -MD -MP -MF ".deps/GBA.Tpo" \
-c -o GBA.o `test -f '../GBA.cpp' || echo './'`../GBA.cpp; \
then mv -f ".deps/GBA.Tpo" ".deps/GBA.Po"; \
else rm -f ".deps/GBA.Tpo"; exit 1; \
fi
../GBA.cpp: In function ‘bool CPUWriteMemState(char*, int)’:
../GBA.cpp:677:55: warning: deprecated conversion from string constant to ‘char*’
../GBA.cpp: In function ‘bool CPUReadMemState(char*, int)’:
../GBA.cpp:820:55: warning: deprecated conversion from string constant to ‘char*’
../GBA.cpp: In function ‘bool CPUIsZipFile(const char*)’:
../GBA.cpp:1133:32: error: invalid conversion from ‘const char*’ to ‘char*’
../GBA.cpp: In function ‘bool CPUIsGBAImage(const char*)’:
../GBA.cpp:1148:32: error: invalid conversion from ‘const char*’ to ‘char*’
../GBA.cpp: In function ‘bool CPUIsGBABios(const char*)’:
../GBA.cpp:1172:32: error: invalid conversion from ‘const char*’ to ‘char*’
../GBA.cpp: In function ‘bool CPUIsELF(const char*)’:
../GBA.cpp:1192:32: error: invalid conversion from ‘const char*’ to ‘char*’
../GBA.cpp: In function ‘bool CPUReadGSASnapshot(const char*)’:
../GBA.cpp:931:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../GBA.cpp:934:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../GBA.cpp:936:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../GBA.cpp:938:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../GBA.cpp:941:31: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
../GBA.cpp:945:29: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
make[2]: ** [GBA.o] Erro 1
make[2]: Saindo do diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src/sdl'
make[1]: ** [install-recursive] Erro 1
make[1]: Saindo do diretório `/home/user/pokemon/VisualBoyAdvance-1.7.2/src'
make: ** [install-recursive] Erro 1
user@user-P4I945:~/pokemon/VisualBoyAdvance-1.7.2$



11. Re: MAKE AJUDA [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 27/06/2011 - 18:18h

tem pacotes .deb do VisualBoyAdvance aqui:

http://www.mediafire.com/?9isvx9knnwp5h


12. Re: MAKE AJUDA [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 27/06/2011 - 18:56h

Bom quero agradecer a vossa atenção, mas a questão não era apenas sobre o game boy e sim eu queria aprender usar o make (nunca tinha usado...) mas enfim fico grato pela ajuda^^



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts