ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Dmitriy Khanzhin <dimajin@sandy.ru>
To: devel-kernel@lists.altlinux.org
Subject: [d-kernel] kernel-modules-pctel for kernel 2.6.16: Help!
Date: Sun, 16 Apr 2006 01:41:08 +0400
Message-ID: <44416874.2020906@sandy.ru> (raw)

Здравствуйте!
Собираю kernel-modules-pctel.
Для ядер 2.6.12 и 2.6.14 собралось и работает.
Для ядра 2.6.16- вот такая диагностика:
 /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.o
 /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c: In
function `receive_chars':
 /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c:406:
error: structure has no member named `flip'

Тут строчка такая: if (unlikely(tty->flip.count >= TTY_FLIPBUF_SIZE)) {

 /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c:459:
error: structure has no member named `flip'

А тут такая: tty->flip.count < TTY_FLIPBUF_SIZE) {

^^
Эти ошибки возникли из-за изменения linux/tty_flip.h, как я понял?
А что за зверь этот tty->flip.count, где посмотреть и как это называется
в ядре 2.6.16?

 /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c: In
function `linmodem_config_port':
 /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c:1008:
error: `UPF_BOOT_ONLYMCA' undeclared (first use in this function)
 /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c:1008:
error: (Each undeclared identifier is reported only once
 /home/diman/Documents/pctel/pctel-0.9.7-9-rht-5/src/linmodem-2.6.c:1008:
error: for each function it appears in.)
^^
Эти- изменился linux/serial_core.h: убрали определение UPF_BOOT_ONLYMCA.
Оно надо и что означает, где смотреть?

Извиняюсь, если вопросы заданы недостаточно правильно. Наставьте на путь
истинный. :-)

Для справки- исходник тут:
http://linmodems.technion.ac.il/pctel-linux/pctel-0.9.7-9-rht-5.tar.gz

-- 
С уважением, Дмитрий Ханжин.
Registered Linux user #387627.
Just For Fun!








             reply	other threads:[~2006-04-15 21:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-15 21:41 Dmitriy Khanzhin [this message]
2006-04-15 22:04 ` Konstantin A. Lepikhov
2006-04-16  5:20   ` [d-kernel] kernel-modules-pctel for kernel 2.6.16: Thanks! Dmitriy Khanzhin

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=44416874.2020906@sandy.ru \
    --to=dimajin@sandy.ru \
    --cc=devel-kernel@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 kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

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


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