From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 19 Oct 2005 10:29:01 +0600 From: Yakov Hrebtov X-Mailer: The Bat! (v2.10.03) Business X-Priority: 3 (Normal) Message-ID: <1704019900.20051019102901@generation.ru> To: hardware@altlinux.ru Subject: =?koi8-r?B?UmVbMl06IFtIYXJkd2FyZV0g0M/ExMXS1svBIDN3YXJlIDk1MDBTLTRMUA==?= In-Reply-To: <20051018123241.GA9744@master.mivlgu.local> References: <147434319.20051018170731@generation.ru> <20051018123241.GA9744@master.mivlgu.local> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on router.generation.ru X-Spam-Level: X-Spam-Status: No, hits=-104.9 required=5.4 tests=BAYES_00, USER_IN_WHITELIST autolearn=no version=2.63 Cc: X-BeenThere: hardware@lists.altlinux.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hardware@altlinux.ru, Yakov Hrebtov List-Id: ALT Linux hardware support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 04:29:04 -0000 Archived-At: List-Archive: List-Post: Здравствуйте, 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