ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@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 21:40:28 +0400
Message-ID: <20060713174028.GA15052@localhost.localdomain> (raw)
In-Reply-To: <200607131852.05414.led@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 1856 bytes --]

On Thu, Jul 13, 2006 at 06:52:05PM +0300, Led wrote:
> В сообщении от 13 июля 2006 16:38 Upravdom Team Robot написал(a):
> > Dear Sisyphus !
> > The lrmi-0.10-alt1 package has been rejected from incoming for x86_64
> > architecture.
> >
> > Possible reason follows:
> > vbetest.c:126: error: storage size of 'r' isn't known
> > vbetest.c:146: warning: cast to pointer from integer of different size
> > vbetest.c:126: warning: unused variable 'r'
> > vbetest.c: In function 'set_mode':
> > vbetest.c:183: error: storage size of 'r' isn't known
> > vbetest.c:200: warning: cast from pointer to integer of different size
> > vbetest.c:201: warning: cast from pointer to integer of different size
> > vbetest.c:183: warning: unused variable 'r'
> > vbetest.c: In function 'main':
> > vbetest.c:322: error: storage size of 'r' isn't known
> > vbetest.c:347: warning: implicit declaration of function 'LRMI_init'
> > vbetest.c:351: warning: assignment makes pointer from integer without a
> > cast vbetest.c:385: warning: cast from pointer to integer of different size
> > vbetest.c:405: warning: cast to pointer from integer of different size
> > vbetest.c:407: warning: cast to pointer from integer of different size
> > vbetest.c:414: warning: cast from pointer to integer of different size
> > vbetest.c:415: warning: cast from pointer to integer of different size
> > vbetest.c:322: warning: unused variable 'r'
> > make: *** [vbetest] Error 1
> > make: Leaving directory `/usr/src/RPM/BUILD/lrmi-0.10'
> > error:
> 
> Натолкните на мысль: из-за чего это может быть? Ошибка в строке:
> struct LRMI_regs r;

Из-за того, что имеется не полное объявление структуры, т.е. просто
где-то сказано
	struct LRMI_regs;
соответственно переменную-указатель на такую структуру объявить можно,
а переменную-саму-структуру -- нельзя.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-07-13 17:40 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
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 [this message]
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=20060713174028.GA15052@localhost.localdomain \
    --to=at@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