Jason Bodnar
2003-04-30 20:41:31 UTC
I'm trying to build SDL with only video support for the framebuffer. When I
run make I get the following errors:
In file included from SDL_fbriva.c:32:
riva_mmio.h:450: parse error before string constant
In file included from SDL_fbriva.c:32:
riva_mmio.h:472:22: X11/Xlib.h: No such file or directory
riva_mmio.h:473:23: X11/Xatom.h: No such file or directory
In file included from SDL_fbriva.c:32:
riva_mmio.h:478: warning: type defaults to `int' in declaration of
`SDL_SYSWM_TYPE'
riva_mmio.h:478: warning: data definition has no type or storage class
riva_mmio.h:483: parse error before "SDL_SYSWM_TYPE"
riva_mmio.h:483: warning: no semicolon at end of struct or union
riva_mmio.h:485: parse error before "XEvent"
riva_mmio.h:485: warning: no semicolon at end of struct or union
riva_mmio.h:486: warning: type defaults to `int' in declaration of `event'
riva_mmio.h:486: warning: data definition has no type or storage class
riva_mmio.h:487: parse error before '}' token
riva_mmio.h:495: parse error before "SDL_SYSWM_TYPE"
riva_mmio.h:495: warning: no semicolon at end of struct or union
riva_mmio.h:498: parse error before "Display"
riva_mmio.h:498: warning: no semicolon at end of struct or union
riva_mmio.h:498: warning: no semicolon at end of struct or union
riva_mmio.h:499: warning: type defaults to `int' in declaration of `window'
riva_mmio.h:499: warning: data definition has no type or storage class
riva_mmio.h:509: parse error before "fswindow"
riva_mmio.h:509: warning: type defaults to `int' in declaration of `fswindow'
riva_mmio.h:509: warning: data definition has no type or storage class
riva_mmio.h:510: parse error before "wmwindow"
riva_mmio.h:510: warning: type defaults to `int' in declaration of `wmwindow'
riva_mmio.h:510: warning: data definition has no type or storage class
riva_mmio.h:511: warning: type defaults to `int' in declaration of `x11'
riva_mmio.h:511: warning: data definition has no type or storage class
riva_mmio.h:512: parse error before '}' token
riva_mmio.h:512: warning: type defaults to `int' in declaration of `info'
riva_mmio.h:512: warning: data definition has no type or storage class
riva_mmio.h:513: parse error before '}' token
riva_mmio.h:513: warning: useless keyword or type name in empty declaration
riva_mmio.h:513: warning: empty declaration
riva_mmio.h:513: confused by earlier errors, bailing out
make[3]: *** [SDL_fbriva.lo] Error 1
make[3]: Leaving directory `/mnt/SDL-1.2.5/src/video/fbcon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/SDL-1.2.5/src/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/SDL-1.2.5/src'
make: *** [all-recursive] Error 1
Why does riva_mmio.h need X11/Xlib.h? I don't need riva support, just vesa fb
so if there's a way to turn something off I'd be up for that.
--
Jason Bodnar
***@shakabuku.org
http://www.shakabuku.org
"You want free speech? Let's see you acknowledge a man whose words make
your blood boil who is standing center stage advocating at the top of
his lungs that which you would spend a lifetime opposing at the top of
yours." -- President Andrew Shephard, "The American President"
run make I get the following errors:
In file included from SDL_fbriva.c:32:
riva_mmio.h:450: parse error before string constant
In file included from SDL_fbriva.c:32:
riva_mmio.h:472:22: X11/Xlib.h: No such file or directory
riva_mmio.h:473:23: X11/Xatom.h: No such file or directory
In file included from SDL_fbriva.c:32:
riva_mmio.h:478: warning: type defaults to `int' in declaration of
`SDL_SYSWM_TYPE'
riva_mmio.h:478: warning: data definition has no type or storage class
riva_mmio.h:483: parse error before "SDL_SYSWM_TYPE"
riva_mmio.h:483: warning: no semicolon at end of struct or union
riva_mmio.h:485: parse error before "XEvent"
riva_mmio.h:485: warning: no semicolon at end of struct or union
riva_mmio.h:486: warning: type defaults to `int' in declaration of `event'
riva_mmio.h:486: warning: data definition has no type or storage class
riva_mmio.h:487: parse error before '}' token
riva_mmio.h:495: parse error before "SDL_SYSWM_TYPE"
riva_mmio.h:495: warning: no semicolon at end of struct or union
riva_mmio.h:498: parse error before "Display"
riva_mmio.h:498: warning: no semicolon at end of struct or union
riva_mmio.h:498: warning: no semicolon at end of struct or union
riva_mmio.h:499: warning: type defaults to `int' in declaration of `window'
riva_mmio.h:499: warning: data definition has no type or storage class
riva_mmio.h:509: parse error before "fswindow"
riva_mmio.h:509: warning: type defaults to `int' in declaration of `fswindow'
riva_mmio.h:509: warning: data definition has no type or storage class
riva_mmio.h:510: parse error before "wmwindow"
riva_mmio.h:510: warning: type defaults to `int' in declaration of `wmwindow'
riva_mmio.h:510: warning: data definition has no type or storage class
riva_mmio.h:511: warning: type defaults to `int' in declaration of `x11'
riva_mmio.h:511: warning: data definition has no type or storage class
riva_mmio.h:512: parse error before '}' token
riva_mmio.h:512: warning: type defaults to `int' in declaration of `info'
riva_mmio.h:512: warning: data definition has no type or storage class
riva_mmio.h:513: parse error before '}' token
riva_mmio.h:513: warning: useless keyword or type name in empty declaration
riva_mmio.h:513: warning: empty declaration
riva_mmio.h:513: confused by earlier errors, bailing out
make[3]: *** [SDL_fbriva.lo] Error 1
make[3]: Leaving directory `/mnt/SDL-1.2.5/src/video/fbcon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/SDL-1.2.5/src/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/SDL-1.2.5/src'
make: *** [all-recursive] Error 1
Why does riva_mmio.h need X11/Xlib.h? I don't need riva support, just vesa fb
so if there's a way to turn something off I'd be up for that.
--
Jason Bodnar
***@shakabuku.org
http://www.shakabuku.org
"You want free speech? Let's see you acknowledge a man whose words make
your blood boil who is standing center stage advocating at the top of
his lungs that which you would spend a lifetime opposing at the top of
yours." -- President Andrew Shephard, "The American President"