2011/05/06

startup pattern2 : kinect hacks for linux/centos

1. download
http://www.openni.org/downloadfiles/openni-binaries/21-stable
OpenNI Stable Build for Ubuntu 10.10 x86 (32-bit) v1.1.0.37

2
2-1. ./install.sh

2-2. A error is occured. libusb1.0 not found.

- download
http://www.rpmfind.net/linux/rpm2html/search.php?query=libusb-1.0.so.0

- rpm -ivh libusb-*-.rpm

2-3. A error is occured. glibc-2.12 not found (required by /usr/lib/libOpenNI.so)
http://ftp.gnu.org/pub/gnu/glibc/glibc-2.12.2.tar.gz





1 件のコメント:

  1. Hi,

    I cannot get glibc-2.12 compiled on Ubuntu.

    I'm getting the following error:

    gcc -nostdlib -nostartfiles -shared \
    -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs -Wl,--verbose 2>&1 | \
    LC_ALL=C \
    sed -e '/^=========/,/^=========/!d;/^=========/d' \
    -e 's/\. = .* + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
    > /home/caio/Downloads/glibc-build/elf/ld.so.lds
    gcc -nostdlib -nostartfiles -shared -o /home/caio/Downloads/glibc-build/elf/ld.so \
    -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs \
    /home/caio/Downloads/glibc-build/elf/librtld.os -Wl,--version-script=/home/caio/Downloads/glibc-build/ld.map \
    -Wl,-soname=ld-linux.so.2 -T /home/caio/Downloads/glibc-build/elf/ld.so.lds
    /home/caio/Downloads/glibc-build/elf/librtld.os: In function `print_statistics':
    /home/caio/Downloads/glibc-2.13/elf/rtld.c:2853: undefined reference to `__stack_chk_fail_local'
    /home/caio/Downloads/glibc-build/elf/librtld.os: In function `process_dl_debug':
    /home/caio/Downloads/glibc-2.13/elf/rtld.c:2489: undefined reference to `__stack_chk_fail_local'
    /home/caio/Downloads/glibc-build/elf/librtld.os: In function `process_envvars':
    /home/caio/Downloads/glibc-2.13/elf/rtld.c:2748: undefined reference to `__stack_chk_fail_local'
    /home/caio/Downloads/glibc-build/elf/librtld.os: In function `dl_main':
    /home/caio/Downloads/glibc-2.13/elf/rtld.c:2369: undefined reference to `__stack_chk_fail_local'
    /home/caio/Downloads/glibc-build/elf/librtld.os: In function `print_search_path':
    /home/caio/Downloads/glibc-2.13/elf/dl-load.c:1548: undefined reference to `__stack_chk_fail_local'
    /home/caio/Downloads/glibc-build/elf/librtld.os:/home/caio/Downloads/glibc-2.13/elf/dl-load.c:1798: more undefined references to `__stack_chk_fail_local' follow
    /usr/bin/ld: /home/caio/Downloads/glibc-build/elf/ld.so: hidden symbol `__stack_chk_fail_local' isn't defined
    /usr/bin/ld: final link failed: Nonrepresentable section on output
    collect2: ld returned 1 exit status
    make[2]: *** [/home/caio/Downloads/glibc-build/elf/ld.so] Error 1
    make[2]: Leaving directory `/home/caio/Downloads/glibc-2.13/elf'
    make[1]: *** [elf/subdir_lib] Error 2
    make[1]: Leaving directory `/home/caio/Downloads/glibc-2.13'
    make: *** [all] Error 2
    root@padawan:/home/caio/Downloads/glibc-build#

    返信削除