Vice does not compile
Hi.
I'm trying to compile and install VICE in Mepis 6.5. However, when I run make install it gives the following errors:
../../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
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: syntax error before 'ui_window_t'
../../src/arch/unix/x11/xaw/uiarch.h:43: warning: type defaults to 'int' in declaration of 'ui_window_t'
../../src/arch/unix/x11/xaw/uiarch.h:43: warning: data definition has no type or storage class
../../src/arch/unix/x11/xaw/uiarch.h:44: error: syntax error before 'ui_callback_t'
../../src/arch/unix/x11/xaw/uiarch.h:44: warning: type defaults to 'int' in declaration of 'ui_callback_t'
../../src/arch/unix/x11/xaw/uiarch.h:44: warning: data definition has no type or storage class
../../src/arch/unix/x11/xaw/uiarch.h:45: error: syntax error before 'ui_callback_data_t'
../../src/arch/unix/x11/xaw/uiarch.h:45: warning: type defaults to 'int' in declaration of 'ui_callback_data_t'
../../src/arch/unix/x11/xaw/uiarch.h:45: warning: data definition has no type or storage class
../../src/arch/unix/x11/xaw/uiarch.h:46: error: syntax error before 'ui_keysym_t'
../../src/arch/unix/x11/xaw/uiarch.h:46: warning: type defaults to 'int' in declaration of 'ui_keysym_t'
../../src/arch/unix/x11/xaw/uiarch.h:46: warning: data definition has no type or storage class
../../src/arch/unix/x11/xaw/uiarch.h:55: error: syntax error before '_ui_top_level'
../../src/arch/unix/x11/xaw/uiarch.h:55: warning: type defaults to 'int' in declaration of '_ui_top_level'
../../src/arch/unix/x11/xaw/uiarch.h:55: warning: data definition has no type or storage class
../../src/arch/unix/x11/xaw/uiarch.h:56: error: syntax error before '*' token
../../src/arch/unix/x11/xaw/uiarch.h:56: warning: type defaults to 'int' in declaration of 'visual'
../../src/arch/unix/x11/xaw/uiarch.h:56: warning: data definition has no type or storage class
../../src/arch/unix/x11/xaw/uiarch.h:60: error: syntax error before 'w'
../../src/arch/unix/x11/xaw/uiarch.h:60: warning: function declaration isn't a prototype
../../src/arch/unix/x11/xaw/uiarch.h:61: error: syntax error before 'w'
../../src/arch/unix/x11/xaw/uiarch.h:61: warning: function declaration isn't a prototype
../../src/arch/unix/x11/xaw/uiarch.h:62: error: syntax error before 'ui_create_shell'
../../src/arch/unix/x11/xaw/uiarch.h:62: error: syntax error before 'parent'
../../src/arch/unix/x11/xaw/uiarch.h:63: warning: type defaults to 'int' in declaration of 'ui_create_shell'
../../src/arch/unix/x11/xaw/uiarch.h:63: warning: function declaration isn't a prototype
../../src/arch/unix/x11/xaw/uiarch.h:63: warning: data definition has no type or storage class
../../src/arch/unix/x11/xaw/uiarch.h:64: error: syntax error before 'ui_create_transient_shell'
../../src/arch/unix/x11/xaw/uiarch.h:64: error: syntax error before 'parent'
../../src/arch/unix/x11/xaw/uiarch.h:64: warning: type defaults to 'int' in declaration of 'ui_create_transient_shell'
../../src/arch/unix/x11/xaw/uiarch.h:64: warning: function declaration isn't a prototype
../../src/arch/unix/x11/xaw/uiarch.h:64: warning: data definition has no type or storage class
../../src/arch/unix/x11/xaw/uiarch.h:65: error: syntax error before 'w'
../../src/arch/unix/x11/xaw/uiarch.h:65: warning: function declaration isn't a prototype
../../src/arch/unix/x11/xaw/uiarch.h:66: error: syntax error before 'w'
../../src/arch/unix/x11/xaw/uiarch.h:66: warning: function declaration isn't a prototype
../../src/arch/unix/x11/xaw/uiarch.h:67: error: syntax error before 'w'
../../src/arch/unix/x11/xaw/uiarch.h:67: warning: function declaration isn't a prototype
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: syntax error before 'ui_window_t'
../../src/arch/unix/x11/xaw/../videoarch.h:72: warning: no semicolon at end of struct or union
../../src/arch/unix/x11/xaw/../videoarch.h:82: error: syntax error before 'drawable'
../../src/arch/unix/x11/xaw/../videoarch.h:82: warning: type defaults to 'int' in declaration of 'drawable'
../../src/arch/unix/x11/xaw/../videoarch.h:82: warning: data definition has no type or storage class
../../src/arch/unix/x11/xaw/../videoarch.h:83: error: syntax error before 'colormap'
../../src/arch/unix/x11/xaw/../videoarch.h:83: warning: type defaults to 'int' in declaration of 'colormap'
../../src/arch/unix/x11/xaw/../videoarch.h:83: warning: data definition has no type or storage class
../../src/arch/unix/x11/xaw/../videoarch.h:85: error: syntax error before '*' token
../../src/arch/unix/x11/xaw/../videoarch.h:85: warning: type defaults to 'int' in declaration of 'x_image'
../../src/arch/unix/x11/xaw/../videoarch.h:85: warning: data definition has no type or storage class
../../src/arch/unix/x11/xaw/../videoarch.h:101: error: syntax error before 'gc'
../../src/arch/unix/x11/xaw/../videoarch.h:101: warning: type defaults to 'int' in declaration of 'gc'
../../src/arch/unix/x11/xaw/../videoarch.h:101: warning: data definition has no type or storage class
../../src/arch/unix/x11/xaw/../videoarch.h:107: error: syntax error before '}' token
In file included from ../../src/arch/unix/videoarch.h:9,
from video-canvas.c:39:
../../src/arch/unix/x11/xaw/videoarch.h:8: error: syntax error before 'w'
../../src/arch/unix/x11/xaw/videoarch.h:9: warning: function declaration isn't a prototype
video-canvas.c: In function 'video_canvas_init':
video-canvas.c:53: error: invalid application of 'sizeof' to incomplete type 'video_canvas_t'
video-canvas.c:55: error: dereferencing pointer to incomplete type
video-canvas.c:58: error: dereferencing pointer to incomplete type
video-canvas.c:59: error: dereferencing pointer to incomplete type
video-canvas.c:60: error: dereferencing pointer to incomplete type
video-canvas.c: In function 'video_canvas_shutdown':
video-canvas.c:70: error: dereferencing pointer to incomplete type
video-canvas.c:71: error: dereferencing pointer to incomplete type
video-canvas.c:72: error: dereferencing pointer to incomplete type
video-canvas.c:73: error: dereferencing pointer to incomplete type
video-canvas.c:74: error: dereferencing pointer to incomplete type
video-canvas.c: In function 'video_canvas_render':
video-canvas.c:90: error: dereferencing pointer to incomplete type
video-canvas.c:90: error: dereferencing pointer to incomplete type
video-canvas.c:92: error: dereferencing pointer to incomplete type
video-canvas.c: In function 'video_canvas_refresh_all':
video-canvas.c:105: error: dereferencing pointer to incomplete type
video-canvas.c:106: error: dereferencing pointer to incomplete type
video-canvas.c:114: error: dereferencing pointer to incomplete type
video-canvas.c:114: error: dereferencing pointer to incomplete type
video-canvas.c:116: error: dereferencing pointer to incomplete type
video-canvas.c:116: error: dereferencing pointer to incomplete type
video-canvas.c: In function 'video_canvas_redraw_size':
video-canvas.c:123: error: dereferencing pointer to incomplete type
video-canvas.c:125: error: dereferencing pointer to incomplete type
video-canvas.c:128: error: dereferencing pointer to incomplete type
video-canvas.c:129: error: dereferencing pointer to incomplete type
video-canvas.c:130: error: dereferencing pointer to incomplete type
video-canvas.c:131: error: dereferencing pointer to incomplete type
video-canvas.c: In function 'video_canvas_palette_set':
video-canvas.c:145: error: dereferencing pointer to incomplete type
video-canvas.c:147: error: dereferencing pointer to incomplete type
video-canvas.c:151: error: dereferencing pointer to incomplete type
video-canvas.c:157: error: dereferencing pointer to incomplete type
video-canvas.c: In function 'video_canvas_create_set':
video-canvas.c:165: error: dereferencing pointer to incomplete type
make[3]: *** [video-canvas.o] Error 1
make[3]: Leaving directory `/home/mark/Documents/New Folder/vice-1.21/src/video'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/mark/Documents/New Folder/vice-1.21/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/mark/Documents/New Folder/vice-1.21/src'
make: *** [install-recursive] Error 1
Anybody have any ideas about how to fix this?
Thanks
|