Linmodems Mailing list Archives
Return-Path: <patrick.bussi@free.fr>
Mailing-List: contact discuss-help@linmodems.org; run by ezmlm
Delivered-To: mailing list discuss@linmodems.org
Received: (qmail 23535 invoked from network); 6 Oct 2002 23:21:38 -0000
Received: from postfix3-1.free.fr (213.228.0.44)
by www.linmodems.org with SMTP; 6 Oct 2002 23:21:38 -0000
Received: from there (nas-cbv-4-62-147-141-205.dial.proxad.net [62.147.141.205])
by postfix3-1.free.fr (Postfix) with SMTP
id 1E2D5D9E13; Mon, 7 Oct 2002 01:21:30 +0200 (MEST)
Content-Type: text/plain;
charset="iso-8859-1"
From: Patrick Bussi <patrick.bussi@free.fr>
Reply-To: patrick.bussi@free.fr
To: discuss@linmodems.org
Subject: Re: Compile errors with pctel-0.9.4 -- solved
Date: Mon, 7 Oct 2002 01:10:23 +0200
X-Mailer: KMail [version 1.3.2]
References: <20020905160252.9949.qmail@web20417.mail.yahoo.com>
In-Reply-To: <20020905160252.9949.qmail@web20417.mail.yahoo.com>
Cc: Z F <mail4me9999@yahoo.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-Id: <20021006232130.1E2D5D9E13@postfix3-1.free.fr>
Hello,
The solution came from the mail below. This mail is only to conclude and
explain. This may appear obvious to experts in software, of which I am not.
In my configuration the symbolic link "linux" was linked with an old version
of the kernel (2.4.3), because it was the last known version of the sources
in this PC. I had installed a more recent kernel (2.4.18) from a 3 CD
Mandrake distribution which included a 2.4.18 binaries, but not the sources.
I was absolutely not aware of this.
Now, I have downloaded the 2.4.19 sources and tried my best to configure and
compile the kernel as it was on the 2.4.18 binary version. Then to configure
and compile the pctel driver on the same kernel. After many attempts and
several nights, it worked.
I suggest that a "Caution" should be added in the FAQ.
Most often the installation guide request to check `uname -r`. This is not
enough, because it refers to the kernel currently in use, but do not check
that the sources of this version are available. One should also check that
/usr/src/ contains a link to the same version as returned by `uname`. Such as:
lrwxrwxrwx 1 root root 12 sep 30 23:53 linux -> linux-2.4.19/
More : I tried, as suggested below, the command:
[src]# ./configure --with-hal=pct789 \
--with-kernel-include=/usr/src/linux-2.4.19/include/
This was OK untill installation of the driver. But the symbolic link seems to
be required by the "make install" script and therefore I wonder what is the
usefullness of the "--with-kernel-include" option. I am not skilled enough
for more investigation.
Thanks for the help I received. Many wishes of success to all of you.
Patrick.
> Maybe is a configuration error. You should tell configure the path to
> the kernel headers for 2.4.18-6mdk kernel as it will take some things
> from the kernel include files. Most probably you did not tell anything
> and from your old installation there is a symbolic link
> /usr/src/linux -> /path/to/kernel-2.4.3.
> If that is the case, you should have headers for the 2.4.18-6mdk and
> tell the configure script where to find them with
> --with-kernel=/path/to/kernel-2.4.18-6mdk argument to ./configure.
>
> Hope this helps
>
> Lazar
>
Webmaster: Russell Nelson
Last modified: Wed Jul 30 11:02:43 EDT 2003