public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Kenworthy <billk@iinet.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] crossdev avr compile failing on crtm328p.o
Date: Sun, 08 May 2011 10:50:54 +0800	[thread overview]
Message-ID: <1304823054.9472.14.camel@rattus> (raw)
In-Reply-To: <20110507161127.GO5345@woodpecker.gentoo.org>

I thought the gentoo arduino was too out of date so I built the stable
gentoo avr tool-chain, but arduino direct from subversion.

But its the tool-chain thats now broke - is there something like
ldconfig and /etc/ld.so.conf for avr-ld ?

BillK


On Sat, 2011-05-07 at 12:11 -0400, Kevin McCarthy wrote:
> On Sat, May 07, 2011 at 08:34:04PM +0800, William Kenworthy wrote:
> > /usr/libexec/gcc/avr/ld: crtm328p.o: No such file: No such file or
> > directory
> > 
> > Ive rebuilt/uninstalled/reinstalled the avr toolchain with no success.
> > Can someone suggest where to look next?
> > 
> > The file crtm328p.o does exist in /usr/avr/lib/avr5 along with the other
> > arch specific libs.
> 
> I would look in /usr/avr/etc/portage/make.conf and make sure everything
> there looks OK. I'd make sure you have something like this in there:
> 
> CHOST=avr
> ROOT=/usr/${CHOST}/
> LDFLAGS="-L${ROOT}lib -L${ROOT}usr/lib"
> 
> Mind if I ask which arduino package you are using? The one in Portage is
> somewhat old, and the one from overlay described on the Arduino site[1]
> seems to have a problem with avrdude on my system. I eventually just
> ended up downloading the binary version and running it from my home dir.
> 
> Maybe I should ping the Gentoo maintainers and see if I can help get
> Arduino up-to-date in Portage...
> 
> [1] http://www.arduino.cc/playground/Linux/Gentoo
> 

-- 
William Kenworthy <billk@iinet.net.au>
Home in Perth!




  reply	other threads:[~2011-05-08  2:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-07 12:34 [gentoo-user] crossdev avr compile failing on crtm328p.o William Kenworthy
2011-05-07 15:11 ` Mick
2011-05-08  2:47   ` William Kenworthy
2011-05-07 16:11 ` Kevin McCarthy
2011-05-08  2:50   ` William Kenworthy [this message]
2011-05-08  3:40   ` William Kenworthy
2011-12-29 12:35     ` David Relson

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=1304823054.9472.14.camel@rattus \
    --to=billk@iinet.net.au \
    --cc=gentoo-user@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox