[Openembedded-users] building linux from a devshell
Caglar Akyuz
caglarakyuz at gmail.com
Wed Feb 2 19:01:43 UTC 2011
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/usr
> /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/usr
> /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