GP2X Compiling Open2x's Sdl


efegea

Active Member
Joined
Aug 8, 2005
Messages
636
Age
38
Location
GP32Spain, Spain
I've got compiled libjpeg, libpng,libmad,freetype,libtremor and libid3tag from open2x CVS sources, but SDL stops compiling at this:

Code:
arm-unknown-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.7\" -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. -I. -g -O2 -fexpensive-optimizations -Wall -DDISKAUD_SUPPORT -DUSE_DLOPEN -DOSS_SUPPORT -DENABLE_FBCON -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -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_fbevents.lo -MD -MP -MF .deps/SDL_fbevents.Tpo -c SDL_fbevents.c  -fPIC -DPIC -o .libs/SDL_fbevents.o
SDL_fbevents.c:103:1: warning: "/*" within comment
SDL_fbevents.c: In function `FB_OpenKeyboard':
SDL_fbevents.c:349: warning: unused variable `vcs'
SDL_fbevents.c: In function `switch_vt':
SDL_fbevents.c:962: error: invalid lvalue in assignment
SDL_fbevents.c: At top level:
SDL_fbevents.c:148: warning: 'FB_vgainitkeymaps' defined but not used
make[3]: *** [SDL_fbevents.lo] Error 1
make[3]: Leaving directory `/home/frajan/cvs/open2x/libs-gp2x/SDL/src/video/fbcon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/frajan/cvs/open2x/libs-gp2x/SDL/src/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/frajan/cvs/open2x/libs-gp2x/SDL/src'
make: *** [all-recursive] Error 1

:(

I've been using a compiled by myself vanilla SDL from libsdl.org, but the open2x version doesn't compile
 
I have the same problem. I tried to solve it with DJWillis on irc last night but we didn't get anywhere :-(

Andrew
 
andrew_j_w posted on Dec 14 2005 at 11:35 AM said:
I have the same problem. I tried to solve it with DJWillis on irc last night but we didn't get anywhere :-(

Andrew
I solved with some random "make clean" and "configure" (be sure to use all the the relevant --disable and --enable when running ./configure)
 
Last edited by a moderator:
Oscaruzzo posted on Dec 14 2005 at 10:39 AM said:
andrew_j_w posted on Dec 14 2005 at 11:35 AM said:
I have the same problem. I tried to solve it with DJWillis on irc last night but we didn't get anywhere :-(

Andrew
I solved with some random "make clean" and "configure" (be sure to use all the the relevant --disable and --enable when running ./configure)

Oscaruzzo, if you could compile them, could you upload SDL libs to somewhere, please? :)

At the moment we can get a completely functional pack of SDL libs, GP2X scene will grow much faster than now B)

Thanks
 
Last edited by a moderator:
Puck2099 posted on Dec 14 2005 at 12:19 PM said:
At the moment we can get a completely functional pack of SDL libs, GP2X scene will grow much faster than now B)

Thanks
Theoddbot posted them here.
 
Last edited by a moderator:
Oscaruzzo posted on Dec 14 2005 at 09:39 AM said:
andrew_j_w posted on Dec 14 2005 at 11:35 AM said:
I have the same problem. I tried to solve it with DJWillis on irc last night but we didn't get anywhere :-(

Andrew
I solved with some random "make clean" and "configure" (be sure to use all the the relevant --disable and --enable when running ./configure)

What was your configure line? I used the one given in the Readme file...

Andrew
 
Last edited by a moderator:
Back
Top