PCSX2 - erro de código 1 ao tentar compilar

Iniciado por lsmribeiro, 29 de Novembro de 2009, 17:23

tópico anterior - próximo tópico

lsmribeiro

Caros, tentei compilar o programa, fazendo td direitinho como manda em http://tadeuramos.com.br/?p=77

Entretanto, dá o erro que vcs podem ver abaixo.

Por favor, peço desde já a quem puder me ajudar logo a emular jogos de PS2 no meu ubuntu 9.10.

Desde já, sou-lhes grato.

abs,
Leandro

_____________________


Citarleandro@pegasus:~/pcsx2$ sudo sh ./build.sh all
----------------------------------------
Building Graphics Synthesizer plugins...
----------------------------------------
----------------------
Building ZeroGS OpenGL
----------------------
Linux/Makefile.am:5: shell pkg-config --cflags gtk+-2.0: non-POSIX variable name
Linux/Makefile.am:5: (probably a GNU make extension)
Linux/Makefile.am:6: compiling `callbacks.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc... gcc
checking whether we are using the GNU C++ compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking dependency style of gcc... gcc3
checking debug build... no
checking for _aligned_malloc... no
checking for _aligned_free... no
checking for development build...... no
checking check for sse2...... yes
checking for a x86-64 CPU... no
checking gtk2+... checking for pkg-config... pkg-config
checking OpenGL... checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for GL/glext.h... yes
checking for main in -lGL... yes
checking for main in -lGLU... yes
checking for main in -lGLEW... yes
checking Cg... checking for main in -ljpeg... yes
checking for main in -lpthread... yes
checking for main in -lstdc++... yes
checking for main in -lz... yes
checking for main in -ldl... yes
checking for main in -lXxf86vm... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Linux/Makefile
config.status: executing depfiles commands
Configuration:
  Target system type:   
  x86-64 build?          no
  Debug build?          no
  Dev build?              no
  SSE2 enabled?         yes
Making clean in Linux
make[1]: Entrando no diretório `/home/leandro/pcsx2/plugins/gs/zerogs/opengl/Linux'
test -z "libZeroGSLinux.a" || rm -f libZeroGSLinux.a
rm -f *.o
make[1]: Saindo do diretório `/home/leandro/pcsx2/plugins/gs/zerogs/opengl/Linux'
Making clean in .
make[1]: Entrando no diretório `/home/leandro/pcsx2/plugins/gs/zerogs/opengl'
test -z "libZeroGSogl.a" || rm -f libZeroGSogl.a
test -z "libZeroGSoglr.so.0.96.2" || rm -f libZeroGSoglr.so.0.96.2
rm -f *.o
make[1]: Saindo do diretório `/home/leandro/pcsx2/plugins/gs/zerogs/opengl'
Making install in Linux
make[1]: Entrando no diretório `/home/leandro/pcsx2/plugins/gs/zerogs/opengl/Linux'
gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ZeroGSogl\" -DVERSION=\"0.96.2\" -DNDEBUG=1 -DRELEASE_TO_PUBLIC=1 -DZEROGS_SSE2=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_GL_GLEXT_H=1 -I. -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../ -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer  -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer  -MT libZeroGSLinux_a-callbacks.o -MD -MP -MF .deps/libZeroGSLinux_a-callbacks.Tpo -c -o libZeroGSLinux_a-callbacks.o `test -f 'callbacks.c' || echo './'`callbacks.c
mv -f .deps/libZeroGSLinux_a-callbacks.Tpo .deps/libZeroGSLinux_a-callbacks.Po
gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ZeroGSogl\" -DVERSION=\"0.96.2\" -DNDEBUG=1 -DRELEASE_TO_PUBLIC=1 -DZEROGS_SSE2=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_GL_GLEXT_H=1 -I. -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../ -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer  -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer  -MT libZeroGSLinux_a-Conf.o -MD -MP -MF .deps/libZeroGSLinux_a-Conf.Tpo -c -o libZeroGSLinux_a-Conf.o `test -f 'Conf.cpp' || echo './'`Conf.cpp
Conf.cpp: In function 'void LoadConfig()':
Conf.cpp:66: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
Conf.cpp:67: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
Conf.cpp:68: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
Conf.cpp:69: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
Conf.cpp:70: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
mv -f .deps/libZeroGSLinux_a-Conf.Tpo .deps/libZeroGSLinux_a-Conf.Po
gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ZeroGSogl\" -DVERSION=\"0.96.2\" -DNDEBUG=1 -DRELEASE_TO_PUBLIC=1 -DZEROGS_SSE2=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_GL_GLEXT_H=1 -I. -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../ -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer  -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer  -MT libZeroGSLinux_a-interface.o -MD -MP -MF .deps/libZeroGSLinux_a-interface.Tpo -c -o libZeroGSLinux_a-interface.o `test -f 'interface.c' || echo './'`interface.c
mv -f .deps/libZeroGSLinux_a-interface.Tpo .deps/libZeroGSLinux_a-interface.Po
gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ZeroGSogl\" -DVERSION=\"0.96.2\" -DNDEBUG=1 -DRELEASE_TO_PUBLIC=1 -DZEROGS_SSE2=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_GL_GLEXT_H=1 -I. -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../ -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer  -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer  -MT libZeroGSLinux_a-Linux.o -MD -MP -MF .deps/libZeroGSLinux_a-Linux.Tpo -c -o libZeroGSLinux_a-Linux.o `test -f 'Linux.cpp' || echo './'`Linux.cpp
Linux.cpp: In function 'void GSconfigure()':
Linux.cpp:240: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:243: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:246: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:249: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:252: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:255: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:258: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:261: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:264: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:267: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:270: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:273: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:276: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:279: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:282: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:285: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:288: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:291: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:294: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:297: warning: deprecated conversion from string constant to 'char*'
Linux.cpp:300: warning: deprecated conversion from string constant to 'char*'
mv -f .deps/libZeroGSLinux_a-Linux.Tpo .deps/libZeroGSLinux_a-Linux.Po
gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ZeroGSogl\" -DVERSION=\"0.96.2\" -DNDEBUG=1 -DRELEASE_TO_PUBLIC=1 -DZEROGS_SSE2=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_GL_GLEXT_H=1 -I. -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../ -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer  -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer  -MT libZeroGSLinux_a-support.o -MD -MP -MF .deps/libZeroGSLinux_a-support.Tpo -c -o libZeroGSLinux_a-support.o `test -f 'support.c' || echo './'`support.c
mv -f .deps/libZeroGSLinux_a-support.Tpo .deps/libZeroGSLinux_a-support.Po
rm -f libZeroGSLinux.a
ar cru libZeroGSLinux.a libZeroGSLinux_a-callbacks.o libZeroGSLinux_a-Conf.o libZeroGSLinux_a-interface.o libZeroGSLinux_a-Linux.o libZeroGSLinux_a-support.o
ranlib libZeroGSLinux.a
make[2]: Entrando no diretório `/home/leandro/pcsx2/plugins/gs/zerogs/opengl/Linux'
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/leandro/pcsx2/plugins/gs/zerogs/opengl/Linux'
make[1]: Saindo do diretório `/home/leandro/pcsx2/plugins/gs/zerogs/opengl/Linux'
Making install in .
make[1]: Entrando no diretório `/home/leandro/pcsx2/plugins/gs/zerogs/opengl'
gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ZeroGSogl\" -DVERSION=\"0.96.2\" -DNDEBUG=1 -DRELEASE_TO_PUBLIC=1 -DZEROGS_SSE2=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_GL_GLEXT_H=1 -I.  -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer  -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer  -MT libZeroGSogl_a-GSmain.o -MD -MP -MF .deps/libZeroGSogl_a-GSmain.Tpo -c -o libZeroGSogl_a-GSmain.o `test -f 'GSmain.cpp' || echo './'`GSmain.cpp
In file included from GSmain.cpp:39:
zerogs.h:41:19: error: Cg/cg.h: Arquivo ou diretório não encontrado
zerogs.h:42:21: error: Cg/cgGL.h: Arquivo ou diretório não encontrado
In file included from GSmain.cpp:39:
zerogs.h:124: error: 'CGprogram' does not name a type
zerogs.h:132: error: 'CGprogram' does not name a type
zerogs.h:133: error: 'CGparameter' does not name a type
zerogs.h:134: error: 'CGparameter' does not name a type
zerogs.h:135: error: 'CGparameter' does not name a type
zerogs.h: In constructor 'FRAGMENTSHADER::FRAGMENTSHADER()':
zerogs.h:128: error: class 'FRAGMENTSHADER' does not have any field named 'prog'
zerogs.h:128: error: class 'FRAGMENTSHADER' does not have any field named 'sMemory'
zerogs.h:128: error: class 'FRAGMENTSHADER' does not have any field named 'sFinal'
zerogs.h:128: error: class 'FRAGMENTSHADER' does not have any field named 'sBitwiseANDX'
zerogs.h:128: error: class 'FRAGMENTSHADER' does not have any field named 'sBitwiseANDY'
zerogs.h:128: error: class 'FRAGMENTSHADER' does not have any field named 'sInterlace'
zerogs.h:128: error: class 'FRAGMENTSHADER' does not have any field named 'sCLUT'
zerogs.h:128: error: class 'FRAGMENTSHADER' does not have any field named 'sOneColor'
zerogs.h:128: error: class 'FRAGMENTSHADER' does not have any field named 'sBitBltZ'
zerogs.h:129: error: class 'FRAGMENTSHADER' does not have any field named 'fTexAlpha2'
zerogs.h:129: error: class 'FRAGMENTSHADER' does not have any field named 'fTexOffset'
zerogs.h:129: error: class 'FRAGMENTSHADER' does not have any field named 'fTexDims'
zerogs.h:129: error: class 'FRAGMENTSHADER' does not have any field named 'fTexBlock'
zerogs.h:129: error: class 'FRAGMENTSHADER' does not have any field named 'fClampExts'
zerogs.h:129: error: class 'FRAGMENTSHADER' does not have any field named 'fTexWrapMode'
zerogs.h:130: error: class 'FRAGMENTSHADER' does not have any field named 'fRealTexDims'
zerogs.h:130: error: class 'FRAGMENTSHADER' does not have any field named 'fTestBlack'
zerogs.h:130: error: class 'FRAGMENTSHADER' does not have any field named 'fPageOffset'
zerogs.h:130: error: class 'FRAGMENTSHADER' does not have any field named 'fTexAlpha'
zerogs.h: At global scope:
zerogs.h:145: error: 'CGprogram' does not name a type
zerogs.h:146: error: 'CGparameter' does not name a type
zerogs.h: In constructor 'VERTEXSHADER::VERTEXSHADER()':
zerogs.h:144: error: class 'VERTEXSHADER' does not have any field named 'prog'
zerogs.h:144: error: class 'VERTEXSHADER' does not have any field named 'sBitBltPos'
zerogs.h:144: error: class 'VERTEXSHADER' does not have any field named 'sBitBltTex'
zerogs.h: At global scope:
zerogs.h:182: error: 'CGparameter' does not name a type
In file included from GSmain.cpp:41:
ZeroGSShaders/zerogsshaders.h:27: error: 'CGcontext' does not name a type
ZeroGSShaders/zerogsshaders.h:29: error: 'CGprogram' does not name a type
GSmain.cpp:74: warning: deprecated conversion from string constant to 'char*'
GSmain.cpp: In function 'void GSsetGameCRC(int, int)':
GSmain.cpp:169: warning: deprecated conversion from string constant to 'char*'
GSmain.cpp: In function 's32 GSinit()':
GSmain.cpp:273: warning: deprecated conversion from string constant to 'char*'
GSmain.cpp:277: warning: deprecated conversion from string constant to 'char*'
GSmain.cpp:290: warning: deprecated conversion from string constant to 'char*'
GSmain.cpp:282: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result
GSmain.cpp: In function 's32 GSopen(void*, char*, int)':
GSmain.cpp:600: warning: deprecated conversion from string constant to 'char*'
GSmain.cpp:614: warning: deprecated conversion from string constant to 'char*'
GSmain.cpp:619: warning: deprecated conversion from string constant to 'char*'
GSmain.cpp:634: warning: deprecated conversion from string constant to 'char*'
GSmain.cpp: In function 'void GSmakeSnapshot(char*)':
GSmain.cpp:728: warning: format '%03ld' expects type 'long int', but argument 4 has type 'u32'
GSmain.cpp:744: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result
GSmain.cpp: In function 'void GSvsync(int)':
GSmain.cpp:765: warning: deprecated conversion from string constant to 'char*'
GSmain.cpp: In function 'void _GSgifTransfer(pathInfo*, u32*, u32)':
GSmain.cpp:978: warning: deprecated conversion from string constant to 'char*'
GSmain.cpp:992: warning: deprecated conversion from string constant to 'char*'
GSmain.cpp:1096: warning: deprecated conversion from string constant to 'char*'
GSmain.cpp: In function 'void GSgifTransfer1(u32*, u32)':
GSmain.cpp:1162: warning: deprecated conversion from string constant to 'char*'
GSmain.cpp: In function 's32 GSfreeze(int, freezeData*)':
GSmain.cpp:1209: warning: deprecated conversion from string constant to 'char*'
GSmain.cpp: In function 'void DVProfEnd(u32)':
GSmain.cpp:1341: warning: deprecated conversion from string constant to 'char*'
make[1]: ** [libZeroGSogl_a-GSmain.o] Erro 1
make[1]: Saindo do diretório `/home/leandro/pcsx2/plugins/gs/zerogs/opengl'
make: ** [install-recursive] Erro 1
Error with building plugins
leandro@pegasus:~/pcsx2$


lsmribeiro

#2
atualizando (podem esquecer o anterior, por favor) (pronto, mudei a $@%@$ da maldita caixa alta) :)



pois bem, reparei que no site do projeto havia para dowload um pacote .tar.gz

Baixei e descompactei, o programa está lá.

Todavia, quando abro o mesmo e parto para as configurações iniciais, não aparece disponível a configuração do video, dos graficos. E, claro, o programa dá erro quando clico em "ok" para sair das configurações e ao iniciar.

Alguma luz?

lsmribeiro

ah, para economizar o vosso tempo, uso o novo ubuntu, karmic-koala, a versão 9.10 / 32bits.