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 21:56:30 IST 2004


The location of the kernel header files has to be specified in the make file
accompanying the driver or included in the command line.  I was just
specifying the location in the make file and the resulting error is what I
posted. I was looking to find out about the symbolic link mentioned in the
error message.  Looks to me like the kernel header files should not be
accessed directly.  Here is the error extracted from the rubbish.

You should not include /usr/include/{linux,asm}/ header files directly for
the compilation of kernel modules. glibc now uses kernel header files from a
well-definedworking kernel version (as recommended by Linus Torvalds)"These
files are glibc internal and may not match the"currently running kernel.
They should only be included via other system header files - user space
programs should not directly include <linux/*.h> or <asm/*.h> as well. To
build kernel modules please do the following: Have the kernel sources
installed Make sure that the
symbolic link"/lib/modules/`uname -r`/build exists and points to the
matching kernel source
directory. Now copy /boot/vmlinuz.version.h to
 /lib/modules/`uname -r`/build/include/linux/version.h When compiling, make
sure to use the following compiler option to use the correct include
iles:  -I/lib/modules/`uname -r`/build/include instead
f  -I/usr/include/linux. Please adjust the Makefile accordingly."

Don't know if I have kernel sources installed (how do I check)
Know nowt about symbolic links (newbie like I said :-)
Will I have to do this manually?
     Cheers for the replies, wasn't expecting much on a sunday.
	Steve




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