From: Grigory Milev <week@altlinux.ru>
To: zver@altlinux.org,
ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] avr-gcc и arduino
Date: Tue, 18 May 2010 22:42:24 +0300
Message-ID: <4BF2EDA0.4030900@altlinux.ru> (raw)
In-Reply-To: <4BF25ABA.3030409@altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 1823 bytes --]
Denis Klimov пишет:
> On 18.05.2010 13:26, trash4 wrote:
>> Приветствую!
>>
>> Заказал, получил, скачал, что нужно, доустановил, чего не было.
>> Компилирую пример. Всё. Затык.
>>
>> /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 обновляться до свежего или это и правда в данном
>> случае не критично, а собака в другом месте рылась?
>>
>> Заранее благодарен.
>
> Создайте ссылку на директорию с необходимыми заголовочными файлами там
> где у вас установлен arduino:
>
> ln -s /usr/lib/avr/include/avr avr
>
Лучше в MakeFile прописать правильные пути.
--
+--------------------------------------------------------+
Grigory Milev mailto:week@altlinux.ru
ALT Linux Team http://www.altlinux.ru
+--------------------------------------------------------+
Life too beautiful and interesting. Don't worry, be happy.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
next prev parent reply other threads:[~2010-05-18 19:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-18 7:26 trash4
2010-05-18 9:15 ` Denis Klimov
2010-05-18 19:42 ` Grigory Milev [this message]
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=4BF2EDA0.4030900@altlinux.ru \
--to=week@altlinux.ru \
--cc=sisyphus@lists.altlinux.org \
--cc=zver@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