Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 457196 - crossdev avr issue? crtm168.o not found when compiling with arduino
Summary: crossdev avr issue? crtm168.o not found when compiling with arduino
Status: RESOLVED DUPLICATE of bug 147155
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-14 03:05 UTC by wyvern5
Modified: 2013-02-14 14:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wyvern5 2013-02-14 03:05:28 UTC
I'm trying to get Arduino compilation working.

After using the patch in comment #95 of https://bugs.gentoo.org/show_bug.cgi?id=147155, I was able to get past the "/usr/libexec/gcc/avr/ld: cannot open linker script file ldscripts/avr5.x: No such file or directory" issue.

However, I am now stuck with:
/usr/libexec/gcc/avr/ld: cannot find crtm168.o: No such file or directory

This appears to be another issue relating to where files are placed in /usr/avr. That .o file does exist:
/usr/avr/lib/avr5/crtm168.o

Apparently that's not on the linker path, though.

I don't seem to be the only one having this problem:
http://forums.gentoo.org/viewtopic-p-7161402.html
http://hanez.org/category/gentoo/

In the meantime I can work around this with a symlink, but it'd be nice if the library was installed in the right place out of the box.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-14 14:20:51 UTC

*** This bug has been marked as a duplicate of bug 147155 ***