View Single Post
farfary's Avatar
Posts: 147 | Thanked: 300 times | Joined on Mar 2012 @ ^^ IRAN ^^ - Tehran :D
#1
Hi Every One
I want to Compile Libsdlpre for Harmattan
and this error

Code:
[root@chroot: /home/preenv-preenv] make libsdlpre
make -C "libsdlpre" all
make[1]: Entering directory `/home/preenv-preenv/libsdlpre'
cc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Os -Wall -I. -o global.o -c global.c
In file included from /usr/include/SDL/SDL_mouse.h:32,
                 from /usr/include/SDL/SDL_events.h:35,
                 from /usr/include/SDL/SDL.h:37,
                 from global.h:4,
                 from global.c:1:
/usr/include/SDL/SDL_video.h:469: warning: null character(s) ignored
cc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Os -Wall -I. -o pdl.o -c pdl.c
In file included from /usr/include/SDL/SDL_mouse.h:32,
                 from /usr/include/SDL/SDL_events.h:35,
                 from /usr/include/SDL/SDL.h:37,
                 from global.h:4,
                 from pdl.c:7:
/usr/include/SDL/SDL_video.h:469: warning: null character(s) ignored
cc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Os -Wall -I. -o gl.o -c gl.c
In file included from /usr/include/SDL/SDL_mouse.h:32,
                 from /usr/include/SDL/SDL_events.h:35,
                 from /usr/include/SDL/SDL.h:37,
                 from gl.c:4:
/usr/include/SDL/SDL_video.h:469: warning: null character(s) ignored
gl.c: In function 'glLoadIdentity':
gl.c:284: warning: enumeration value 'PDL_ORIENTATION_0' not handled in switch
gl.c:284: warning: enumeration value 'PDL_ORIENTATION_90' not handled in switch
gl.c:284: warning: enumeration value 'PDL_ORIENTATION_180' not handled in switch
cc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Os -Wall -I. -o joystick.o -c joystick.c
In file included from /usr/include/SDL/SDL_mouse.h:32,
                 from /usr/include/SDL/SDL_events.h:35,
                 from /usr/include/SDL/SDL.h:37,
                 from joystick.c:5:
/usr/include/SDL/SDL_video.h:469: warning: null character(s) ignored
cc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Os -Wall -I. -o cinema.o -c cinema.c
In file included from /usr/include/SDL/SDL_mouse.h:32,
                 from /usr/include/SDL/SDL_events.h:35,
                 from /usr/include/SDL/SDL.h:37,
                 from cinema.c:2:
/usr/include/SDL/SDL_video.h:469: warning: null character(s) ignored
cc  -shared -o libsdlpre.so global.o pdl.o gl.o joystick.o cinema.o -L/usr/lib -lSDL -lpthread -lSDL_gles -ldl
/usr/bin/ld: cannot find -lSDL_gles
collect2: ld returned 1 exit status
make[1]: *** [libsdlpre.so] Error 1
make[1]: Leaving directory `/home/preenv-preenv/libsdlpre'
make: *** [libsdlpre] Error 2
can help me ?