View Single Post
Posts: 268 | Thanked: 75 times | Joined on Jan 2011
#70
Now i did everything on fremantle. I added the sources and i run apt-get update. But when i try to install the libs, i get this:

[sbox-FREMANTLE_ARMEL: ~] > apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img libsdl-gles1.2-1
Reading package lists... Done
Building dependency tree... Done
libsdl1.2 is already the newest version.
libgles1-sgx-img is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
libgcc1: Depends: gcc-4.6-base (= 4.6.1-maemo6) but it is not going to be installed
libsdl-mixer1.2: Depends: libogg0 (>= 1:1.1.3) but it is not going to be installed
Depends: libsmpeg0 but it is not going to be installed
Depends: libvorbis0a (>= 1.2.3.tk1) but it is not going to be installed
Depends: libvorbisfile3 (>= 1.2.3.tk1) but it is not going to be installed
libsdl-mixer1.2-dev: Depends: libsdl-mixer1.2 (= 1:1.2.6-5+0m5)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
[sbox-FREMANTLE_ARMEL: ~] > fakeroot apt-get install libsdl-gles1.2-dev
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
libgcc1: Depends: gcc-4.6-base (= 4.6.1-maemo6) but it is not going to be installed
libsdl-gles1.2-dev: Depends: libsdl-gles1.2-1 (= 1.0.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

When i run apt-get -f install:

[sbox-FREMANTLE_ARMEL: ~] > apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
gcc-4.6-base
The following NEW packages will be installed:
gcc-4.6-base
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
1 not fully installed or removed.
Need to get 0B/136kB of archives.
After unpacking 209kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
gcc-4.6-base
Install these packages without verification [y/N]? y
dpkg: regarding .../gcc-4.6-base_4.6.1-maemo6_armel.deb containing gcc-4.6-base:
package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/gcc-4.6-base_4.6.1-maemo6_armel.deb (--unpack):
unsupported dependency problem - not installing gcc-4.6-base
Errors were encountered while processing:
/var/cache/apt/archives/gcc-4.6-base_4.6.1-maemo6_armel.deb
E: Sub-process /scratchbox/devkits/debian-etch/bin/dpkg returned an error code (1)
and now when i try to build apkenv, i get this:

[sbox-FREMANTLE_ARMEL: ~/apkenv-master] > FREMANTLE=1 DEBUG=1 make
CC compat/gles_wrappers.o
compat/gles_wrappers.c: In function 'my_glIsRenderbufferOES':
compat/gles_wrappers.c:1184: warning: control reaches end of non-void function
compat/gles_wrappers.c: In function 'my_glIsFramebufferOES':
compat/gles_wrappers.c:1220: warning: control reaches end of non-void function
compat/gles_wrappers.c: In function 'my_glCheckFramebufferStatusOES':
compat/gles_wrappers.c:1244: warning: control reaches end of non-void function
compat/gles_wrappers.c: In function 'my_glQueryMatrixxOES':
compat/gles_wrappers.c:1298: warning: control reaches end of non-void function
compat/gles_wrappers.c: In function 'my_glMapBufferOES':
compat/gles_wrappers.c:1406: warning: control reaches end of non-void function
compat/gles_wrappers.c: In function 'my_glUnmapBufferOES':
compat/gles_wrappers.c:1412: warning: control reaches end of non-void function
compat/gles_wrappers.c: In function 'my_glGetTexStreamDeviceNameIMG':
compat/gles_wrappers.c:1436: warning: control reaches end of non-void function
CC compat/hooks.o
CC compat/libc_wrappers.o
CC compat/liblog_wrappers.o
CC compat/pthread_wrappers.o
CC apklib/apklib.o
CC apklib/ioapi.o
CC apklib/ioapi_mem.o
CC apklib/unzip.o
CC jni/jnienv.o
CC jni/shlib.o
LINK apkenv
/scratchbox/compilers/cs2007q3-glibc2.5-arm7/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lSDL_gles
collect2: ld returned 1 exit status
make: *** [apkenv] Error 1