geexbox 2.0 build error?

Home Forums Feedback geexbox 2.0 build error?

This topic contains 11 replies, has 2 voices, and was last updated by  ryan.fu.y 8 years ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #899

    ryan.fu.y
    Member

    It seem’s that eglibc build error, output as follow:

    binutils already installed, skipping…
    INSTALLDEV eglibc
    PACKAGEDEV eglibc
    CLEAN eglibc
    UNPACK eglibc
    ## Applying patch: packages/eglibc/patches/05_eglibc-2.13-14178-Handle_DSOs_without_any_dependency_in_ld_so.diff
    patching file elf/dl-deps.c
    Hunk #1 succeeded at 613 (offset -4 lines).
    patching file elf/dl-fini.c
    ## Applying patch: packages/eglibc/patches/10_eglibc-2.11-libgcc_eh-1.diff
    patching file Makeconfig
    Hunk #1 succeeded at 547 (offset 9 lines).
    patching file config.make.in
    Hunk #1 succeeded at 65 (offset 1 line).
    patching file configure.in
    Hunk #1 succeeded at 1556 (offset 51 lines).
    ## Applying patch: packages/eglibc/patches/15_eglibc-2.13-14178-select_fd_type.diff
    patching file misc/sys/select.h
    BUILD eglibc
    gcc-core already installed, skipping…
    linux-headers already installed, skipping…
    configure: loading cache config.cache
    checking build system type… i686-pc-linux-gnu
    checking host system type… i586-openbricks-linux-gnu
    checking for i586-openbricks-linux-gnu-gcc… /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-gcc
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-gcc accepts -g… yes
    checking for /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-gcc option to accept ISO C89… unsupported
    checking for gcc… /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/host-gcc
    checking how to run the C preprocessor… /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-gcc -E
    checking whether we are using the GNU C++ compiler… no
    checking whether /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-g++ accepts -g… no
    configure: running configure fragment for add-on libidn
    configure: running configure fragment for add-on linuxthreads
    linuxthreads disabled because nptl add-on is also in use
    configure: running configure fragment for add-on nptl
    checking add-on ports for preconfigure fragments… alpha am33 arm hppa m68k mips powerpc
    checking for assembler gnu_indirect_function symbol type support… yes
    checking whether .text pseudo-op must be used… yes
    checking for assembler global-symbol directive… .globl
    checking for assembler .type directive prefix… @
    checking sysdep dirs… sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i586 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet ports/sysdeps/unix/sysv/i386 sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix nptl/sysdeps/i386/i586 sysdeps/i386/i586 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
    checking for a BSD-compatible install… /usr/bin/install -c
    checking whether ln -s works… yes
    checking for i586-openbricks-linux-gnu-ranlib… /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-ranlib
    checking whether /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-as is GNU as… yes
    checking whether /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-ld.gold is GNU ld… yes
    checking for /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-as… /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-as
    checking version of /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-as… 2.21.52.0.2.20110610, ok
    checking for /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-ld.gold… /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-ld.gold
    checking version of /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-ld.gold… v. ?.??, bad
    checking for pwd… /bin/pwd
    checking for i586-openbricks-linux-gnu-gcc… (cached) /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-gcc
    checking version of /work/geexbox-2.0/build/build.i386.eglibc/toolchain/bin/i586-openbricks-linux-gnu-gcc… 4.6.1, ok
    checking for gnumake… no
    checking for gmake… gmake
    checking version of gmake… 3.81, ok
    checking for gnumsgfmt… no
    checking for gmsgfmt… no
    checking for msgfmt… msgfmt
    checking version of msgfmt… 0.18.1, ok
    checking for makeinfo… makeinfo
    checking version of makeinfo… 4.13, ok
    checking for sed… sed
    checking version of sed… 4.1.4, ok
    checking for autoconf… autoconf
    checking whether autoconf works… yes
    configure: error:
    *** These critical programs are missing or too old: ld
    *** Check the INSTALL file for required versions.
    make: *** [rootfs] Error 1

    #900

    tomlohave
    Keymaster

    remove GOLD linker and and LTO optimizations in toolchain settings

    #911

    ryan.fu.y
    Member

    Thanks your response, It’s ok.

    #912

    ryan.fu.y
    Member

    something wrong again:
    CC gspawn.lo
    CCLD libglib-2.0.la

    *** Warning: Linking the shared library libglib-2.0.la against the non-libtool
    *** objects glib_probes.o is not portable!
    CC gtester.o
    CCLD gtester
    ./.libs/libglib-2.0.a(gslice.o):(.note.stapsdt+0x1c): undefined reference to `glib_slice__alloc_semaphore’
    ./.libs/libglib-2.0.a(gslice.o):(.note.stapsdt+0x60): undefined reference to `glib_slice__free_semaphore’
    ./.libs/libglib-2.0.a(gmem.o):(.note.stapsdt+0x1c): undefined reference to `glib_mem__alloc_semaphore’
    ./.libs/libglib-2.0.a(gmem.o):(.note.stapsdt+0x68): undefined reference to `glib_mem__alloc_semaphore’
    ./.libs/libglib-2.0.a(gmem.o):(.note.stapsdt+0xb0): undefined reference to `glib_mem__alloc_semaphore’
    ./.libs/libglib-2.0.a(gmem.o):(.note.stapsdt+0xfc): undefined reference to `glib_mem__alloc_semaphore’
    ./.libs/libglib-2.0.a(gmem.o):(.note.stapsdt+0x144): undefined reference to `glib_mem__realloc_semaphore’
    ./.libs/libglib-2.0.a(gmem.o):(.note.stapsdt+0x194): undefined reference to `glib_mem__realloc_semaphore’
    ./.libs/libglib-2.0.a(gmem.o):(.note.stapsdt+0x1e0): undefined reference to `glib_mem__free_semaphore’
    ./.libs/libglib-2.0.a(gmem.o):(.note.stapsdt+0x218): undefined reference to `glib_mem__alloc_semaphore’
    ./.libs/libglib-2.0.a(gmem.o):(.note.stapsdt+0x264): undefined reference to `glib_mem__realloc_semaphore’
    ./.libs/libglib-2.0.a(gdataset.o):(.note.stapsdt+0x1c): undefined reference to `glib_quark__new_semaphore’
    ./.libs/libglib-2.0.a(gdataset.o):(.note.stapsdt+0x5c): undefined reference to `glib_quark__new_semaphore’
    ./.libs/libglib-2.0.a(gdataset.o):(.note.stapsdt+0x9c): undefined reference to `glib_quark__new_semaphore’
    ./.libs/libglib-2.0.a(gdataset.o):(.note.stapsdt+0xdc): undefined reference to `glib_quark__new_semaphore’
    collect2: ld returned 1 exit status

    ???

    #917

    ryan.fu.y
    Member

    I try to use uclibc to build, but something wrong with curl:
    configure:21739: detected GnuTLS version unknown
    configure:21746: Added /work/geexbox-2.0/build/build.i386.uclibc/toolchain/i586-op
    enbricks-linux-uclibc/sysroot/usr/local/lib to LD_LIBRARY_PATH
    configure:21757: checking for gcry_control in -lgcrypt
    configure:21779: /work/geexbox-2.0/build/build.i386.uclibc/toolchain/bin/i586-open
    bricks-linux-uclibc-gcc -o conftest -Ofast -fexcess-precision=fast -march=i586 -mt
    une=generic -Wall -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -isystem /work/
    geexbox-2.0/build/build.i386.uclibc/toolchain/i586-openbricks-linux-uclibc/sysroot
    /usr/local/include -isystem /work/geexbox-2.0/build/build.i386.uclibc/toolchain/i5
    86-openbricks-linux-uclibc/sysroot/usr/include -g0 -O2 -Wno-system-headers -I/wor
    k/geexbox-2.0/build/build.i386.uclibc/toolchain/i586-openbricks-linux-uclibc/sysro
    ot/usr/local/include -L/work/geexbox-2.0/build/build.i386.uclibc/toolchain/i586-
    openbricks-linux-uclibc/sysroot/lib -L/work/geexbox-2.0/build/build.i386.uclibc/to
    olchain/i586-openbricks-linux-uclibc/sysroot/usr/lib -L/work/geexbox-2.0/build/bui
    ld.i386.uclibc/toolchain/i586-openbricks-linux-uclibc/sysroot/usr/local/lib -L/wo
    rk/geexbox-2.0/build/build.i386.uclibc/toolchain/i586-openbricks-linux-uclibc/sysr
    oot/usr/local/lib conftest.c -lgcrypt -lz -lgnutls >&5
    /work/geexbox-2.0/build/build.i386.uclibc/toolchain/bin/ccache: error while loadin
    g shared libraries: libc.so.0: cannot open shared object file: No such file or dir
    ectory

    but I create link the libc.so.0 to libc.so in the sysroot/usr/lib folder and make again, it also report error like that……

    #920

    tomlohave
    Keymaster

    geexbos use eglibc, so
    ./scripts/loadcfg geexbox-xbmc-i386-generic
    make quickclean
    make

    #932

    ryan.fu.y
    Member

    I created 2 link file (libc.so.0 -> ../../../lib/libuClibc-0.9.33-git.so ld-uClibc.so.0 -> ../../../lib/ld-uClibc.so.0)in sysroot/usr/local/lib resolved the problem” libc.so.0: cannot open shared object file: No such file or dir ectory”

    #934

    ryan.fu.y
    Member

    but GLib can’t build also use ucLibc….
    I find that the same problem reported in gnome’s bugzilla and it’s status is resolved?

    #935

    tomlohave
    Keymaster

    Please submit this to the devel list

    #938

    ryan.fu.y
    Member

    The bug list in gnome seems like build use static mode, and I change build option to –enable-shared –disable-static, it’ll be builded…

    #955

    ryan.fu.y
    Member

    Anyone build geexbox2.0 ok with static mode?

    #960

    ryan.fu.y
    Member

    When I build Python, another error happened:
    ImportError: No module named _socket

    then I uncommoned 2 line of the Setup:
    _socket socketmodule.c
    _functools _functoolsmodule.c

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.