All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Rafert <jimr@spectralogic.com>
To: Raghavendra Kakarla <Raghavendra.Kakarla@inedasystems.com>,
	Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: SDK generation issue
Date: Tue, 3 Mar 2015 17:55:54 +0000	[thread overview]
Message-ID: <86196249137E0843B2E0673D4F731E0C0108E46B81@reactor.sldomain.com> (raw)
In-Reply-To: <1425361303765.315@inedasystems.com>

Try doing:

${CC} test.c

This will invoke the cross compiler with all the compilation flags required to produce
an executable for the target, using libraries on the target root file system.



________________________________________
From: Raghavendra Kakarla [Raghavendra.Kakarla@inedasystems.com]
Sent: Monday, March 02, 2015 10:41 PM
To: Paul Eggleton
Cc: yocto@yoctoproject.org
Subject: [yocto] SDK generation issue

Hi Paul Eggleton,
Thanks for your help in the solving the issue for adding the bsp to yocto.
Now I am working on the yocto sdk generation.

I am generated the yocto SDK using the yocto sdk script "bitbake core-image-minimal -c populate_sdk" command. With this command I am able to generte the installation script file and .manifest file.

I run the installation script file. After running installation script file it propts that following message:

Extracting SDK...done
Setting it up...done
SDK has been successfully set up and is ready to be used.


After this i run the ". /opt/poky/1.7/environment-setup-mips32rel-poky-linux" and echo $PATH i got the correct path.

After this i built wrote a small example and try to build with the sdk generated toolchain by running following command:

mipsel-poky-linux-gcc test.c

but i got the following errors:
**************************************************************************************************************************************************
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/mipsel-poky-linux/gcc/mipsel-poky-linux/4.9.1/ld: cannot find crt1.o: No such file or directory
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/mipsel-poky-linux/gcc/mipsel-poky-linux/4.9.1/ld: cannot find crti.o: No such file or directory
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/mipsel-poky-linux/gcc/mipsel-poky-linux/4.9.1/ld: cannot find crtbegin.o: No such file or directory
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/mipsel-poky-linux/gcc/mipsel-poky-linux/4.9.1/ld: cannot find -lgcc
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/mipsel-poky-linux/gcc/mipsel-poky-linux/4.9.1/ld: cannot find -lgcc_s
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/mipsel-poky-linux/gcc/mipsel-poky-linux/4.9.1/ld: cannot find -lc
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/mipsel-poky-linux/gcc/mipsel-poky-linux/4.9.1/ld: cannot find -lgcc
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/mipsel-poky-linux/gcc/mipsel-poky-linux/4.9.1/ld: cannot find -lgcc_s
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/mipsel-poky-linux/gcc/mipsel-poky-linux/4.9.1/ld: cannot find crtend.o: No such file or directory
/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/mipsel-poky-linux/gcc/mipsel-poky-linux/4.9.1/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status

***********************************************************************************************************************************************************
Please help me to resolving this issue.

Thanks in advance.

Cheers,

Raghavendra Kakarla.


  parent reply	other threads:[~2015-03-03 17:56 UTC|newest]

Thread overview: 106+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <10286402.11.1422626774586.JavaMail.kraghavendra@Raghavendra>
2015-01-30 14:08 ` Yocto-custom kernel build issue Raghavendra Kakarla
2015-01-30 16:34   ` Bruce Ashfield
2015-02-02 10:00   ` Raghavendra Kakarla
2015-02-03 12:40     ` yocto-custom-kernel issue Raghavendra Kakarla
2015-02-03 13:17       ` Sven Ebenfeld
2015-02-03 15:37       ` Bruce Ashfield
2015-02-05  8:56     ` MIPS32r2 little endian bsp Raghavendra Kakarla
2015-02-06 15:04       ` Mark Hatle
2015-02-10  8:17     ` Yocto-custom kernel build issue Raghavendra Kakarla
2015-02-10 11:00       ` Paul Eggleton
     [not found]         ` <2974616.30.1423571125144.JavaMail.kraghavendra@Raghavendra>
2015-02-10 13:36           ` Paul Eggleton
2015-02-11  4:55             ` Raghavendra Kakarla
2015-02-11  9:30               ` Paul Eggleton
2015-02-11 10:00                 ` Raghavendra Kakarla
2015-03-03  5:41                   ` SDK generation issue Raghavendra Kakarla
2015-03-03  9:37                     ` Paul Eggleton
2015-03-03 10:26                       ` Raghavendra Kakarla
2015-03-03 10:31                         ` Paul Eggleton
2015-03-03 11:55                         ` Raghavendra Kakarla
2015-03-03 12:10                           ` Paul Eggleton
2015-03-03 12:17                             ` Raghavendra Kakarla
2015-03-03 13:16                               ` Paul Eggleton
2015-03-10  4:21                               ` Difference b/w yocto kernels and normal linux.org kernels Raghavendra Kakarla
2015-03-10  4:33                                 ` Khem Raj
2015-03-10  4:45                                   ` Nicholas Krause
2015-03-13  8:14                                 ` Raghavendra Kakarla
2015-03-13  8:53                                   ` Paul Eggleton
2015-03-13  9:05                                     ` Albert K
2015-03-13  9:12                                       ` Paul Eggleton
2015-04-03  6:04                                     ` Raghavendra Kakarla
2015-03-03 17:55                     ` Jim Rafert [this message]
2015-03-10 12:03 OpenStack - Libvirt+Xen CI overview Bob Ball
2015-03-16 15:09 ` OpenStack - Libvirt+Xen CI overview : anyone interested in a walk/through or presentation on how it works Lars Kurth
2015-03-16 18:00 ` OpenStack - Libvirt+Xen CI overview Konrad Rzeszutek Wilk
2015-03-17 12:52   ` Dario Faggioli
2015-03-17 11:14 ` George Dunlap
2015-03-17 14:22 ` Jim Fehlig
2015-03-17 15:51 ` Alvin Starr
2015-03-18 13:12   ` OpenStack - Libvirt+Xen CI overview : anyone interested in a walk/through or presentation on how it works Lars Kurth
2015-03-18 14:37     ` Wei Liu
2015-03-24 18:17       ` Lars Kurth
2015-03-25 10:08         ` Ian Campbell
2015-03-25 10:09           ` Bob Ball
2015-03-25 12:26             ` Alvin Starr
2015-04-22 10:03               ` Lars Kurth
2015-06-04 17:12             ` Bob Ball
2015-06-05 11:47               ` Lars Kurth
2015-06-08 12:52             ` Bob Ball
2015-06-10 14:25             ` Bob Ball
2015-06-15 16:26             ` Bob Ball
  -- strict thread matches above, loose matches on Subject: below --
2014-12-12  8:10 UBIFS: Is it possible to get the compressed size of a file? markus.heininger
2014-12-17  6:22 ` hujianyang
2014-12-18 11:08   ` Aw: " markus.heininger
2015-02-02  9:33     ` Artem Bityutskiy
2015-02-02  9:33       ` Artem Bityutskiy
2015-02-03  5:45       ` Andreas Dilger
2015-02-03  5:45         ` Andreas Dilger
2015-02-03  9:07         ` Artem Bityutskiy
2015-02-03  9:07           ` Artem Bityutskiy
2015-02-28  7:31         ` hujianyang
2015-02-28  7:31           ` hujianyang
2015-03-26 14:19           ` David Sterba
2015-03-26 14:19             ` David Sterba
2014-11-06 13:27 lots of connections in SYN_RECV state Puneet Agarwal
2014-11-06 14:30 ` Silvan Jegen
2014-11-06 15:15   ` Puneet Agarwal
2014-11-06 15:58     ` Silvan Jegen
2014-11-07 15:49       ` Dave Tian
2014-11-07 16:58         ` Valdis.Kletnieks at vt.edu
2014-11-07 23:48           ` Dave Tian
2014-11-07 17:41         ` Puneet Agarwal
2014-11-07 18:10           ` Valdis.Kletnieks at vt.edu
2014-11-08  2:05             ` Puneet Agarwal
2012-03-19 20:59 Linking two recipes simran singh
2012-03-19 21:22 ` Richard Purdie
2012-03-19 21:33   ` simran singh
2012-03-19 21:39     ` Christopher Larson
2012-03-19 21:57       ` simran singh
2012-03-19 21:59         ` Christopher Larson
2012-03-19 22:10           ` simran singh
2012-03-19 22:54             ` Richard Purdie
2012-03-20 19:25               ` simran singh
2012-04-07  3:44                 ` Khem Raj
2005-01-11  9:28 [U-Boot-Users] PCI, Ethernet, IXDP425 Ara Avanesyan
2005-01-11 22:40 ` Wolfgang Denk
2005-01-12  6:18   ` [U-Boot-Users] " Ara Avanesyan
2005-01-12  6:41     ` Rodel Miguel
2005-01-12  7:41       ` Ara Avanesyan
2005-01-12  8:08       ` Ing.Gianfranco Morandi
2005-01-12  9:01     ` Wolfgang Denk
2005-01-12  9:32       ` Ara Avanesyan
2005-01-12 10:13         ` Anders Larsen
2005-01-12 14:16           ` Wolfgang Denk
2005-01-12 14:16         ` Wolfgang Denk
2005-01-12 15:07           ` Ara Avanesyan
2003-11-12 17:23 [U-Boot-Users] [PATCH] fix the ARM memory layout Anders Larsen
2003-11-12 19:52 ` Kyle Harris
2003-11-13  9:14   ` Anders Larsen
2003-11-13 14:19     ` Kyle Harris
2003-11-21  3:52       ` Kyle Harris
2003-11-21  7:47         ` Anders Larsen
2003-11-21  8:13           ` Wolfgang Denk
2003-12-07  0:17 ` Wolfgang Denk
2003-12-07 17:03   ` Anders Larsen
2004-01-09 11:14   ` Anders Larsen
2004-02-08 19:36     ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86196249137E0843B2E0673D4F731E0C0108E46B81@reactor.sldomain.com \
    --to=jimr@spectralogic.com \
    --cc=Raghavendra.Kakarla@inedasystems.com \
    --cc=paul.eggleton@linux.intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.