[Hardware] Плата реле DM6952

Aleksey P. Karelin karelin-ap на mail.ru
Пт Май 27 12:31:50 MSD 2005


Добрый день!

Есть плата реле dm6952 и есть src.rpm драйверов. Делаю как в инструкции 
env CPPFLAGS=-l/usr/src/linux-2.4.26-std-up/include rpmbuild --rebuild 
dm6952hr-1.0.0.src.rpm

получаю:

Устанавливается dm6952hr-1.0-0.src.rpm
Выполняется(%prep): /bin/sh -e /home/leha/tmp/rpm-tmp.71708
+ umask 022
+ /bin/mkdir -p /home/leha/RPM/BUILD
+ cd /home/leha/RPM/BUILD
+ cd /home/leha/RPM/BUILD
+ rm -rf dm6952hr-1.0
+ echo 'Source #0 (dm6952hr-1.0.tar.gz):'
Source #0 (dm6952hr-1.0.tar.gz):
drwxrwxrwx 501/501           0 2003-06-10 14:04:30 dm6952hr-1.0/
-rw-rw-r-- 501/501       19047 2003-06-10 14:04:28 dm6952hr-1.0/Makefile.in
-rw-rw-r-- 501/501        5360 2003-06-10 14:04:28 dm6952hr-1.0/README
-rw-rw-r-- 501/501          10 2003-06-10 14:04:28 dm6952hr-1.0/stamp-h.in
-rw-rw-r-- 501/501          18 2003-06-10 14:04:28 dm6952hr-1.0/AUTHORS
-rw-rw-r-- 501/501         131 2003-06-10 14:04:28 dm6952hr-1.0/COPYING
-rw-rw-r-- 501/501           0 2003-06-10 14:04:28 dm6952hr-1.0/ChangeLog
-rw-rw-r-- 501/501        7675 2003-06-10 14:04:28 dm6952hr-1.0/INSTALL
-rw-rw-r-- 501/501         989 2003-06-10 14:04:28 dm6952hr-1.0/Makefile.am
-rw-rw-r-- 501/501          22 2003-06-10 14:04:28 dm6952hr-1.0/NEWS
-rw-rw-r-- 501/501           0 2003-06-10 14:04:28 dm6952hr-1.0/TODO
-rw-r--r-- 501/501      109551 2003-06-10 14:04:28 dm6952hr-1.0/acinclude.m4
-rw-rw-r-- 501/501      112751 2003-06-10 14:04:29 dm6952hr-1.0/aclocal.m4
-rwxr-xr-x 501/501       39311 2003-06-10 14:04:29 dm6952hr-1.0/config.guess
-rw-rw-r-- 501/501        2375 2003-06-10 14:04:29 dm6952hr-1.0/config.h.in
-rwxr-xr-x 501/501       27594 2003-06-10 14:04:29 dm6952hr-1.0/config.sub
-rwxrwxr-x 501/501      108770 2003-06-10 14:04:29 dm6952hr-1.0/configure
-rw-rw-r-- 501/501        1801 2003-06-10 14:04:29 dm6952hr-1.0/configure.in
-rwxr-xr-x 501/501        5598 2003-06-10 14:04:29 dm6952hr-1.0/install-sh
-rwxr-xr-x 501/501       97728 2003-06-10 14:04:29 dm6952hr-1.0/ltconfig
-rw-r--r-- 501/501      138394 2003-06-10 14:04:29 dm6952hr-1.0/ltmain.sh
-rwxr-xr-x 501/501        6472 2003-06-10 14:04:30 dm6952hr-1.0/missing
-rwxr-xr-x 501/501         722 2003-06-10 14:04:30 
dm6952hr-1.0/mkinstalldirs
-rw-rw-r-- 501/501         264 2003-06-10 14:04:30 dm6952hr-1.0/MAKEDEV.in
-rw-rw-r-- 501/501        1664 2003-06-10 14:04:30 
dm6952hr-1.0/dm6952hrdrv.spec
-rw-rw-r-- 501/501       11020 2003-06-10 14:04:30 
dm6952hr-1.0/Dm6952hrDevice.c
-rw-rw-r-- 501/501        1123 2003-06-10 14:04:30 
dm6952hr-1.0/Dm6952hrDevice.h
drwxrwxrwx 501/501           0 2003-06-10 14:04:30 dm6952hr-1.0/rtd/
-rw-rw-r-- 501/501        8798 2003-06-10 14:04:30 
dm6952hr-1.0/rtd/Makefile.in
-rw-rw-r-- 501/501          67 2003-06-10 14:04:30 
dm6952hr-1.0/rtd/Makefile.am
-rw-rw-r-- 501/501        1586 2003-06-10 14:04:30 
dm6952hr-1.0/rtd/DM6952hrioctl.h
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for kgcc... gcc
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -pipe -Wall -O2 -march=i686 ) 
works... no
configure: error: installation or configuration problem: C compiler 
cannot create executables.
ошибка: Неверный код возврата из /home/leha/tmp/rpm-tmp.79404 (%prep)

Ошибки сборки пакетов:
Неверный код возврата из /home/leha/tmp/rpm-tmp.79404 (%prep)

Где моя ошибка?

С уважением,
Карелин А.


Подробная информация о списке рассылки Hardware