Loading ...
Sorry, an error occurred while loading the content.

Building openslug-image using the master makefile

Expand Messages
  • Tim Giffney
    Hi, Today I ve been trying to build openslug unstable using the master makefile, following instructions at
    Message 1 of 1 , Oct 3, 2006
    • 0 Attachment
      Hi,
      Today I've been trying to build openslug unstable using the master
      makefile, following instructions at
      http://www.nslu2-linux.org/wiki/Development/MasterMakefile. A large
      portion of the build ran fine until:

      NOTE: package e2fsprogs-1.38-r6: task do_compile: started
      ERROR: function do_compile failed

      Heres the full output:

      swift@lithium ~/slug-unstable $ make openslug image
      ( cd openslug ; make -k image )
      make[1]: Entering directory `/home/swift/slug-unstable/openslug'
      . conf/topdir.conf && test "`pwd`" = "$TOPDIR" || echo "TOPDIR='`pwd`'"
      > conf/topdir.conf
      . ./setup-env; exec bitbake -k "openslug"-image
      NOTE: Using cache in '/home/swift/slug-unstable/openslug/tmp/cache'
      NOTE: Handling BitBake files: \ (4032/4032) [100 %]
      NOTE: Parsing finished. 3925 cached, 0 parsed, 107 skipped, 0 masked.

      NOTE: build 200610032159: started

      OE Build Configuration:
      BB_VERSION = "1.6.1"
      OE_REVISION = "dd66ed0d36e8b326fe21346223d64a19c15aa734"
      TARGET_ARCH = "armeb"
      TARGET_OS = "linux"
      MACHINE = "nslu2"
      DISTRO = "openslug"
      DISTRO_VERSION = "4.0-beta"
      TARGET_FPU = "soft"

      NOTE: package e2fsprogs-1.38: started
      NOTE: package e2fsprogs-1.38-r6: task do_compile: started
      ERROR: function do_compile failed
      ERROR: see log in
      /home/swift/slug-unstable/openslug/tmp/work/e2fsprogs-1.38-r6/temp/log.do_compile.30399
      NOTE: Task failed:
      /home/swift/slug-unstable/openslug/tmp/work/e2fsprogs-1.38-r6/temp/log.do_compile.30399
      NOTE: package e2fsprogs-1.38-r6: task do_compile: failed
      ERROR: TaskFailed event exception, aborting
      NOTE: package e2fsprogs-1.38: failed
      ERROR: Build of openslug-image failed
      NOTE: build 200610032159: completed
      Build statistics:
      Attempted builds: 1
      Failed builds: 1
      make[1]: *** [image] Error 1
      make[1]: Leaving directory `/home/swift/slug-unstable/openslug'
      make: *** [openslug] Error 2

      And the end portion of the log file - the first portion looks ok:

      make[4]: Leaving directory
      `/home/swift/slug-unstable/openslug/tmp/work/e2fsprogs-1.38-r6/e2fsprogs-1.38/lib/ext2fs'
      making all in lib/uuid
      make[4]: Entering directory
      `/home/swift/slug-unstable/openslug/tmp/work/e2fsprogs-1.38-r6/e2fsprogs-1.38/lib/uuid'
      LD tst_uuid
      /usr/libexec/gcc/armeb-linux/ld: warning: ld-linux.so.2, needed by
      /home/swift/slug-unstable/openslug/tmp/cross/lib/gcc/armeb-linux/4.1.1/../../../../armeb-linux/lib/libc.so.6,
      not found (try using -rpath or -rpath-link)
      /home/swift/slug-unstable/openslug/tmp/cross/lib/gcc/armeb-linux/4.1.1/../../../../armeb-linux/lib/libc.so.6:
      undefined reference to `_rtld_global@GLIBC_PRIVATE'
      /home/swift/slug-unstable/openslug/tmp/cross/lib/gcc/armeb-linux/4.1.1/../../../../armeb-linux/lib/libc.so.6:
      undefined reference to `__libc_enable_secure@GLIBC_PRIVATE'
      /home/swift/slug-unstable/openslug/tmp/cross/lib/gcc/armeb-linux/4.1.1/../../../../armeb-linux/lib/libc.so.6:
      undefined reference to `__libc_stack_end@GLIBC_2.1'
      /home/swift/slug-unstable/openslug/tmp/cross/lib/gcc/armeb-linux/4.1.1/../../../../armeb-linux/lib/libc.so.6:
      undefined reference to `_rtld_global_ro@GLIBC_PRIVATE'
      /home/swift/slug-unstable/openslug/tmp/cross/lib/gcc/armeb-linux/4.1.1/../../../../armeb-linux/lib/libc.so.6:
      undefined reference to `_dl_argv@GLIBC_PRIVATE'
      collect2: ld returned 1 exit status
      make[4]: *** [tst_uuid] Error 1
      make[4]: Leaving directory
      `/home/swift/slug-unstable/openslug/tmp/work/e2fsprogs-1.38-r6/e2fsprogs-1.38/lib/uuid'
      make[3]: *** [all-libs-recursive] Error 1
      make[3]: Leaving directory
      `/home/swift/slug-unstable/openslug/tmp/work/e2fsprogs-1.38-r6/e2fsprogs-1.38'
      make[2]: *** [all] Error 2
      make[2]: Leaving directory
      `/home/swift/slug-unstable/openslug/tmp/work/e2fsprogs-1.38-r6/e2fsprogs-1.38'
      FATAL: oe_runmake failed

      So I hunted around - at the moment thinking that
      "/usr/libexec/gcc/armeb-linux/ld: warning: ld-linux.so.2, needed by
      collect2: ld returned 1 exit status"
      ld-linux.so.2 is causing the problem. Only I don't have a clue how to
      fix it. This package built fine using the 3.10 slugos release, it is
      only with the unstable that it is failing.

      I then excluded e2fsprogs from the flash image by editing the bitbake
      file and restarted the build, which continued fine going past where it
      was until it tried to compile makedevs. Which failed with the same error:

      /usr/libexec/gcc/armeb-linux/ld: warning: ld-linux.so.2, needed by
      /home/swift/slug-unstable/openslug/tmp/cross/lib/gcc/armeb-linux/4.1.1/../../../../armeb-linux/lib/libc.so.6,
      not found (try using -rpath or -rpath-link)
      /home/swift/slug-unstable/openslug/tmp/cross/lib/gcc/armeb-linux/4.1.1/../../../../armeb-linux/lib/libc.so.6:
      undefined reference to `_rtld_global@GLIBC_PRIVATE'
      /home/swift/slug-unstable/openslug/tmp/cross/lib/gcc/armeb-linux/4.1.1/../../../../armeb-linux/lib/libc.so.6:
      undefined reference to `__libc_enable_secure@GLIBC_PRIVATE'
      /home/swift/slug-unstable/openslug/tmp/cross/lib/gcc/armeb-linux/4.1.1/../../../../armeb-linux/lib/libc.so.6:
      undefined reference to `__libc_stack_end@GLIBC_2.1'
      /home/swift/slug-unstable/openslug/tmp/cross/lib/gcc/armeb-linux/4.1.1/../../../../armeb-linux/lib/libc.so.6:
      undefined reference to `_rtld_global_ro@GLIBC_PRIVATE'
      /home/swift/slug-unstable/openslug/tmp/cross/lib/gcc/armeb-linux/4.1.1/../../../../armeb-linux/lib/libc.so.6:
      undefined reference to `_dl_argv@GLIBC_PRIVATE'
      collect2: ld returned 1 exit status

      I decided I shouldn't remove makedevs from the flash image - it's needed
      isn't it? So I stopped there and looked for the cause of the problem,
      which I haven't found yet. Can anybody help me out ? - I'd like to get
      this built.

      Thanks in advance,
      Tim
    Your message has been successfully submitted and would be delivered to recipients shortly.