hello i have cd toolkit but zeroOpengl fails to compile
Code:
minyie@minyie-desktop:~/Installers/pcsx2$ sudo sh build.sh all
----------------------------------------
Building Graphics Synthesizer plugins...
----------------------------------------
----------------------
Building ZeroGS OpenGL
----------------------
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 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 a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
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 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]: Entering directory `/home/minyie/Installers/pcsx2/plugins/gs/zerogs/opengl/Linux'
test -z "libZeroGSLinux.a" || rm -f libZeroGSLinux.a
rm -f *.o
make[1]: Leaving directory `/home/minyie/Installers/pcsx2/plugins/gs/zerogs/opengl/Linux'
Making clean in .
make[1]: Entering directory `/home/minyie/Installers/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]: Leaving directory `/home/minyie/Installers/pcsx2/plugins/gs/zerogs/opengl'
Making install in Linux
make[1]: Entering directory `/home/minyie/Installers/pcsx2/plugins/gs/zerogs/opengl/Linux'
if gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -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. -I. -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -I../ -fPIC -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -fPIC -I/opt/cg/include -L/opt/cg/lib -O2 -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; \
        then mv -f ".deps/libZeroGSLinux_a-callbacks.Tpo" ".deps/libZeroGSLinux_a-callbacks.Po"; else rm -f ".deps/libZeroGSLinux_a-callbacks.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -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. -I. -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -I../ -fPIC -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -fPIC -I/opt/cg/include -L/opt/cg/lib -O2 -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; \
        then mv -f ".deps/libZeroGSLinux_a-Conf.Tpo" ".deps/libZeroGSLinux_a-Conf.Po"; else rm -f ".deps/libZeroGSLinux_a-Conf.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -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. -I. -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -I../ -fPIC -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -fPIC -I/opt/cg/include -L/opt/cg/lib -O2 -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; \
        then mv -f ".deps/libZeroGSLinux_a-interface.Tpo" ".deps/libZeroGSLinux_a-interface.Po"; else rm -f ".deps/libZeroGSLinux_a-interface.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -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. -I. -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -I../ -fPIC -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -fPIC -I/opt/cg/include -L/opt/cg/lib -O2 -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; \
        then mv -f ".deps/libZeroGSLinux_a-Linux.Tpo" ".deps/libZeroGSLinux_a-Linux.Po"; else rm -f ".deps/libZeroGSLinux_a-Linux.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -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. -I. -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -I../ -fPIC -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -fPIC -I/opt/cg/include -L/opt/cg/lib -O2 -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; \
        then mv -f ".deps/libZeroGSLinux_a-support.Tpo" ".deps/libZeroGSLinux_a-support.Po"; else rm -f ".deps/libZeroGSLinux_a-support.Tpo"; exit 1; fi
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]: Entering directory `/home/minyie/Installers/pcsx2/plugins/gs/zerogs/opengl/Linux'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/minyie/Installers/pcsx2/plugins/gs/zerogs/opengl/Linux'
make[1]: Leaving directory `/home/minyie/Installers/pcsx2/plugins/gs/zerogs/opengl/Linux'
Making install in .
make[1]: Entering directory `/home/minyie/Installers/pcsx2/plugins/gs/zerogs/opengl'
if gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -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. -I.  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -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; \
        then mv -f ".deps/libZeroGSogl_a-GSmain.Tpo" ".deps/libZeroGSogl_a-GSmain.Po"; else rm -f ".deps/libZeroGSogl_a-GSmain.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -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. -I.  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -MT libZeroGSogl_a-memcpy_amd.o -MD -MP -MF ".deps/libZeroGSogl_a-memcpy_amd.Tpo" -c -o libZeroGSogl_a-memcpy_amd.o `test -f 'memcpy_amd.cpp' || echo './'`memcpy_amd.cpp; \
        then mv -f ".deps/libZeroGSogl_a-memcpy_amd.Tpo" ".deps/libZeroGSogl_a-memcpy_amd.Po"; else rm -f ".deps/libZeroGSogl_a-memcpy_amd.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -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. -I.  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -MT libZeroGSogl_a-Regs.o -MD -MP -MF ".deps/libZeroGSogl_a-Regs.Tpo" -c -o libZeroGSogl_a-Regs.o `test -f 'Regs.cpp' || echo './'`Regs.cpp; \
        then mv -f ".deps/libZeroGSogl_a-Regs.Tpo" ".deps/libZeroGSogl_a-Regs.Po"; else rm -f ".deps/libZeroGSogl_a-Regs.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -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. -I.  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -MT libZeroGSogl_a-x86.o -MD -MP -MF ".deps/libZeroGSogl_a-x86.Tpo" -c -o libZeroGSogl_a-x86.o `test -f 'x86.cpp' || echo './'`x86.cpp; \
        then mv -f ".deps/libZeroGSogl_a-x86.Tpo" ".deps/libZeroGSogl_a-x86.Po"; else rm -f ".deps/libZeroGSogl_a-x86.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -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. -I.  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -MT libZeroGSogl_a-zpipe.o -MD -MP -MF ".deps/libZeroGSogl_a-zpipe.Tpo" -c -o libZeroGSogl_a-zpipe.o `test -f 'zpipe.cpp' || echo './'`zpipe.cpp; \
        then mv -f ".deps/libZeroGSogl_a-zpipe.Tpo" ".deps/libZeroGSogl_a-zpipe.Po"; else rm -f ".deps/libZeroGSogl_a-zpipe.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -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. -I.  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -MT libZeroGSogl_a-Mem.o -MD -MP -MF ".deps/libZeroGSogl_a-Mem.Tpo" -c -o libZeroGSogl_a-Mem.o `test -f 'Mem.cpp' || echo './'`Mem.cpp; \
        then mv -f ".deps/libZeroGSogl_a-Mem.Tpo" ".deps/libZeroGSogl_a-Mem.Po"; else rm -f ".deps/libZeroGSogl_a-Mem.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -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. -I.  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -MT libZeroGSogl_a-rasterfont.o -MD -MP -MF ".deps/libZeroGSogl_a-rasterfont.Tpo" -c -o libZeroGSogl_a-rasterfont.o `test -f 'rasterfont.cpp' || echo './'`rasterfont.cpp; \
        then mv -f ".deps/libZeroGSogl_a-rasterfont.Tpo" ".deps/libZeroGSogl_a-rasterfont.Po"; else rm -f ".deps/libZeroGSogl_a-rasterfont.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -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. -I.  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -MT libZeroGSogl_a-targets.o -MD -MP -MF ".deps/libZeroGSogl_a-targets.Tpo" -c -o libZeroGSogl_a-targets.o `test -f 'targets.cpp' || echo './'`targets.cpp; \
        then mv -f ".deps/libZeroGSogl_a-targets.Tpo" ".deps/libZeroGSogl_a-targets.Po"; else rm -f ".deps/libZeroGSogl_a-targets.Tpo"; exit 1; fi
if gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -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. -I.  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -MT libZeroGSogl_a-zerogs.o -MD -MP -MF ".deps/libZeroGSogl_a-zerogs.Tpo" -c -o libZeroGSogl_a-zerogs.o `test -f 'zerogs.cpp' || echo './'`zerogs.cpp; \
        then mv -f ".deps/libZeroGSogl_a-zerogs.Tpo" ".deps/libZeroGSogl_a-zerogs.Po"; else rm -f ".deps/libZeroGSogl_a-zerogs.Tpo"; exit 1; fi
zerogs.cpp:321: warning: non-local variable ‘<anonymous union> g_vars’ uses anonymous type
zerogs.cpp: In function ‘void ZeroGS::HandleGLError()’:
zerogs.cpp:892: error: ‘GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT’ was not declared in this scope
make[1]: *** [libZeroGSogl_a-zerogs.o] Error 1
make[1]: Leaving directory `/home/minyie/Installers/pcsx2/plugins/gs/zerogs/opengl'
make: *** [install-recursive] Error 1
Error with building plugins
minyie@minyie-desktop:~/Installers/pcsx2$ make[1]: Leaving directory `/home/jon/pcsx2/plugins/gs/zerogs/opengl'
> make: *** [install-recursive] Error 1make[1]: Leaving directory `/home/jon/pcsx2/plugins/gs/zerogs/opengl'
> make: *** [install-recursive] Error 1make[1]: Leaving directory `/home/jon/pcsx2/plugins/gs/zerogs/opengl'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
bash: make[1]:: command not found
minyie@minyie-desktop:~/Installers/pcsx2$ make: *** [install-recursive] Error 1make[1]: Leaving directory `/home/jon/pcsx2/plugins/gs/zerogs/opengl'
> make: *** [install-recursive] Error 1
hat can i do?