Linmodems Mailing list Archives

Google
 
Web archives.linmodems.org

Return-Path: <stodolsk@rcn.com>
Mailing-List: contact discuss-help@linmodems.org; run by ezmlm
Delivered-To: mailing list discuss@linmodems.org
Received: (qmail 9718 invoked from network); 25 Jan 2002 22:18:26 -0000
Received: from unknown (HELO relay1.softcomca.com) (168.144.1.67)
  by www.linmodems.org with SMTP; 25 Jan 2002 22:18:26 -0000
Received: from m2w082.softcomca.com ([168.144.108.82]) by relay1.softcomca.com with Microsoft SMTPSVC(5.0.2195.3779);
	 Fri, 25 Jan 2002 17:18:31 -0500
X-Originating-IP: 207.172.166.38
X-URL: http://www.mail2web.com/
Subject: RE: Re: Kernel header problems
Sender: "stodolsk@rcn.com" <stodolsk@rcn.com>
From: "stodolsk@rcn.com" <stodolsk@rcn.com>
Date: Fri, 25 Jan 2002 17:17:01 -0500
To: "higuita7@yahoo.co.uk" <higuita7@yahoo.co.uk>, "discuss@linmodems.org" <discuss@linmodems.org>
Reply-To: stodolsk@rcn.com
X-Priority: 3
X-MSMail-Priority: Normal
Content-Transfer-Encoding: Quoted-Printable
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: JMail 3.7.0 by Dimac (www.dimac.net)
Message-ID: <RELAY18OqYQBl7sCULu000048c0@relay1.softcomca.com>
X-OriginalArrivalTime: 25 Jan 2002 22:18:31.0813 (UTC) FILETIME=[38E0A350:01C1A5EE]

Thee core issue is that the kernel-header subset in /usr/include/
is NOT adequate for compiling drivers.
If the FULL kernel-header set is installed or configured in /usr/src/,
or with a symbolic link thereto
as described in DOCs/Compile-failure.txt,
then Chris's configure engine will find them
and  all will be OK.

MarvS


Original Message:
-----------------
From: higuita higuita7@yahoo.co.uk
Date: Fri, 25 Jan 2002 07:18:42 +0000
To: discuss@linmodems.org
Subject: Re: Kernel header problems


On Sun, 20 Jan 2002 20:04:35 -0600, "Andy Gay" <spstudy@gmi.net> wrote:
> 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 
> "ls /usr/src/linux/include/linux"
> I got a "No such file or directory" error

	so what this tells you?!
ln -s /usr/include/linux /usr/src/linux
ls /usr/src/linux/include/linux

	recreate the link for /usr/src/linux/include/linux
	not for /usr/src/linux
	you may need to create the missings dirs or do a fake
	kernel tree and link it

mkdir -p /usr/src/linux-headers/include
ln -s /usr/include/linux /usr/src/linux-headers/include/linux
ln -s /usr/src/linux-headers /usr/src/linux

	so this way is easy to change from the fake tree to
	any other linux tree (like a real one 8)

	good luck

higuita
ln -s /usr/include/linux /usr/src/linux




_________________________________________________________

Do You Yahoo!?

Get your free @yahoo.com address at http://mail.yahoo.com




--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

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