Winmodem problem with SUSE 9.0 Pro - Νεότερα 4
Παπαμίκος Βασίλειος
vpapamikos at yahoo.gr
Wed Feb 23 17:50:43 EET 2005
O/H Dimitris Sellakis έγραψε:
>Dokimase na ftiakseis rpm.
>Ego sto diko mou forito me suse 9.0 pro
>kai smartlink modem, eixa problimata me tin egkatastasi tou,
>mexri pou tou eftiaksa rpm.
>
>Den ksero giati, alla to suse fenete,
>na ta paei kalytera me ta etoima rpm.
>To arxeio pou exeis, prepei na exei mesa odigies,
>gia to pos na ftiakseis rpm, an 8umamai kala prepei na
>doseis kati san rpmbuild -ta /path/to/slmdm-2.7.10.tar.gz
>
>
Δοκίμασα λοιπόν να φτιάξω rpm και πήρα τα...rpmίδια μου... :-)
Δες παρακάτω τί έγινε σε 3 διαφορετικές περιπτώσεις:
linux:/home/xxxxx # rpmbuild -ta /home/xxxxx/Desktop/slmdm-2.7.10.tar.gz
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.37338
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf slmdm-2.7.10
+ /usr/bin/gzip -dc /home/xxxxx/Desktop/slmdm-2.7.10.tar.gz
+ tar -xvvf -
drwxrwxr-x builder/builder 0 2003-02-04 15:25:28 slmdm-2.7.10/
-rw-rw-r-- builder/builder 1280812 2003-02-04 15:25:28 slmdm-2.7.10/mdm.o
-rw-rw-r-- builder/builder 159216 2003-02-04 15:25:28 slmdm-2.7.10/fax.o
-rw-rw-r-- builder/builder 295576 2003-02-04 15:25:28 slmdm-2.7.10/amrmo.o
-rw-rw-r-- builder/builder 6252 2003-02-04 15:25:28 slmdm-2.7.10/usb.o
-rw-r--r-- builder/builder 30352 2003-02-04 15:25:28
slmdm-2.7.10/country.dat
-rwxrwxr-x builder/builder 40334 2003-02-04 15:25:28 slmdm-2.7.10/slver
-rw-rw-r-- builder/builder 4425 2003-02-04 15:25:28
slmdm-2.7.10/modem_driver.h
-rw-rw-r-- builder/builder 2462 2003-02-04 15:25:28
slmdm-2.7.10/slmdm.spec
-rw-rw-r-- builder/builder 3496 2003-02-04 15:25:28
slmdm-2.7.10/mdm_init.c
-rw-rw-r-- builder/builder 21699 2003-02-04 15:25:28
slmdm-2.7.10/mdm_sltty.c
-rw-rw-r-- builder/builder 7405 2003-02-04 15:25:28
slmdm-2.7.10/mdm_params.c
-rw-rw-r-- builder/builder 2417 2003-02-04 15:25:28
slmdm-2.7.10/fax_init.c
-rw-rw-r-- builder/builder 12085 2003-02-04 15:25:28
slmdm-2.7.10/amrmo_init.c
-rw-rw-r-- builder/builder 38453 2003-02-04 15:25:28
slmdm-2.7.10/usb_st7554.c
-rw-rw-r-- builder/builder 3804 2003-02-04 15:25:28
slmdm-2.7.10/linux_compat.h
-rw-rw-r-- builder/builder 4472 2003-02-04 15:25:28 slmdm-2.7.10/sysdep.c
-rw-rw-r-- builder/builder 4125 2003-02-04 15:25:28
slmdm-2.7.10/sysdep_linux.c
-rw-rw-r-- builder/builder 4094 2003-02-04 15:25:28
slmdm-2.7.10/sysdep_pci.c
-rw-rw-r-- builder/builder 2073 2003-02-04 15:25:28
slmdm-2.7.10/kernel-ver.c
-rw-rw-r-- builder/builder 2604 2003-02-04 15:25:28 slmdm-2.7.10/editme.c
-rw-rw-r-- builder/builder 4923 2003-02-04 15:25:28 slmdm-2.7.10/README
-rw-rw-r-- builder/builder 1681 2003-02-04 15:25:28
slmdm-2.7.10/COPYRIGHT
-rw-rw-r-- builder/builder 2155 2003-02-04 15:25:28 slmdm-2.7.10/FAQ
-rw-rw-r-- builder/builder 2143 2003-02-04 15:25:28 slmdm-2.7.10/Changes
-rw-rw-r-- builder/builder 4534 2003-02-04 15:25:28 slmdm-2.7.10/Makefile
-rw-rw-r-- builder/builder 91 2003-02-04 15:25:28
slmdm-2.7.10/slmdm.modules-dist
-rw-rw-r-- builder/builder 48 2003-02-04 15:25:28
slmdm-2.7.10/slamr.modules-dist
-rw-rw-r-- builder/builder 46 2003-02-04 15:25:28
slmdm-2.7.10/slusb.modules-dist
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd slmdm-2.7.10
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.65432
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd slmdm-2.7.10
+ EXT_CFLAGS=-O2 -g -march=i586 -mcpu=i686 -fmessage-length=0
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.65432
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd slmdm-2.7.10
+ make prefix_dir=/var/tmp/build-slmdm-2.7.10-root install spec-file-lists
gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB
-I. -I/usr/src/linux/include -DMODVERSIONS --include
/usr/src/linux/include/linux/modversions.h -o kernel-ver.o -c kernel-ver.c
<command line>:138835837:30656:
/usr/src/linux/include/linux/modversions.h: No such file or directory
In file included from kernel-ver.c:48:
/usr/include/linux/version.h:2:2: #error
"======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include
/usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the
compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header
files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as
recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal
and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They
should only be"
/usr/include/linux/version.h:10:2: #error "included via other system
header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly
include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules
please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources
installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the
symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname
-r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source
directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Configure kernel sources:"
/usr/include/linux/version.h:23:2: #error " - cd /usr/src/linux"
/usr/include/linux/version.h:24:2: #error " - make mrproper"
/usr/include/linux/version.h:25:2: #error " - make cloneconfig"
/usr/include/linux/version.h:26:2: #error " - make dep"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " o When compiling, make sure
to use the following"
/usr/include/linux/version.h:29:2: #error " compiler option to use the
correct include files:"
/usr/include/linux/version.h:30:2: #error ""
/usr/include/linux/version.h:31:2: #error " -I/lib/modules/`uname
-r`/build/include"
/usr/include/linux/version.h:32:2: #error ""
/usr/include/linux/version.h:33:2: #error " instead of"
/usr/include/linux/version.h:34:2: #error ""
/usr/include/linux/version.h:35:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:36:2: #error ""
/usr/include/linux/version.h:37:2: #error " Please adjust the Makefile
accordingly."
/usr/include/linux/version.h:38:2: #error
"======================================================="
kernel-ver.c: In function `main':
kernel-ver.c:52: error: `UTS_RELEASE' undeclared (first use in this
function)
kernel-ver.c:52: error: (Each undeclared identifier is reported only once
kernel-ver.c:52: error: for each function it appears in.)
make: *** [kernel-ver.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.65432 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.65432 (%install)
linux:/home/xxxxx # rpmbuild -ta
/home/xxxxx/Desktop/hsflinmodem-5.03.27mbsibeta02122600.tar.gz
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.11938
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf hsflinmodem-5.03.27mbsibeta02122600
+ /usr/bin/gzip -dc
/home/xxxxx/Desktop/hsflinmodem-5.03.27mbsibeta02122600.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hsflinmodem-5.03.27mbsibeta02122600
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.11938
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd hsflinmodem-5.03.27mbsibeta02122600
+ make --quiet --no-print-directory all
+ cp /home/xxxxx/Desktop/100498D_RM_HxF_Released.pdf .
cp: cannot stat `/home/xxxxx/Desktop/100498D_RM_HxF_Released.pdf': No
such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.11938 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.11938 (%build)
linux:/home/xxxxx # rpmbuild -ta
/home/xxxxx/Desktop/hsflinmodem-5.03.27mbsibeta02122600.tar.gz
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.69193
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf hsflinmodem-5.03.27mbsibeta02122600
+ /usr/bin/gzip -dc
/home/xxxxx/Desktop/hsflinmodem-5.03.27mbsibeta02122600.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hsflinmodem-5.03.27mbsibeta02122600
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.51958
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd hsflinmodem-5.03.27mbsibeta02122600
+ make --quiet --no-print-directory all
+ cp /home/xxxxx/Desktop/100498D_RM_HxF_Released.pdf .
cp: cannot stat `/home/xxxxx/Desktop/100498D_RM_HxF_Released.pdf': No
such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.51958 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.51958 (%build)
Θα το σπάσω το ρημάδι ρεεεεεε :-))) (η απελπισία και ο πρωτάρης live)...
More information about the Migrate2linux
mailing list