2011-03-01 03:55:30     Toolchain on ubuntu 10.10

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

2011-03-01 03:55:30     Toolchain on ubuntu 10.10

Louis Ruch (SOUTH AFRICA)

Message: 98498   

 

Hey All,

 

I am struggling to get the toolchain to install on Ubuntu 10.10.  At first I followed the guide and installed the tool chain using apt-get.  But I was getting this error:

 

error: ‘DCACHE’ undeclared here (not in a function)

 

Googling this I found that it is related to using a oloder verison of the toolchain with a new release.  I saw that my toolchain version is 2009r1.1-rc2

 

According to the ubuntu package manager this is the latest stable version.  I am not sure how to get this to install the newest version of the toolchain?

 

 

 

After this i tried to install the toolchain manually so I uninstalled the apt-get installed version and extracted the toolchain to /opt

 

now i get the following error:

 

exec: 59: /opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gcc: not found

 

however when i type:

 

which -a bfin-uclinux-gcc

/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gcc

 

Not sure exactly how to solve this one

 

Thanks,

 

Louis

QuoteReplyEditDelete

 

 

2011-03-01 04:06:09     Re: Toolchain on ubuntu 10.10

Mike Frysinger (UNITED STATES)

Message: 98499   

 

if you're running 64bit Linux, you need to install the 32bit multilib packages

QuoteReplyEditDelete

 

 

2011-03-01 04:09:14     Re: Toolchain on ubuntu 10.10

Chandrashekhar Lavania (INDIA)

Message: 98500   

 

Hi Louis,

 

I too installed the toolchain using apt-get on Ubuntu 10.10

 

But, the stable version I got was 2010R1-RC4.

 

make sure you have the following repo added in your /etc/apt/sources.list

 

 

 

deb http://download.analog.com/27516/distros/debian stable main

 

 

 

I also have the multiverse, and universe repos uncommented. I'm not sure but this may have affected any dependencies.

 

 

 

Also make sure that the path to the bin folders for the the toolchains is added to your PATH variable in /etc/environment

 

Also check for permissions.....It may be possible that you have acces to them as super user and not the normal one.

 

Note: for this do sudo -i to change terminal to super user instead of say sudo bfin-uclinux-gcc as the second way never worked for me

 

 

 

Regards,

 

Shekhar

 

PS: In your case can you run it by going to the bin folder and doing ./bfin-uclinux-gcc

 

PPS: Also make sure that the file is executable or change the mode by  doing chmod +x <filename>

 

QuoteReplyEditDelete

 

 

2011-03-01 07:02:17     Re: Toolchain on ubuntu 10.10

Robert Cochran (UNITED STATES)

Message: 98503   

 

Louis,

 

I have sucessfully been using svn to grab the releases / tags / revisions I want on Ubuntu.  I find this gives me a great deal of control and very good results.  I recommend this over using apt-get. 

 

Related to the toolchain, I also manage my eclipse installation myself.  It's very simple.  Just download the archive you want & extract it to the location you want.  You can then install & update add-ons at will.  I remember trying apt-get with eclipse & the blackfin toolchain a couple of years ago, and it was a pain.

 

Bob

Attachments

    Outcomes