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 <[email protected]>
Home in Perth!