LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-30-2007, 11:06 PM   #1
darkapolloslx
LQ Newbie
 
Registered: Feb 2007
Distribution: Mephis, Puppy
Posts: 28

Rep: Reputation: 15
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
 
Old 07-01-2007, 12:02 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Have a look at the thread called What are X includes in this very forum. Same thing :}



Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Vice won't run Tomermory Linux - Software 1 06-12-2007 12:23 PM
What does Linux have against ASUS (or vice versa)? xp_newbie Linux - Hardware 54 05-23-2007 12:24 PM
how to use Vice emulator jaakkop Linux - Games 1 03-16-2005 04:45 PM
m1 can ping m2, but not vice versa cmacklin Linux - Networking 4 10-31-2004 09:01 PM
gta vice city in wine drigz Linux - Games 11 07-02-2004 03:11 PM


All times are GMT -5. The time now is 03:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration