2010-10-02 12:02:48     uclibc not found

Document created by Aaronwu Employee on Sep 26, 2013
Version 1Show Document
  • View in full screen mode

2010-10-02 12:02:48     uclibc not found

T. Jump (UNITED STATES)

Message: 94144   

 

I’m getting bfin-linux-uclibc-gcc: not found when I run “make” in the uClinux distribution directory. I’ve extracted the blacfin-toolchain-uclibc tar files and placed them in my home directory, in the uClinux directory... What am I missing?

 

I have the following distribution:

 

http://blackfin.uclinux.org/gf/download/frsrelease/401/5088/uClinux-dist-2008R1. 5-RC3.tar.bz2

 

QuoteReplyEditDelete

 

 

2010-10-02 13:28:23     Re: uclibc not found

Mike Frysinger (UNITED STATES)

Message: 94145   

 

please read the documentation:

https://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing

 

also, you should not be using an old release.  use 2009R1.1 or newer.

QuoteReplyEditDelete

 

 

2010-10-02 13:48:32     Re: uclibc not found

T. Jump (UNITED STATES)

Message: 94146   

 

I have read through this. I think what I'm missing is the bfin-toolchain but I'm not certain. I have the bfin-elf-toolchain, the bfin-uclinux-toolchain, bfloader and more; but I do not see bfin-toolchain (I'm looking through Synaptic Package Manager). Is there a way I can tell if I have the bfin-toolchain other than through SynapticPM?

 

To note: I'm using an older version as there is a patch I need to run to add a vendor that is not in the general toolchain list. As the patch is directed toward the older release i've started there and thought I would approach a newer version through an upgrade process. Maybe the patch will work on newer versions?

 

Also, I'm verifying a process specified by the vendor which targets the older version. I will be responsible for writing the new proceedure but I need to know how well the older works first.

 

Thanks for your input.

QuoteReplyEditDelete

 

 

2010-10-02 13:59:32     Re: uclibc not found

Mike Frysinger (UNITED STATES)

Message: 94147   

 

i dont know what "SynapticPM" is, nor "bfloader".  download and install the tarballs as documented in the wiki.

 

if you need to use something older, seek assistance from the vendor which is forcing you to use an old release.  we really only support the latest one here.

QuoteReplyEditDelete

 

 

2010-10-02 16:18:00     Re: uclibc not found

T. Jump (UNITED STATES)

Message: 94149   

 

I will admit I'm learning... very new to linux.

 

Unpacking the blackfin-toolchain following the instructions from https://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing (using the sudo process for Debian) creates the folder "opt" in the root directory (I noticed in the Filesystem there is already an "opt" folder). Setting the PATH looks like it points at the "opt" folder in the Filesystem (see below for further clarification here).

 

$ export PATH=$PATH:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin

 

When I run make in the uClinux dist. directory with the bfin-toolchain is in the "opt" folder in the root directory it still does not see it. When I run make and the bfin-toolchain is in the Filesystem "opt" folder I get a "Permission Denied" message.

 

So where exactly is the toolchain "opt" folder supposed to be and what needs to change (PATH, share opt filesystem folder, other)?

QuoteReplyEditDelete

 

 

2010-10-03 00:25:42     Re: uclibc not found

T. Jump (UNITED STATES)

Message: 94150   

 

I got this figured out. Mostly, I figured out how to install packages by adding the APT line of the Blackfin Koop into Synaptic Package Manager.

 

deb http://download.analog.com/27516/distros/debian stable main > /etc/apt/sources.list.d/blackfin.sources.list

 

 

 

I found the APT line in the toolchain installation doc.

 

https://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing

 

 

 

For those that are unaware, Synaptic Package Manager (SPM) is included with Unbuntu. Many APT lines can be added, but if SPM does not get a "key" identifying the site as trusted then it places a warning on packages downloaded from the site. It would be nice if the Koop could generate a key we could add to SPM.

 

Cheers,

 

T. Jump

Attachments

    Outcomes