From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 From: "Andrey Liakhovets" To: community@lists.altlinux.org X-Mailer: CommuniGate Pro WebUser v5.0.14 Date: Mon, 01 Apr 2013 11:29:00 +0400 Message-ID: In-Reply-To: <1364587481.341592668@f194.mail.ru> References: <1364587481.341592668@f194.mail.ru> X-Priority: 3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: Re: [Comm] Com 2 ethernet X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 07:29:11 -0000 Archived-At: List-Archive: List-Post: On Sat, 30 Mar 2013 00:04:41 +0400 Vladimir Karpinsky wrote: > Здравствуйте! > >Есть адаптер com2ethernet: http://www.digi.com/products/serialservers/digionesp . >К нему есть драйвера для разных Linux'ов, но для Альта нет. Модуль dgrp есть в последних ядрах. В бранче P6 он здесь: kernel-modules-staging-un-test-3.8.5-alt0.M60P.1 Так что можно попробовать в исходниках с сайта отключить сборку всего ядерного и собирать только демоны/утилиты, а драйвер взять готовый. Андрей Ляховец >Скачал RedHat'овский src.rpm, пытаюсь собрать. >Установил по требованию kernel-headers и kernael-source. >При сборке получаю ругань: > >make[2]: Entering directory `/usr/src/kernel-source-3.0' > >  ERROR: Kernel configuration is invalid. >         include/generated/autoconf.h or include/config/auto.conf are missing. >         Run 'make oldconfig && make prepare' on kernel src to fix it. > > >  WARNING: Symbol version dump /usr/src/kernel-source-3.0/Module.symvers >           is missing; modules will have no dependencies and modversions. > >  CC [M]  /home/karp/RPM/BUILD/dgrp-1.9/driver/build/dgrp_common.o >/home/karp/RPM/BUILD/dgrp-1.9/driver/build/dgrp_common.c:1:0: error: code model 'kernel' not supported in the 32  mode >/home/karp/RPM/BUILD/dgrp-1.9/driver/build/dgrp_common.c:1:0: sorry, unimplemented: 64-bit mode not compiled in >make[3]: *** [/home/karp/RPM/BUILD/dgrp-1.9/driver/build/dgrp_common.o] Error 1 >make[2]: *** [_module_/home/karp/RPM/BUILD/dgrp-1.9/driver/build] Error 2 >make[2]: Leaving directory `/usr/src/kernel-source-3.0' >make[1]: *** [build] Error 2 >make[1]: Leaving directory `/home/karp/RPM/BUILD/dgrp-1.9/driver/2.6.27' >make: *** [build] Error 2 >make: Leaving directory `/home/karp/RPM/BUILD/dgrp-1.9' >ошибка: Неверный код возврата из /home/karp/tmp/rpm-tmp.35866 (%build) > > >Ошибки сборки пакетов: >    Неверный код возврата из /home/karp/tmp/rpm-tmp.35866 (%build) > >spec прилагаю. > >Подскажите, пожалуйста, как это можно побороть. > >-- >Vladimir Karpinsky