| Summary: | Yocto Project ADT Autotools: autogen.sh fails with parameters | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Eclipse Plugin | Reporter: | Peter Saunderson <peteasa> |
| Component: | eclipse-plugin | Assignee: | Todor Minchev <todor.minchev> |
| Status: | VERIFIED FIXED | QA Contact: | Valentin Hangan <valentinx.hangan> |
| Severity: | normal | ||
| Priority: | Medium | CC: | alexandru.c.georgescu, ioanax.grigoropol, jessica.zhang, poky.adt.watcher, poky.watcher, randy.e.witt, todor.minchev, yi.zhao, yp.ep.watcher, yp.watcher |
| Version: | 1.6 | ||
| Target Milestone: | 1.9 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Peter Saunderson
2014-07-29 13:32:28 UTC
Hi Randy, Can you work with Scott on updating the doc? Thanks, Jessica Todor, this is the bug I spoke to you about. I believe the user hadn't source the setup script. But I wasn't sure if there was command line access in Eclipse that should work in this scenario. In order to build from the command line you will need to setup your environment first by sourcing the environment setup script. This can be found in the directory where the toolchain was extracted. The script will be called environment-setup-XXX-poky-linux where XXX is the architecture of your target. Please check the documentation here (chapter 5.1) http://www.yoctoproject.org/docs/1.6/adt-manual/adt-manual.html Check in Eclipse Properties->Autotools->Configure Settings the command parameters needed to run autogen.sh from the command prompt. I source the environment setup script and i run autogen.sh with specific parameters for QEMU: ./autogen.sh CFLAGS=" -g -O0 --sysroot=/home/valentin/test-yocto/qemux86" CXXFLAGS=" -g -O0 --sysroot=/home/valentin/test-yocto/qemux86" LDFLAGS=" --sysroot=/home/valentin/test-yocto/qemux86" CPPFLAGS=" --sysroot=/home/valentin/test-yocto/qemux86" configure --with-libtool-sysroot=/home/valentin/test-yocto/qemux86 --host=i586-poky-linux --build=x86_64-linux --target=i586-poky-linux Message from cmd : autoreconf: Leaving directory `.'and $CONFIGURE_FLAGS was correctly done. Verified on: OS: Fedora 22 Eclipse-version: Mars Commit: 1d179ddcbd1983bf7bcfe98efdcbb186bdccca4f |