SDL installation problem

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
roby65
Posts: 52
Joined: Sun Jun 01, 2008 9:12 pm
Location: Mid Italy
Contact:

SDL installation problem

Post by roby65 »

i'm trying to install SDL into toolchain, i never get errors until i do "make"...
this is what i get:

Code: Select all

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
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Re: SDL installation problem

Post by Wally »

roby65 wrote:i'm trying to install SDL into toolchain, i never get errors until i do "make"...
this is what i get:

Code: Select all

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
Post Reply