Ok, 1st of all just build core-image-minimal won't give you libraries that you'll need to do cross development. The simplest way to build a cross toolchain and sysroot that match your target image is to do "bitbake core-image-mininal -c populate_sdk". That'll generate a SDK tarball for you. You can follow the developer's manual on how to extract the tarball, then in eclipse your toolchain location should be the directory you extract the tarball at, and sysroot should be the sysroot directory underneath where you extracted your tar ball.
- Jessica -----Original Message----- From: Bryan Evenson [mailto:beven...@melinkcorp.com] Sent: Thursday, August 15, 2013 2:12 PM To: Zhang, Jessica; yocto@yoctoproject.org Subject: RE: [yocto] Error building meta-ide-support; 'SNDCTL_DSP_MAPINBUF' undeclared here > -----Original Message----- > From: Zhang, Jessica [mailto:jessica.zh...@intel.com] > Sent: Thursday, August 15, 2013 4:55 PM > To: Bryan Evenson; yocto@yoctoproject.org > Subject: RE: [yocto] Error building meta-ide-support; > 'SNDCTL_DSP_MAPINBUF' undeclared here > > Hi Bryan, > > When you tried to setup your eclipse plugin, what is your toolchain > and what is your sysroot. Are they built by you or you download them? > I built my own. I'm using the meta-atmel layer located at https://github.com/evensonbryan/meta-atmel.git, using the instructions shown in the README to download and build. Only exception is that I have MACHINE set as "at91sam9x5ek" in local.conf. I did "bitbake core-image-minimal" as the initial build to start off everything; never tried to bitbake meta-ide-support on this system. -Bryan > - Jessica > > -----Original Message----- > From: yocto-boun...@yoctoproject.org [mailto:yocto- > boun...@yoctoproject.org] > On Behalf Of Bryan Evenson > Sent: Tuesday, August 13, 2013 9:25 AM > To: yocto@yoctoproject.org > Subject: [yocto] Error building meta-ide-support; 'SNDCTL_DSP_MAPINBUF' > undeclared here > > I am working on installing and setting up the Eclipse IDE plug-in for > Eclipse Juno. I am using poky/dylan (at the yocto-1.4.1 tag) for my > build > environment. I am to the "Configuring the Cross-Compiler Options" > section > from the current Yocto Project mega-manual, and after setting up the > Toolchain Root Location and the Sysroot Location, I get the error > 'Specified > toolchain directory does not contain a toolchain generated with > "bitbake > meta-ide-support"'. So, I went back and did "bitbake meta-ide-support" > as > requested and I am getting the following errors: > > DEBUG: Executing shell function do_compile > NOTE: make -j 2 > CC arm-linux-user/linux-user/syscall.o > In file included from > /media/sda3/poky/poky-build/tmp/work/i686-linux/qemu-native/1.4.0- > r0/qemu-1. > 4.0/linux-user/syscall.c:3705:0: > /media/sda3/poky/poky-build/tmp/work/i686-linux/qemu-native/1.4.0- > r0/qemu-1. > 4.0/linux-user/ioctls.h:189:1: error: 'SNDCTL_DSP_MAPINBUF' undeclared > here > (not in a function) > /media/sda3/poky/poky-build/tmp/work/i686-linux/qemu-native/1.4.0- > r0/qemu-1. > 4.0/linux-user/ioctls.h:190:1: error: 'SNDCTL_DSP_MAPOUTBUF' undeclared > here > (not in a function) > /media/sda3/poky/poky-build/tmp/work/i686-linux/qemu-native/1.4.0- > r0/qemu-1. > 4.0/linux-user/ioctls.h:245:1: error: 'SOUND_MIXER_ACCESS' undeclared > here > (not in a function) > make[1]: *** [linux-user/syscall.o] Error 1 > make: *** [subdir-arm-linux-user] Error 2 > make: *** Waiting for unfinished jobs.... > ERROR: oe_runmake failed > ERROR: Function failed: do_compile (see > /media/sda3/poky/poky-build/tmp/work/i686-linux/qemu-native/1.4.0- > r0/temp/lo > g.do_compile.20276 for further information) > > I did a search and I cannot find these defines anywhere in the i686 > sysroot > directory, but it exists in my target's sysroot directory. Is there > something wrong with the i686 sysroot setup on my system? If it > matters, > I'm doing the build machine is running Ubuntu 12.04.2 LTS. > > Thanks, > Bryan > > > > > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto