LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-11-2007, 03:28 PM   #1
Tomermory
Member
 
Registered: Mar 2007
Location: Amiens, France
Distribution: Debian Etch,
Posts: 181

Rep: Reputation: 30
Vice won't run


Hi

I've just switched from Ubuntu Feisty to Debian Edgy and I cannot get one of my favourite applications to run: the Vice Commodore emulator. When I try to compile it, I get an [all-recursive] error 1 message:
Code:
Making all in video
make[3]: Entering directory `/home/james/Games/vice-1.21/src/video'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/arch/unix -I../../src -I../../src -I../../src/raster    -g -O2 -DNO_REGPARM -Wstrict-prototypes -Wall -Winline -MT video-canvas.o -MD -MP -MF ".deps/video-canvas.Tpo" -c -o video-canvas.o video-canvas.c; \
        then mv -f ".deps/video-canvas.Tpo" ".deps/video-canvas.Po"; else rm -f ".deps/video-canvas.Tpo"; exit 1; fi
In file included from ../../src/arch/unix/x11/xaw/videoarch.h:5,
                 from ../../src/arch/unix/videoarch.h:9,
                 from video-canvas.c:39:
../../src/arch/unix/x11/xaw/uiarch.h:33:27: error: 
X11/Intrinsic.h: No such file or directory
../../src/arch/unix/x11/xaw/uiarch.h:34:28: error: X11/StringDefs.h: No such file or directory
../../src/arch/unix/x11/xaw/uiarch.h:35:24: error: X11/keysym.h: No such file or directory
In file included from ../../src/arch/unix/x11/xaw/videoarch.h:5,
                 from ../../src/arch/unix/videoarch.h:9,
                 from video-canvas.c:39:
../../src/arch/unix/x11/xaw/uiarch.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ui_window_t’
../../src/arch/unix/x11/xaw/uiarch.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ui_callback_t’
../../src/arch/unix/x11/xaw/uiarch.h:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ui_callback_data_t’
../../src/arch/unix/x11/xaw/uiarch.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ui_keysym_t’
../../src/arch/unix/x11/xaw/uiarch.h:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_ui_top_level’
../../src/arch/unix/x11/xaw/uiarch.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../../src/arch/unix/x11/xaw/uiarch.h:60: error: expected ‘)’ before ‘w’
../../src/arch/unix/x11/xaw/uiarch.h:61: error: expected ‘)’ before ‘w’
../../src/arch/unix/x11/xaw/uiarch.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ui_create_shell’
../../src/arch/unix/x11/xaw/uiarch.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ui_create_transient_shell’
../../src/arch/unix/x11/xaw/uiarch.h:65: error: expected ‘)’ before ‘w’
../../src/arch/unix/x11/xaw/uiarch.h:66: error: expected ‘)’ before ‘w’
../../src/arch/unix/x11/xaw/uiarch.h:67: error: expected ‘)’ before ‘w’
In file included from ../../src/arch/unix/x11/xaw/videoarch.h:6,
                 from ../../src/arch/unix/videoarch.h:9,
                 from video-canvas.c:39:
../../src/arch/unix/x11/xaw/../videoarch.h:34:22: error: X11/Xlib.h: No such file or directory
In file included from ../../src/arch/unix/x11/xaw/videoarch.h:6,
                 from ../../src/arch/unix/videoarch.h:9,
                 from video-canvas.c:39:
../../src/arch/unix/x11/xaw/../videoarch.h:72: error: expected specifier-qualifier-list before ‘ui_window_t’
In file included from ../../src/arch/unix/videoarch.h:9,
                 from video-canvas.c:39:
../../src/arch/unix/x11/xaw/videoarch.h:8: error: expected ‘)’ before ‘w’
video-canvas.c: In function ‘video_canvas_init’:
video-canvas.c:55: error: ‘video_canvas_t’ has no member named ‘videoconfig’
video-canvas.c:58: error: ‘video_canvas_t’ has no member named ‘draw_buffer’
video-canvas.c:59: error: ‘video_canvas_t’ has no member named ‘viewport’
video-canvas.c:60: error: ‘video_canvas_t’ has no member named ‘geometry’
video-canvas.c: In function ‘video_canvas_shutdown’:
video-canvas.c:70: error: ‘video_canvas_t’ has no member named ‘videoconfig’
video-canvas.c:71: error: ‘video_canvas_t’ has no member named ‘draw_buffer’
video-canvas.c:72: error: ‘video_canvas_t’ has no member named ‘viewport’
video-canvas.c:73: error: ‘video_canvas_t’ has no member named ‘viewport’
video-canvas.c:74: error: ‘video_canvas_t’ has no member named ‘geometry’
video-canvas.c: In function ‘video_canvas_render’:
video-canvas.c:90: error: ‘video_canvas_t’ has no member named ‘videoconfig’
video-canvas.c:90: error: ‘video_canvas_t’ has no member named ‘draw_buffer’
video-canvas.c:92: error: ‘video_canvas_t’ has no member named ‘draw_buffer’
video-canvas.c: In function ‘video_canvas_refresh_all’:
video-canvas.c:105: error: ‘video_canvas_t’ has no member named ‘viewport’
video-canvas.c:106: error: ‘video_canvas_t’ has no member named ‘geometry’
video-canvas.c:114: error: ‘video_canvas_t’ has no member named ‘draw_buffer’
video-canvas.c:114: error: ‘video_canvas_t’ has no member named ‘draw_buffer’
video-canvas.c:116: error: ‘video_canvas_t’ has no member named ‘draw_buffer’
video-canvas.c:116: error: ‘video_canvas_t’ has no member named ‘draw_buffer’
video-canvas.c: In function ‘video_canvas_redraw_size’:
video-canvas.c:123: error: ‘video_canvas_t’ has no member named ‘videoconfig’
video-canvas.c:125: error: ‘video_canvas_t’ has no member named ‘videoconfig’
video-canvas.c:128: error: ‘video_canvas_t’ has no member named ‘draw_buffer’
video-canvas.c:129: error: ‘video_canvas_t’ has no member named ‘draw_buffer’
video-canvas.c:130: error: ‘video_canvas_t’ has no member named ‘draw_buffer’
video-canvas.c:131: error: ‘video_canvas_t’ has no member named ‘draw_buffer’
video-canvas.c: In function ‘video_canvas_palette_set’:
video-canvas.c:145: error: ‘struct video_canvas_s’ has no member named ‘palette’video-canvas.c:151: error: ‘struct video_canvas_s’ has no member named ‘palette’make[3]: *** [video-canvas.o] Error 1
make[3]: Leaving directory `/home/james/Games/vice-1.21/src/video'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/james/Games/vice-1.21/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/james/Games/vice-1.21/src'
make: *** [all-recursive] Error 1
james@debian:~/Games/vice-1.21$
I've tried installing it using apt-get, but here I get a different problem. It installs OK, but I'm faced with a black screen. I already encountered this problem in Ubunutu, and found the solution, which I posted here:

http://www.linuxquestions.org/questi...d.php?t=551906.

Unfortunately, however, I can't get this patch to work with the version of Vice installed via apt-get since the offending config file doesn't exist or, if it does, I can't find it.
I know it's only a trivial problem, but I'd dearly love to get this programme running again.

Thanks a lot for your help

James
 
Old 06-12-2007, 11:23 AM   #2
Tomermory
Member
 
Registered: Mar 2007
Location: Amiens, France
Distribution: Debian Etch,
Posts: 181

Original Poster
Rep: Reputation: 30
I eventually found the solution to this problem. It doesn't involve changing a config file, but downloading a deb package which you will find here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418295

Hope this will be of use to someone else.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GTA Vice City in Cedega objorkum Linux - Games 2 06-19-2005 06:42 AM
how to use Vice emulator jaakkop Linux - Games 1 03-16-2005 03:45 PM
m1 can ping m2, but not vice versa cmacklin Linux - Networking 4 10-31-2004 08:01 PM
gta vice city in wine drigz Linux - Games 11 07-02-2004 02:11 PM
KDE under Gnome, or vice-versa Pres General 7 02-01-2004 10:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration