Hallo!
Also habe die Updates fertig und das hat nichts gebracht, zumindest bei glibc...
Allerdings habe ich da nun einen anderen Fehler:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
arm-unknown-linux-gnu-gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,-dynamic-linker=/lib/ld-linux.so.2 -B/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/ -B/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/csu/ -B/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/ -Wl,--version-script=/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/libpthread.map -Wl,-soname=libpthread.so.0 -Wl,-z,combreloc -Wl,-z,relro -Wl,--enable-new-dtags,-z,nodelete -Wl,--enable-new-dtags,-z,initfirst -L/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads -L/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/math -L/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/elf -L/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/dlfcn -L/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/nss -L/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/nis -L/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/rt -L/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/resolv -L/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/crypt -L/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads -Wl,-rpath-link=/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads:/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/math:/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/elf:/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/dlfcn:/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/nss:/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/nis:/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/rt:/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/resolv:/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/crypt:/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads -o /var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/libpthread.so -T /var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/shlib.lds /var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/csu/abi-note.o -Wl,--whole-archive /var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a -Wl,--no-whole-archive /var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/elf/interp.os /var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/libc.so /var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/libc_nonshared.a /var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/elf/ld.so
/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os): In function `__pthread_reset_main_thread':
pthread.c:(.text+0x854): undefined reference to `_res'
pthread.c:(.text+0x858): undefined reference to `_errno'
pthread.c:(.text+0x85c): undefined reference to `_h_errno'
/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os): In function `pthread_initialize':
pthread.c:(.text+0xe94): undefined reference to `_res'
/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os):(.data.rel+0x1b8): undefined reference to `_errno'
/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os):(.data.rel+0x1c0): undefined reference to `_h_errno'
/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os):(.data.rel+0x1c8): undefined reference to `_res'
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/libpthread.so] Error 1
make[2]: Leaving directory `/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/glibc-2.5/linuxthreads'
make[1]: *** [linuxthreads/others] Error 2
make[1]: Leaving directory `/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r1/work/glibc-2.5'
make: *** [all] Error 2
|
Ach du Sch****!
Alles falsch!
Also habe grade was rausgefunden, ich hatte ihm vergessen zu sagen welchen Kernel er eigentlich verwenden soll, da ich auf dem PDA ein 2.4.19 laufen habe.
Gesagt getan: Problem!
Er meint, dass de Kernel-Headers nicht für arm geeignet sind, ich soll nach einem Paket mit der Bezeichnung arm-headers-* suchen. Problem ist 1. dass es dieses Paket nicht gibt, 2. selbst wenn ich es finde, wie soll ich ihm, sagen, dass er das verwenden soll? Und 3. hat er aus dem 2.4.19 Headers mal eben ein 2.2.26 gemacht, keine Ahnung warum!