From: Led <led@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] E: incoming x86_64 reject: lrmi-0.10-alt1
Date: Thu, 13 Jul 2006 19:23:33 +0300
Message-ID: <200607131923.34886.led@altlinux.ru> (raw)
In-Reply-To: <261934203.20060713232009@ngs.ru>
В сообщении от 13 июля 2006 19:20 Slava Semushin написал(a):
> Hello Led,
>
> Thursday, July 13, 2006, 10:56:44 PM, you wrote:
> >> > vbetest.c:126: error: storage size of 'r' isn't known
>
> [skip]
>
> >> Натолкните на мысль: из-за чего это может быть? Ошибка в строке:
> >> struct LRMI_regs r;
>
> L> В догонку: дальше по тексту присутствует sizeof(r).
>
> Могу лишь сделать предположение:
>
> Чтобы вычислить размер структуры нужно знать из скольки элементов
> она состоит и каких они типов. Так как sizeof() вычисляется уже во
> время компиляции, то компилятор должен знать эту информацию уже на
> этапе сборки.
>
> Решением, на мой взгляд, будет являться подключение файла, в котором
> эта структура объявляется.
>
> Поправьте меня, если я не прав.
Вы правы, но файл подключается. Более того, на i586 собирается, только на
x86_64 такая ошибка :(
--
Led.
next prev parent reply other threads:[~2006-07-13 16:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-13 15:50 ` Led
2006-07-13 15:56 ` Led
2006-07-13 16:20 ` Slava Semushin
2006-07-13 16:23 ` Led [this message]
2006-07-13 16:32 ` Damir Shayhutdinov
2006-07-13 16:38 ` Led
2006-07-13 15:52 ` Led
2006-07-13 17:40 ` Alexey Tourbin
2006-07-13 17:47 ` Led
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=200607131923.34886.led@altlinux.ru \
--to=led@altlinux.ru \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git