[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Microscheme failed

From: Ricardo Wurmus
Subject: Re: Microscheme failed
Date: Mon, 04 Jul 2016 08:14:55 +0200
User-agent: mu4e 0.9.16; emacs 24.5.1

Hi Daniel,

> I try compile to Arduino plataform using Microscheme (installed with: 
> guix package -i microscheme) on GuixSD, but there are errors.
> I did:
> sudo microscheme -m UNO -d /dev/ttyACM0 -au

This is unrelated but I recommend not using “sudo” here.  You can add a
udev rule to your system configuration to change the ownership of

For my AVR programmers I have this in my system configuration:

(define avrispmkii-udev-rule
  (udev-rule "90-avrispmkii.rules"
SUBSYSTEM!=\"usb\", ACTION!=\"add\", GOTO=\"avrisp_end\"

# Atmel Corp. JTAG ICE mkII
ATTR{idVendor}==\"03eb\", ATTR{idProduct}==\"2103\", MODE=\"660\", 
# Atmel Corp. AVRISP mkII
ATTR{idVendor}==\"03eb\", ATTR{idProduct}==\"2104\", MODE=\"660\", 
# Atmel Corp. Dragon
ATTR{idVendor}==\"03eb\", ATTR{idProduct}==\"2107\", MODE=\"660\", 


  (services (cons* (modify-services %desktop-services
                     (udev-service-type config =>
                                         (inherit config)
                                         (rules (append 
(udev-configuration-rules config)

> Errors:
> ...
>>> 32 lines compiled OK
>>> Assembling...
> avr-ld: cannot find crtatmega328p.o: No such file or directory

This is a bug in our AVR toolchain.  The internal search path for these
files appears to be wrong.  What I did was copy the “crt*.o” file I
needed to my working directory.  Maybe you can send an email to
address@hidden to report this as a bug?

> I have avr-gcc avr-libc avrdude avr-binutils avr-toolchain installed.

You only need “avr-toolchain” as it contains all the other packages.

~~ Ricardo

reply via email to

[Prev in Thread] Current Thread [Next in Thread]