[Openembedded-users] building linux from a devshell

Charles Krinke charles.krinke at gmail.com
Wed Feb 2 17:44:36 UTC 2011


Gentlemen:

I'm working with bitbake 1.10.2 and a git pull from openembedded last week
and trying to get a devshell to compile the linux kernel.

When I do "bitbake -c devshell linux", I get a new bash and can then type
"make" and the linux kernel make starts. But, shortly into the make, I get
this error and wonder if someone can give me a clue "why"?

I thought that a devshell would have had the environment setup. Maybe I have
an underlying issue I dont yet understand??

powerpc-angstrom-linux-ld: unrecognized option
'-Wl,-rpath-link,/home/ckrinke/oe/tmp/sysroots/ppce300c3-angstrom-linux/usr/lib'

Charles

ckrinke at debian:~/oe/tmp/work/mpc8313e-rdb-angstrom-linux/linux-2.6.33-r2/linux-2.6.33$
ls
COPYING        Makefile        arch        firmware  kernel
net       tools           vmlinux.o
CREDITS        Module.symvers  block       fs        lib
samples   usr
Documentation  README          crypto      include   mm
scripts   virt
Kbuild         REPORTING-BUGS  devicetree  init      modules.builtin
security  vmlinux
MAINTAINERS    System.map      drivers     ipc       modules.order
sound     vmlinux.bin.gz
ckrinke at debian:~/oe/tmp/work/mpc8313e-rdb-angstrom-linux/linux-2.6.33-r2/linux-2.6.33$
make
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CC      kernel/bounds.s
  GEN     include/generated/bounds.h
  CC      arch/powerpc/kernel/asm-offsets.s
  GEN     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
<stdin>:1523:2: warning: #warning syscall recvmmsg not implemented
  CC      scripts/mod/empty.o
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  CC      init/main.o
  CHK     include/generated/compile.h
  CC      init/version.o
  CC      init/do_mounts.o
  CC      init/do_mounts_rd.o
  CC      init/do_mounts_initrd.o
  CC      init/do_mounts_md.o
  LD      init/mounts.o
powerpc-angstrom-linux-ld: unrecognized option
'-Wl,-rpath-link,/home/ckrinke/oe/tmp/sysroots/ppce300c3-angstrom-linux/usr/lib'
powerpc-angstrom-linux-ld: use the --help option for usage information
make[1]: *** [init/mounts.o] Error 1
make: *** [init] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20110202/5f6ef7af/attachment-0002.html>


More information about the Openembedded-users mailing list