[yocto] core-image-minimal-dev - linker error : cannot find -lc
Khem Raj
raj.khem at gmail.com
Wed Oct 30 20:51:03 PDT 2013
On Thu, Oct 24, 2013 at 6:07 AM, Anup Kini <akini at synapticon.com> wrote:
> Hi All,
>
> I am trying to compile a c program on core-image-minimal-dev but en up
> with the following error.
> Kindly let me know if i need to include any additional packages in order
> to be able to compile c programs on the image.
>
> /usr/lib/gcc/arm-poky-linux-gnueabi/4.8.1/../../../../arm-poky-linux-gnueabi/bin/ld:
> cannot find -lc
> collect2: error: ld returned 1 exit status
> make: *** [all] Error 1
>
It seems you are compiling on target. Make sure that you have 'tools-sdk'
packagegroup added to your image via IMAGE_FEATURES
>
>
> Build Configuration:
> BB_VERSION = "1.20.0"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING = "Ubuntu-12.04"
> TARGET_SYS = "arm-poky-linux-gnueabi"
> MACHINE = "zc702-zynq7"
> DISTRO = "poky"
> DISTRO_VERSION = "1.5"
> TUNE_FEATURES = " armv7a vfp neon zynq"
> TARGET_FPU = "vfp-neon"
> meta
> meta-yocto
> meta-yocto-bsp = "origin/dylan:e7a20238dc73bb449f15feaf0dead51daf796184"
> meta-oe = "origin/dylan:8aafddccb03f54923927e9d1c8c80223baf581de"
> meta-xilinx =
> "remotes/origin/dylan:21c3cd3f058d736742ebc23a7a954f23456fbea5"
> meta-java = "master:de06956f93ecd15d8c941a05da47a4425e3d397a"
>
>
>
> --
>
> *Anup Kini
> *Systems Engineer****
> *
> ------------------------------
> *
>
> *Synapticon** * | Cyber-Physical System Solutions ****
>
> Mobile:
>
> Direct:
>
> +49 151 / 638 646 73
>
> +49 7335 / 186 999 21
>
> Fax:****
> +49 7335 / 186 999 1
>
>
> **
>
> ****
>
> synapticon.com <http://www.synapticon.com/> | @synapticon_co<https://twitter.com/#!/synapticon_co>
> ****
>
> Synapticon GmbH | Hohlbachweg 2 | 73344 Gruibingen, DE
> Secretary +49 7335 / 186 999 0 | General Manager: Nikolai Ensslen
> Registry Court Ulm HRB 725114 | USt-ID DE271647127****
>
> This message and any files transmitted with it are confidential and
> intended
> solely for the use of the individual or entity to whom they are addressed.
> Please notify the sender immediately if you have received this e-mail by
> mistake and delete it from your system.
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20131030/3541248e/attachment.html>
More information about the yocto
mailing list