efegea
Active Member
I've got compiled libjpeg, libpng,libmad,freetype,libtremor and libid3tag from open2x CVS sources, but SDL stops compiling at this:

I've been using a compiled by myself vanilla SDL from libsdl.org, but the open2x version doesn't compile
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