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