ALT Linux hardware support
 help / color / mirror / Atom feed
From: Yakov Hrebtov <jake@generation.ru>
To: hardware@altlinux.ru
Subject: Re[2]: [Hardware] поддержка 3ware 9500S-4LP
Date: Wed, 19 Oct 2005 10:29:01 +0600
Message-ID: <1704019900.20051019102901@generation.ru> (raw)
In-Reply-To: <20051018123241.GA9744@master.mivlgu.local>

Здравствуйте, Sergey.

Вы писали 18 октября 2005 г., 18:32:41:

SV> В принципе можно собрать драйвер от производителя для ядра из M2.4, но при
SV> необходимости установки системы непосредственно на диски, подключенные к
SV> этому контроллеру, придётся выполнить некоторое количество ручных действий
SV> для подключения драйвера.

Я скачал 3w-9xxx-linux-src-2.4-9.2.1.1.tgz и пытаюсь скомпилировать
под 2.4.25-std-up-alt2.

прописал в Makefile
SRCPATH = /usr/include/linux-2.4.25-std-up
(установлен пакет kernel-headers-std-up-2.4.25-alt2)

Но похоже, что заголовков для компиляции ему не хватает:

make -f ./Makefile.alt up

gcc -c -D__KERNEL__ -DMODULE -Wall -Wno-sign-compare -fno-strict-aliasing -Wstrict-prototypes -O2 -fomit-frame-pointer   -I. -I/usr/include/linux-2.4.25-std-up/drivers/scsi -I/usr/include/linux-2.4.25-std-up/include -include /usr/include/linux-2.4.25-std-up/include/linux/modversions.h -o 3w-9xxx.o 3w-9xxx.c
3w-9xxx.c:83:16: sd.h: No such file or directory
3w-9xxx.c:84:18: scsi.h: No such file or directory
3w-9xxx.c:85:19: hosts.h: No such file or directory
In file included from 3w-9xxx.c:87:
3w-9xxx.h:774: syntax error before "Scsi_Cmnd"
3w-9xxx.h:774: warning: no semicolon at end of struct or union
3w-9xxx.h:809: syntax error before '}' token
3w-9xxx.h:809: warning: type defaults to `int' in declaration of `TW_Device_Extension'
3w-9xxx.h:809: warning: data definition has no type or storage class
3w-9xxx.h:814: syntax error before '*' token
3w-9xxx.h:814: warning: function declaration isn't a prototype
...
... много-много подобых warning
...
3w-9xxx.c:2253: warning: excess elements in scalar initializer
3w-9xxx.c:2253: warning: (near initialization for `driver_template')
3w-9xxx.c:2253: warning: data definition has no type or storage class
3w-9xxx.c:2254:25: scsi_module.c: No such file or directory
make: *** [3w-9xxx.o] Error 1

Что необходимо для компиляции? Почему он не находит заголовки?
Еще и scsi_module.c ему надо...

Спасибо за помощь!
-- 
С уважением,
 Yakov                          mailto:jake@generation.ru



  reply	other threads:[~2005-10-19  4:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-18 11:07 Yakov Hrebtov
2005-10-18 12:16 ` Maxim Tyurin
2005-10-18 12:32 ` Sergey Vlasov
2005-10-19  4:29   ` Yakov Hrebtov [this message]
2005-10-19  6:27     ` Re[3]: " Yakov Hrebtov

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=1704019900.20051019102901@generation.ru \
    --to=jake@generation.ru \
    --cc=hardware@altlinux.ru \
    /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 hardware support

This inbox may be cloned and mirrored by anyone:

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

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


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