1 |
I thought the gentoo arduino was too out of date so I built the stable |
2 |
gentoo avr tool-chain, but arduino direct from subversion. |
3 |
|
4 |
But its the tool-chain thats now broke - is there something like |
5 |
ldconfig and /etc/ld.so.conf for avr-ld ? |
6 |
|
7 |
BillK |
8 |
|
9 |
|
10 |
On Sat, 2011-05-07 at 12:11 -0400, Kevin McCarthy wrote: |
11 |
> On Sat, May 07, 2011 at 08:34:04PM +0800, William Kenworthy wrote: |
12 |
> > /usr/libexec/gcc/avr/ld: crtm328p.o: No such file: No such file or |
13 |
> > directory |
14 |
> > |
15 |
> > Ive rebuilt/uninstalled/reinstalled the avr toolchain with no success. |
16 |
> > Can someone suggest where to look next? |
17 |
> > |
18 |
> > The file crtm328p.o does exist in /usr/avr/lib/avr5 along with the other |
19 |
> > arch specific libs. |
20 |
> |
21 |
> I would look in /usr/avr/etc/portage/make.conf and make sure everything |
22 |
> there looks OK. I'd make sure you have something like this in there: |
23 |
> |
24 |
> CHOST=avr |
25 |
> ROOT=/usr/${CHOST}/ |
26 |
> LDFLAGS="-L${ROOT}lib -L${ROOT}usr/lib" |
27 |
> |
28 |
> Mind if I ask which arduino package you are using? The one in Portage is |
29 |
> somewhat old, and the one from overlay described on the Arduino site[1] |
30 |
> seems to have a problem with avrdude on my system. I eventually just |
31 |
> ended up downloading the binary version and running it from my home dir. |
32 |
> |
33 |
> Maybe I should ping the Gentoo maintainers and see if I can help get |
34 |
> Arduino up-to-date in Portage... |
35 |
> |
36 |
> [1] http://www.arduino.cc/playground/Linux/Gentoo |
37 |
> |
38 |
|
39 |
-- |
40 |
William Kenworthy <billk@×××××××××.au> |
41 |
Home in Perth! |