Thread: [Tuxnes-devel] renderer_ggi doesn't compile
Brought to you by:
tmmm
From: Jason D. S. <jd...@us...> - 2004-02-18 01:17:22
|
if gcc -DHAVE_CONFIG_H -I. -I. -I. -O -g -pipe -Wall -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -D__USE_BSD -MT renderer_ggi.o -MD -MP -MF ".deps/renderer_ggi.Tpo" -c -o renderer_ggi.o renderer_ggi.c; \ then mv -f ".deps/renderer_ggi.Tpo" ".deps/renderer_ggi.Po"; else rm -f ".deps/renderer_ggi.Tpo"; exit 1; fi renderer_ggi.c: In function `HandleKeyboardGGI': renderer_ggi.c:318: error: `coinslot' undeclared (first use in this function) renderer_ggi.c:318: error: (Each undeclared identifier is reported only once renderer_ggi.c:318: error: for each function it appears in.) renderer_ggi.c:352: error: `dipswitches' undeclared (first use in this function)renderer_ggi.c:399: error: `joypad' undeclared (first use in this function) renderer_ggi.c:472: error: `joypadd' undeclared (first use in this function) renderer_ggi.c: In function `InitDisplayGGI': renderer_ggi.c:1046: warning: implicit declaration of function `set_renderer_basetime' renderer_ggi.c:767: warning: unused variable `time' renderer_ggi.c: In function `UpdateDisplayGGI': renderer_ggi.c:1144: warning: implicit declaration of function `resynchronize' renderer_ggi.c:1136: warning: unused variable `time' renderer_ggi.c:1138: warning: unused variable `timeframe' -jason |
From: Mike M. <che...@ya...> - 2004-02-18 04:14:09
|
I don't nkow how far I can get at fixing this. The errors here are all ones I can handel, but any GGI problems I run into won't be so easy for me to fix. I'm running debian(testing) and if I could reduplicate your build then I could test my fixes. -mike --- Jason Dorje Short <jd...@us...> wrote: > if gcc -DHAVE_CONFIG_H -I. -I. -I. -O -g -pipe -Wall > -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include > -I/usr/local/include -D__USE_BSD -MT renderer_ggi.o -MD -MP -MF > ".deps/renderer_ggi.Tpo" -c -o renderer_ggi.o renderer_ggi.c; \ > then mv -f ".deps/renderer_ggi.Tpo" ".deps/renderer_ggi.Po"; else rm -f > ".deps/renderer_ggi.Tpo"; exit 1; fi > renderer_ggi.c: In function `HandleKeyboardGGI': > renderer_ggi.c:318: error: `coinslot' undeclared (first use in this > function) > renderer_ggi.c:318: error: (Each undeclared identifier is reported only > once > renderer_ggi.c:318: error: for each function it appears in.) > renderer_ggi.c:352: error: `dipswitches' undeclared (first use in this > function)renderer_ggi.c:399: error: `joypad' undeclared (first use in > this function) > renderer_ggi.c:472: error: `joypadd' undeclared (first use in this > function) > renderer_ggi.c: In function `InitDisplayGGI': > renderer_ggi.c:1046: warning: implicit declaration of function > `set_renderer_basetime' > renderer_ggi.c:767: warning: unused variable `time' > renderer_ggi.c: In function `UpdateDisplayGGI': > renderer_ggi.c:1144: warning: implicit declaration of function > `resynchronize' > renderer_ggi.c:1136: warning: unused variable `time' > renderer_ggi.c:1138: warning: unused variable `timeframe' > > -jason > __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools |
From: Mike M. <che...@ya...> - 2004-02-18 18:52:47
Attachments:
buildfix.patch.txt
|
I got ggl to build and did the same with w(but I don't have libw). It ran but was only black and didn't start making sounds and did't respond. My ggi setup could be non-funcional. Sdl still crashes with a... Fatal signal: Segmentation Fault (SDL Parachute Deployed) This is what I get from ggi, lookes good. LibGGI: No explicit target specified. LibGGI: Try to use X target... GGI mode: "256x240.V256x240.F2.D1x1.[C24/32]" GGI: Truecolor scheme, depth 24, 32bpp, static colors, 2 direct buffers Attached is the patch, hope it workes better for you, jason. Here are some autogen.sh errors. /usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG /usr/share/aclocal/gsl.m4:5: warning: underquoted definition of AM_PATH_GSL /usr/share/aclocal/avifile.m4:21: warning: underquoted definition of AM_PATH_AVIFILE --- Jason Dorje Short <jd...@us...> wrote: > if gcc -DHAVE_CONFIG_H -I. -I. -I. -O -g -pipe -Wall > -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include > -I/usr/local/include -D__USE_BSD -MT renderer_ggi.o -MD -MP -MF > ".deps/renderer_ggi.Tpo" -c -o renderer_ggi.o renderer_ggi.c; \ > then mv -f ".deps/renderer_ggi.Tpo" ".deps/renderer_ggi.Po"; else rm -f > ".deps/renderer_ggi.Tpo"; exit 1; fi > renderer_ggi.c: In function `HandleKeyboardGGI': > renderer_ggi.c:318: error: `coinslot' undeclared (first use in this > function) > renderer_ggi.c:318: error: (Each undeclared identifier is reported only > once > renderer_ggi.c:318: error: for each function it appears in.) > renderer_ggi.c:352: error: `dipswitches' undeclared (first use in this > function)renderer_ggi.c:399: error: `joypad' undeclared (first use in > this function) > renderer_ggi.c:472: error: `joypadd' undeclared (first use in this > function) > renderer_ggi.c: In function `InitDisplayGGI': > renderer_ggi.c:1046: warning: implicit declaration of function > `set_renderer_basetime' > renderer_ggi.c:767: warning: unused variable `time' > renderer_ggi.c: In function `UpdateDisplayGGI': > renderer_ggi.c:1144: warning: implicit declaration of function > `resynchronize' > renderer_ggi.c:1136: warning: unused variable `time' > renderer_ggi.c:1138: warning: unused variable `timeframe' > > -jason > __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools |
From: Jason D. S. <jd...@us...> - 2004-02-18 19:29:08
|
Mike Mestnik wrote: > I got ggl to build and did the same with w(but I don't have libw). It ran > but was only black and didn't start making sounds and did't respond. My > ggi setup could be non-funcional. Sdl still crashes with a... > Fatal signal: Segmentation Fault (SDL Parachute Deployed) > > This is what I get from ggi, lookes good. > LibGGI: No explicit target specified. > LibGGI: Try to use X target... > GGI mode: "256x240.V256x240.F2.D1x1.[C24/32]" > GGI: Truecolor scheme, depth 24, 32bpp, static colors, 2 direct buffers > > Attached is the patch, hope it workes better for you, jason. I can't test right now because sourceforge cvs is acting up. > Here are some autogen.sh errors. > /usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of > XIPH_PATH_VORBIS > run info '(automake)Extending aclocal' > or see > http://sources.redhat.com/automake/automake.html#Extending%20aclocal > /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of > PKG_CHECK_MODULES > /usr/share/aclocal/ogg.m4:8: warning: underquoted definition of > XIPH_PATH_OGG > /usr/share/aclocal/gsl.m4:5: warning: underquoted definition of > AM_PATH_GSL > /usr/share/aclocal/avifile.m4:21: warning: underquoted definition of > AM_PATH_AVIFILE These are warnings generated by recent versions of automake/autoconf. Note that these are global files, not ones provided by tuxnes. jason |
From: Jason D. S. <jd...@us...> - 2004-02-18 20:06:06
|
Jason Dorje Short wrote: > Mike Mestnik wrote: > >> I got ggl to build and did the same with w(but I don't have libw). It >> ran >> but was only black and didn't start making sounds and did't respond. My >> ggi setup could be non-funcional. Sdl still crashes with a... >> Fatal signal: Segmentation Fault (SDL Parachute Deployed) >> >> This is what I get from ggi, lookes good. >> LibGGI: No explicit target specified. >> LibGGI: Try to use X target... >> GGI mode: "256x240.V256x240.F2.D1x1.[C24/32]" >> GGI: Truecolor scheme, depth 24, 32bpp, static colors, 2 direct buffers >> >> Attached is the patch, hope it workes better for you, jason. > > > I can't test right now because sourceforge cvs is acting up. OK, it compiled. When I tried to run it, I got: LibGGI: No explicit target specified. LibGGI: Try to use X target... LibGG: unable to open lib: /usr/lib/ggi/display/X.so: cannot open shared object file: No such file or directory LibGGI: Try to use fbdev target (framebuffer console)... LibGG: unable to open lib: /usr/lib/ggi/display/fbdev.so: cannot open shared object file: No such file or directory LibGGI: Try to use svgalib target... LibGG: unable to open lib: /usr/lib/ggi/display/svgalib.so: cannot open shared object file: No such file or directory LibGGI: Try to use AAlib target... LibGG: unable to open lib: /usr/lib/ggi/display/aa.so: cannot open shared object file: No such file or directory For some reason although the .la lib files are present the .so ones are not. I don't really know what this means. Is it a bug in my ggi installation, or the configure process? jason |
From: Mike M. <che...@ya...> - 2004-02-18 20:15:40
|
This lookes good, it's hunting for a usable output device. I know .a means a.out and .so is an elf, but I'v never heard on an .la. I guss it's a windows thing, do you have other GGI programs working? I would say build the elf libs if you can, as a.out is older. --- Jason Dorje Short <jd...@us...> wrote: > Jason Dorje Short wrote: > > Mike Mestnik wrote: > > > >> I got ggl to build and did the same with w(but I don't have libw). > It > >> ran > >> but was only black and didn't start making sounds and did't respond. > My > >> ggi setup could be non-funcional. Sdl still crashes with a... > >> Fatal signal: Segmentation Fault (SDL Parachute Deployed) > >> > >> This is what I get from ggi, lookes good. > >> LibGGI: No explicit target specified. > >> LibGGI: Try to use X target... > >> GGI mode: "256x240.V256x240.F2.D1x1.[C24/32]" > >> GGI: Truecolor scheme, depth 24, 32bpp, static colors, 2 direct > buffers > >> > >> Attached is the patch, hope it workes better for you, jason. > > > > > > I can't test right now because sourceforge cvs is acting up. > > OK, it compiled. > > When I tried to run it, I got: > > LibGGI: No explicit target specified. > LibGGI: Try to use X target... > LibGG: unable to open lib: /usr/lib/ggi/display/X.so: cannot open shared > > object file: No such file or directory > LibGGI: Try to use fbdev target (framebuffer console)... > LibGG: unable to open lib: /usr/lib/ggi/display/fbdev.so: cannot open > shared object file: No such file or directory > LibGGI: Try to use svgalib target... > LibGG: unable to open lib: /usr/lib/ggi/display/svgalib.so: cannot open > shared object file: No such file or directory > LibGGI: Try to use AAlib target... > LibGG: unable to open lib: /usr/lib/ggi/display/aa.so: cannot open > shared object file: No such file or directory > > For some reason although the .la lib files are present the .so ones are > not. I don't really know what this means. Is it a bug in my ggi > installation, or the configure process? > > jason > __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools |
From: Jason D. S. <jd...@us...> - 2004-02-18 20:27:25
|
Mike Mestnik wrote: > This lookes good, it's hunting for a usable output device. I know .a > means a.out and .so is an elf, but I'v never heard on an .la. I guss it's > a windows thing, do you have other GGI programs working? I would say > build the elf libs if you can, as a.out is older. Sorry, I don't mean to be unclear: I'm doing this compilation on debian unstable, not for windows (though previously I was trying to compile tuxnes for windows). .la is a simple data file that describes the .so and .a files. I think. It seems the .so file is not present on my system because the libgga-target-aa package isn't installed. aa is ascii art, so why should it be? When I install the libgga-target-x package things work a bit better. Now I just get a segmentation fault: #0 0x401ca212 in XPending () from /usr/X11R6/lib/libX11.so.6 (gdb) bt #0 0x401ca212 in XPending () from /usr/X11R6/lib/libX11.so.6 #1 0x0806149b in HandleJoystickLinux (stick=0) at controller.c:727 #2 0x080769f9 in DoNMIC () at emulator_c_iface.c:168 #3 0x0807683a in nmi_shim_m6502 (addr=65415) at emulator_c_iface.c:115 #4 0x0807718d in StartC () at emulator_c_iface.c:325 #5 0x0804ec7c in main (argc=4, argv=0xbffff934) at emu.c:2231 When I leave off the -r ggi option, the X renderer is used and things work. jason |