LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Winmodem Driver problem

[ILUG] Winmodem Driver problem

Steven Kenny arbadruada at eircom.net
Sun May 16 11:44:11 IST 2004


Hi all,
	I have got a linux driver for my smartlink winmodem but cannot install it.
I know it works because a friend got it going before but I had to wipe my
partition and do a fresh install and need to set it up again.  According to
the readme the tar.gz can be made in to an RPM and installed that way
(sounds the easiest for a newbie like me, no manual compilation of files :-)
but I get an error using the command "rpm -ta slmdm-2.7.14.tar.gz" that is
suggested in the readme.  Details of the error

/usr/include/linux/modversions.h:1:2: #error
"======================================================="
/usr/include/linux/modversions.h:2:2: #error "You should not include
/usr/include/{linux,asm}/ header"
/usr/include/linux/modversions.h:3:2: #error "files directly for the
compilation of kernel modules."
/usr/include/linux/modversions.h:4:2: #error ""
/usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header
files from a well-defined"
/usr/include/linux/modversions.h:6:2: #error "working kernel version (as
recommended by Linus Torvalds)"
/usr/include/linux/modversions.h:7:2: #error "These files are glibc internal
and may not match the"
/usr/include/linux/modversions.h:8:2: #error "currently running kernel. They
should only be"
/usr/include/linux/modversions.h:9:2: #error "included via other system
header files - user space"
/usr/include/linux/modversions.h:10:2: #error "programs should not directly
include <linux/*.h> or"
/usr/include/linux/modversions.h:11:2: #error "<asm/*.h> as well."
/usr/include/linux/modversions.h:12:2: #error ""
/usr/include/linux/modversions.h:13:2: #error "To build kernel modules
please do the following:"
/usr/include/linux/modversions.h:14:2: #error ""
/usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources
installed"
/usr/include/linux/modversions.h:16:2: #error ""
/usr/include/linux/modversions.h:17:2: #error " o Make sure that the
symbolic link"
/usr/include/linux/modversions.h:18:2: #error "
  /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/modversions.h:19:2: #error "   the matching kernel source
directory"
/usr/include/linux/modversions.h:20:2: #error ""
/usr/include/linux/modversions.h:21:2: #error " o Now copy
/boot/vmlinuz.version.h to"
/usr/include/linux/modversions.h:22:2: #error "
  /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/modversions.h:23:2: #error ""
/usr/include/linux/modversions.h:24:2: #error " o When compiling, make sure
to use the following"
/usr/include/linux/modversions.h:25:2: #error "   compiler option to use the
correct include files:"
/usr/include/linux/modversions.h:26:2: #error ""
/usr/include/linux/modversions.h:27:2: #error
"   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/modversions.h:28:2: #error ""
/usr/include/linux/modversions.h:29:2: #error "   instead of"
/usr/include/linux/modversions.h:30:2: #error ""
/usr/include/linux/modversions.h:31:2: #error "   -I/usr/include/linux"
/usr/include/linux/modversions.h:32:2: #error ""
/usr/include/linux/modversions.h:33:2: #error "   Please adjust the Makefile
accordingly."
/usr/include/linux/modversions.h:34:2: #error
"======================================================="
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 Now copy
/boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "
  /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to
use the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the
correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error
"   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile
accordingly."
/usr/include/linux/version.h:35: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.12778 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.12778 (%install)

I am fairly sure the symbolic link mentioned does not exist (only one folder
in /lib/modules) and have no idea how to set it up.  I am running Mandrake
9.2
 Any help appreciated.
	Regards,
		Steven Kenny




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell