You are not logged in.

#1 2010-10-28 22:42:27

bluechalk
Member
Registered: 2010-10-28
Posts: 4

Arduino gcc problem

I'm trying to get the Arduino development environment working on my Plugbox Linux. I don't need the IDE. I just want to compile and download to the Arduino from the command line.

I installed with...
# pacman -S avrdude binutils-avr gcc-avr

But I can't run the compiler...
$ avr-gcc -o blink.out blink.c
/usr/lib/gcc/avr/4.4.3/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory

I found a libmpfr.so.4 in /usr/lib, but cc1 wants an older version.

How do I solve this problem?

Offline

#2 2010-10-28 22:50:22

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: Arduino gcc problem

You are using an old gcc-avr package (4.3.1) latest on repos in (4.5.1)

pacman -Sy

Offline

#3 2010-10-28 22:57:38

bluechalk
Member
Registered: 2010-10-28
Posts: 4

Re: Arduino gcc problem

pacman -Sy doesn't seem to know about the latest version.

$ sudo pacman -Sy
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date

Offline

#4 2010-10-28 23:07:03

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Arduino gcc problem

Change your mirror

Offline

#5 2010-10-29 12:42:04

bluechalk
Member
Registered: 2010-10-28
Posts: 4

Re: Arduino gcc problem

Sorry, but I'm quite new at all this.  How do I find another mirror for the arm architecture?

Offline

#6 2010-10-29 12:55:14

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Arduino gcc problem

Woah.... hang on there...   Are you running Arch Mobile?

Offline

#7 2010-10-29 13:06:02

bluechalk
Member
Registered: 2010-10-28
Posts: 4

Re: Arduino gcc problem

Its Plugbox Linux.  It runs on the Seagate Dockstar.  See http://plugapps.com

Offline

#8 2010-10-29 13:26:16

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Arduino gcc problem

Great...  ask them.

Offline

Board footer

Powered by FluxBB