[Openembedded-users] building linux from a devshell

Caglar Akyuz caglarakyuz at gmail.com
Wed Feb 2 21:09:13 UTC 2011


On Wednesday 02 February 2011 10:53:09 pm Charles Krinke wrote:
> Coolness, Caglar, that makes a linux compile proceed and I thank you
>  kindly.
> 
> One last question: Is there a place on the wiki or elsewhere for OE that
> describes the "unset LDFLAGS" nuance (and other nuances perhaps) that I
> could read and be prepared for the next issue?
> 

I don't think so. Manual is getting a bit old. There isn't any other up-to-
date doc either.

I wish bitbake had a shell logging facility which would log every action while 
Koen and others playing with their local OE copies and then upload these info 
to a public server so that we could learn how they fixed something :) Until 
then we dig into recipe files to find solutions.

Regards,
Caglar

> Charles
> 
> On Wed, Feb 2, 2011 at 11:01 AM, Caglar Akyuz <caglarakyuz at gmail.com> wrote:
> > On Wednesday 02 February 2011 07:44:36 pm Charles Krinke wrote:
> > > 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 think you need to type following before make:
> >
> > $unset LDFLAGS
> >
> > Regards,
> > Caglar
> >
> > > 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/u
> >sr
> >
> > > /lib'
> > >
> > > Charles
> > >
> > > ckrinke at debian
> > >
> > :~/oe/tmp/work/mpc8313e-rdb-angstrom-linux/linux-2.6.33-r2/li
> > :
> > > nux-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/li
> > :
> > > nux-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/u
> >sr
> >
> > > /lib' powerpc-angstrom-linux-ld: use the --help option for usage
> > >  information make[1]: *** [init/mounts.o] Error 1
> > > make: *** [init] Error 2
> 




More information about the Openembedded-users mailing list