ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: trash4 <trash4@yandex.ru>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] avr-gcc и arduino
Date: Tue, 18 May 2010 11:26:10 +0400
Message-ID: <201005181126.10456.trash4@yandex.ru> (raw)

Приветствую!

Заказал, получил, скачал, что нужно, доустановил, чего не было. Компилирую пример. Всё. Затык.

/home/guest007/tmp/arduino-0018/hardware/arduino/cores/arduino/wiring_private.h:28:20: error: avr/io.h: No such file or 
directory
/home/guest007/tmp/arduino-0018/hardware/arduino/cores/arduino/wiring_private.h:29:27: error: avr/interrupt.h: No such 
file or directory
/home/guest007/tmp/arduino-0018/hardware/arduino/cores/arduino/wiring_private.h:30:23: error: avr/delay.h: No such file 
or directory
/home/guest007/tmp/arduino-0018/hardware/arduino/cores/arduino/wiring_private.h:31:19: error: stdio.h: No such file or 
directory
                 from /home/guest007/tmp/arduino-0018/hardware/arduino/cores/arduino/wiring.c:25:

И так далее.
Дай, думаю, почитаю документацию. Там прозрачно намекают, что хорошо бы avr-gcc версии 4,3,4. Но не настаивают, 
поскольку это критично лишь для ATmega328, у меня же 168.

Попробовал на кубунте - там всё заработало. Странно. Заголовочные лежат на месте, пакеты все стоят, а поезд не едет :-(

Кто-нибудь сталкивался с таким? 

Будет ли avr-gcc обновляться до свежего или это и правда в данном случае не критично, а собака в другом месте рылась?

Заранее благодарен.




             reply	other threads:[~2010-05-18  7:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18  7:26 trash4 [this message]
2010-05-18  9:15 ` Denis Klimov
2010-05-18 19:42   ` Grigory Milev
2010-05-19  5:29     ` trash4

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201005181126.10456.trash4@yandex.ru \
    --to=trash4@yandex.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git