Linmodems Mailing list Archives

Google
 
Web archives.linmodems.org

Return-Path: <discuss.-linmodems.org@russnelson.com>
Mailing-List: contact discuss-help@linmodems.org; run by ezmlm
Delivered-To: mailing list discuss@linmodems.org
Received: (qmail 17606 invoked from network); 21 Jan 2002 02:30:11 -0000
Received: from desk.crynwr.com (206.150.82.98)
  by ns1.crynwr.com with SMTP; 21 Jan 2002 02:30:11 -0000
Received: (qmail 22410 invoked by uid 501); 21 Jan 2002 02:30:07 -0000
Received: (qmail 16272 invoked from network); 21 Jan 2002 02:06:50 -0000
Received: from mail.gmi.net (64.89.200.10)
  by www.linmodems.org with SMTP; 21 Jan 2002 02:06:50 -0000
Received: from jhp3l01 (p64-89-202-150.gmi.net [64.89.202.150])
	by mail.gmi.net (Postfix) with SMTP id 6600F5714A8
	for <discuss@linmodems.org>; Sun, 20 Jan 2002 20:06:48 -0600 (CST)
Message-ID: <005b01c1a21f$f9ef9b00$01ca5940@jhp3l01>
Reply-To: "Andy Gay" <spstudy@gmi.net>
From: "Andy Gay" <spstudy@gmi.net>
To: <discuss@linmodems.org>
Subject: Kernel header problems
Date: Sun, 20 Jan 2002 20:04:35 -0600
Organization: Senatobia Presbyterian Church
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0058_01C1A1ED.AEC5BC40"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

This is a multi-part message in MIME format.

------=_NextPart_000_0058_01C1A1ED.AEC5BC40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

When using the linmodem kit,
I am stuck with kernel header problems in Mandrake 8.1
I have tested good on everything in the prerequisites test up 'til the =
kernal headers.
I did "ln -s /usr/include/linux /usr/src/linux
An ls of /usr/include/linux or /usr/src/linux gives me a bunch of .h =
files in both directories.
When I did the test in "Prerequisites" with=20
"ls /usr/src/linux/include/linux"
I got a "No such file or directory" error

When I run ./build_module I get:
Checking for kernel headers
  ... in /usr/src/linux: nope
  ... in /usr/src/kernel-headers-2.4.8-26mdk: nope
  ... in /usr/src/linux-2.4.8: nope
  ... in /usr/src/linux-2.4.8-26mdk: nope

ERROR: No kernel headers found.
  If you have kernel headers installed but configure did not find them,=20
  please try --with-kernel=3Ddir, otherwise please install the kernel =
headers=20
  from your distribution.
  Two other common problems are unreadable kernel sources (SuSE - build =
as root)=20
  or unconfigured kernel sources (configure kernel sources and execute =
make dep=20
  in the kernel source tree).


Why do I get this report when my ls shows /usr/src/linux full of .h =
files?

Thanks for the help.
Andy Gay

------=_NextPart_000_0058_01C1A1ED.AEC5BC40
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>When using the linmodem =
kit,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I am stuck with kernel header problems =
in Mandrake=20
8.1<BR>I have tested good on everything in the prerequisites test up =
'til the=20
kernal headers.<BR>I did "ln -s /usr/include/linux /usr/src/linux<BR>An =
ls of=20
/usr/include/linux or /usr/src/linux gives me a bunch of .h files in =
both=20
directories.<BR>When I did the test in "Prerequisites" with <BR>"ls=20
/usr/src/linux/include/linux"<BR>I got a "No such file or directory"=20
error</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I run ./build_module I =
get:<BR>Checking for=20
kernel headers<BR>&nbsp; ... in /usr/src/linux: nope<BR>&nbsp; ... in=20
/usr/src/kernel-headers-2.4.8-26mdk: nope<BR>&nbsp; ... in =
/usr/src/linux-2.4.8:=20
nope<BR>&nbsp; ... in /usr/src/linux-2.4.8-26mdk: nope</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>ERROR: No kernel headers =
found.<BR>&nbsp; If you=20
have kernel headers installed but configure did not find them, =
<BR>&nbsp; please=20
try --with-kernel=3Ddir, otherwise please install the kernel headers =
<BR>&nbsp;=20
from your distribution.<BR>&nbsp; Two other common problems are =
unreadable=20
kernel sources (SuSE - build as root) <BR>&nbsp; or unconfigured kernel =
sources=20
(configure kernel sources and execute make dep <BR>&nbsp; in the kernel =
source=20
tree).</FONT></DIV>
<DIV>&nbsp;</DIV><FONT face=3DArial size=3D2>
<DIV><BR>Why do I get this report when my ls shows /usr/src/linux full =
of .h=20
files?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for the help.<BR>Andy Gay</FONT></DIV></BODY></HTML>

------=_NextPart_000_0058_01C1A1ED.AEC5BC40--

Webmaster: Russell Nelson
Last modified: Wed Jul 30 11:02:43 EDT 2003