From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4296E7FD.6060605@mail.ru> Date: Fri, 27 May 2005 13:27:25 +0400 From: "Aleksey P. Karelin" User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: community@altlinux.ru Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: [Comm] =?koi8-r?b?88LP0svBIMTSwcrXxdLP1yDEzNEg0MzB1Nkg0sXMxSBk?= =?koi8-r?b?bTY5NTI=?= X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2005 09:28:39 -0000 Archived-At: List-Archive: List-Post: Добрый день! Есть плата реле dm6952, и src.rpm драйверов. Делаю: env CPPFLAgcc-2.96 rpmbuild --rebuild dm6952hr-1.0-0.src.rpm Устанавливается dm6952hr-1.0-0.src.rpm Выполняется(%prep): /bin/sh -e /home/leha/tmp/rpm-tmp.72581 + 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): + /bin/gzip -dc /home/leha/RPM/SOURCES/dm6952hr-1.0.tar.gz + /bin/tar -xvvf - 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 + cd dm6952hr-1.0 + /bin/chmod -Rf u+rwX,go-w . + CFLAGS=-pipe -Wall -O2 -march=i686 + CXXFLAGS=-pipe -Wall -O2 -march=i686 + ./configure 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-2.96 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-2.96 checking whether the C compiler (gcc-2.96 -pipe -Wall -O2 -march=i686 ) works... yes checking whether the C compiler (gcc-2.96 -pipe -Wall -O2 -march=i686 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc-2.96 accepts -g... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for object suffix... o checking for executable suffix... no checking for ranlib... ranlib checking for strip... strip updating cache ./config.cache loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... (cached) no checking for gcc-2.96 option to produce PIC... -fPIC checking if gcc-2.96 PIC flag -fPIC works... yes checking if gcc-2.96 supports -c -o file.o... yes checking if gcc-2.96 supports -c -o file.lo... yes checking if gcc-2.96 supports -fno-rtti -fno-exceptions ... yes checking if gcc-2.96 static flag -static works... none checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking for gcc... (cached) gcc-2.96 checking whether the C compiler (gcc-2.96 -pipe -Wall -O2 -march=i686 ) works... yes checking whether the C compiler (gcc-2.96 -pipe -Wall -O2 -march=i686 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc-2.96 accepts -g... (cached) yes checking for a C-Compiler... gcc-2.96 checking whether the C compiler (gcc-2.96 -pipe -Wall -O2 -march=i686 ) works... yes checking whether the C compiler (gcc-2.96 -pipe -Wall -O2 -march=i686 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking how to run the C preprocessor... gcc-2.96 -E checking for working const... yes checking for inline... inline checking size of char... 1 checking size of unsigned char... 1 checking size of int... 4 checking size of unsigned int... 4 checking size of long... 4 checking size of unsigned long... 4 checking size of void*... 4 checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for unistd.h... yes checking for linux/spinlock.h... yes checking for asm/byteorder.h... yes checking for asm/atomic.h... yes checking for linux/module.h... yes checking for linux/version.h... yes checking for linux/config.h... yes checking for linux/init.h... yes checking for linux/stat.h... yes checking for linux/fs.h... yes checking for linux/errno.h... yes checking for linux/types.h... yes checking for linux/sched.h... yes checking for linux/ioport.h... yes checking for linux/time.h... yes checking for asm/io.h... yes checking for asm/uaccess.h... yes checking for uname -a... 2.4.26-std-up-alt6 updating cache ./config.cache creating ./config.status creating Makefile creating rtd/Makefile creating config.h + exit 0 Выполняется(%build): /bin/sh -e /home/leha/tmp/rpm-tmp.38815 + umask 022 + /bin/mkdir -p /home/leha/RPM/BUILD + cd /home/leha/RPM/BUILD + cd dm6952hr-1.0 ++ egrep -c '^cpu[0-9]+' /proc/stat + numprocs=1 + '[' 1 = 0 ']' + make -j1 make: Entering directory `/home/leha/RPM/BUILD/dm6952hr-1.0' Makefile:643: warning: overriding commands for target `MAKEDEV' Makefile:373: warning: ignoring old commands for target `MAKEDEV' cd . && automake --gnu --include-deps Makefile aclocal.m4:549: error: m4_defn: undefined macro: _m4_divert_diversion autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from... aclocal.m4:549: the top level autom4te-2.5: /usr/bin/m4 failed with exit status: 1 automake-default: autoconf failed with exit status: 1 make: *** [Makefile.in] Error 1 make: Leaving directory `/home/leha/RPM/BUILD/dm6952hr-1.0' ошибка: Неверный код возврата из /home/leha/tmp/rpm-tmp.38815 (%build) Ошибки сборки пакетов: Неверный код возврата из /home/leha/tmp/rpm-tmp.38815 (%build) Где моя ошибка? С уважением, Карелин А.