 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
roby65
Joined: 01 Jun 2008 Posts: 55 Location: Mid Italy
|
Posted: Thu Nov 20, 2008 6:21 am Post subject: SDL installation problem |
|
|
i'm trying to install SDL into toolchain, i never get errors until i do "make"...
this is what i get:
| Code: | gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -g -O2 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DOSS_SUPPORT -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_FBCON -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -DHAVE_LINUX_VERSION_H -I../../../include -I../../../include/SDL -I../../../src -I../../../src/main/linux -I../../../src/audio -I../../../src/video -I../../../src/video/XFree86/extensions -I../../../src/events -I../../../src/joystick -I../../../src/cdrom -I../../../src/thread -I../../../src/timer -I../../../src/endian -I../../../src/file -I../../../src/thread -MT SDL_x11dga.lo -MD -MP -MF .deps/SDL_x11dga.Tpo -c SDL_x11dga.c -fPIC -DPIC -o .libs/SDL_x11dga.o
In file included from SDL_x11dga_c.h:28,
from SDL_x11dga.c:36:
SDL_x11video.h:37:33: error: X11/extensions/XShm.h: No such file or directory
In file included from SDL_x11dga_c.h:28,
from SDL_x11dga.c:36:
SDL_x11video.h:77: error: expected specifier-qualifier-list before 'XShmSegmentInfo'
make[3]: *** [SDL_x11dga.lo] Error 1
make[3]: Leaving directory `/home/roberto/SDL/SDL/src/video/x11'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/roberto/SDL/SDL/src/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/roberto/SDL/SDL/src'
make: *** [all-recursive] Error 1
|
how to fix this? :S |
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Thu Nov 20, 2008 7:04 am Post subject: Re: SDL installation problem |
|
|
| roby65 wrote: | i'm trying to install SDL into toolchain, i never get errors until i do "make"...
this is what i get:
| Code: | gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -g -O2 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DOSS_SUPPORT -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_FBCON -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -DHAVE_LINUX_VERSION_H -I../../../include -I../../../include/SDL -I../../../src -I../../../src/main/linux -I../../../src/audio -I../../../src/video -I../../../src/video/XFree86/extensions -I../../../src/events -I../../../src/joystick -I../../../src/cdrom -I../../../src/thread -I../../../src/timer -I../../../src/endian -I../../../src/file -I../../../src/thread -MT SDL_x11dga.lo -MD -MP -MF .deps/SDL_x11dga.Tpo -c SDL_x11dga.c -fPIC -DPIC -o .libs/SDL_x11dga.o
In file included from SDL_x11dga_c.h:28,
from SDL_x11dga.c:36:
SDL_x11video.h:37:33: error: X11/extensions/XShm.h: No such file or directory
In file included from SDL_x11dga_c.h:28,
from SDL_x11dga.c:36:
SDL_x11video.h:77: error: expected specifier-qualifier-list before 'XShmSegmentInfo'
make[3]: *** [SDL_x11dga.lo] Error 1
make[3]: Leaving directory `/home/roberto/SDL/SDL/src/video/x11'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/roberto/SDL/SDL/src/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/roberto/SDL/SDL/src'
make: *** [all-recursive] Error 1
|
how to fix this? :S |
Ever thought of reading the README.PSP file? :)
You're compiling for a computer not PSP.
Wally |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|