ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Led <ledest@gmail.com>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] asm/page.h
Date: Tue, 19 Feb 2008 01:42:09 +0200
Message-ID: <200802190142.09105.ledest@gmail.com> (raw)
In-Reply-To: <20080218223828.GB25921@imap.altlinux.org>

Tuesday, 19 February 2008 00:38:28 Kirill Maslinsky написав:
> On Tue, Feb 19, 2008 at 12:40:33AM +0300, Dmitry V. Levin wrote:
> > On Tue, Feb 19, 2008 at 12:09:20AM +0300, Hihin Ruslan wrote:
> > > Здравствуйте QA Team Robot
> > >
> > >  В сообщении от 18 февраля 2008 вы написали:
> > >  > Package: xawtv4-4.0-alt3.cvs20070625.2
> >
> > [...]
> >
> > >  > console/fbtools.c:24:22: error: asm/page.h: No such file or
> > >  > directory
> > >
> > >  Ну и на какой пакет  ставить зависимость ?
> >
> > Надо избавляться от этой зависимости, а не искать пакет, на который её
> > можно было бы поставить.
>
> Прошу помочь избавиться от аналогичной зависимости в пакете
> eciadsl-usermode.
>
> Выдержка из лога сборки:
> . . .
> In file included from pusb.c:13:
> pusb-linux.c:32:22: error: asm/page.h: No such file or directory
> In file included from pusb.c:13:
> pusb-linux.c: In function 'pusb_endpoint_rw':
> pusb-linux.c:441: error: 'PAGE_SIZE' undeclared (first use in this
> function)
> pusb-linux.c:441: error: (Each undeclared identifier is reported only
> once
> pusb-linux.c:441: error: for each function it appears in.)
> make[1]: *** [pusb.o] Error 1
> . . .
>
> Соответствующее место в pusb-linux.c:
>
> 429 inline int pusb_endpoint_rw(int fd, int ep, unsigned char* buf, int
> size, int timeout)
> 430 {
> 431     static struct usbdevfs_bulktransfer bulk;
> 432     static int ret;
> 433     int received = 0;
> 434
> 435     do
> 436     {
> 437         bulk.ep      = ep;
> 438
> 439         bulk.len = size;
> 440
> 441         if (size > PAGE_SIZE)
> 442             bulk.len = PAGE_SIZE;
> 443
> 444         bulk.timeout = timeout;
> 445         bulk.data    = buf;
> 446
> 447         do
> 448         {
> 449             ret = ioctl(fd, USBDEVFS_BULK, &bulk);
> 450         }
> 451         while (ret < 0 && errno == EINTR);
> 452
> 453         if (ret < 0)
> 454             return(ret);
> 455
> 456         buf  += ret;
> 457         size -= ret;
> 458         received += ret;
> 459     }
> 460     while (ret==(int)bulk.len && size>0);
> 461
> 462     return(received);
> 463 }

Это не оно?

The user can find the value of PAGE_SIZE by calling getpagesize() defined in 
unistd.h .

-- 
Led


  reply	other threads:[~2008-02-18 23:42 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-18 21:09 ` [devel] xawtv4-4.0-alt3.cvs20070625.2: i586 rebuild failed Hihin Ruslan
2008-02-18 21:40   ` [devel] asm/page.h Dmitry V. Levin
2008-02-18 22:38     ` Kirill Maslinsky
2008-02-18 23:42       ` Led [this message]
2008-02-18 23:45         ` Led
2008-02-19  0:06           ` Dmitry V. Levin
2008-02-19  0:18             ` Kirill Maslinsky
2008-02-19  0:23               ` Led
2008-02-19  0:40                 ` Kirill Maslinsky
2008-02-19  0:55                   ` Led
2008-02-19  1:49                   ` Dmitry V. Levin
2008-02-19 12:42                     ` Kirill A. Shutemov
2008-02-19 12:43                       ` Mikhail Gusarov
2008-02-20  4:54                     ` Ildar Mulyukov
2008-02-20 14:33                       ` Kirill Maslinsky
2008-02-19  9:43                   ` Slava Semushin
2008-02-19  1:48               ` Dmitry V. Levin
2008-02-19 15:03                 ` Led
2008-02-19  0:11           ` Kirill Maslinsky
2008-02-19  0:22             ` Led
2008-02-19 12:35             ` Kirill A. Shutemov

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=200802190142.09105.ledest@gmail.com \
    --to=ledest@gmail.com \
    --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