Re: [Cooker] Compiling with latest kernel and gcc

2003-09-25 Thread danny
On Thu, 25 Sep 2003, Robert Fox wrote:

> I guess I have to write the original developers.
> 
You can also force it to compile using (for bash):
export IGNORE_CC_MISMATCH=1
and then run make again.
ofcourse, this might lead to a crashing driver/kernel. But it might also 
work.

d.





Re: [Cooker] Compiling with latest kernel and gcc

2003-09-25 Thread Robert Fox
On Thu, 2003-09-25 at 12:11, Teletchéa Stéphane wrote:
> Le jeu 25/09/2003 à 11:53, Robert Fox a écrit :
> > On Thu, 2003-09-25 at 11:40, Teletchéa Stéphane wrote:
> > > Le jeu 25/09/2003 à 10:11, Robert Fox a écrit :
> > > > I have a Sony Vaio PCG-R505EL which happens to have a PcTel based
> > > > winmodem.  After finding the drivers, I compiled them successfully, but
> > > > when I tried to load the module - I get this:
> > > > 
> > > > [EMAIL PROTECTED] pctel-0.9.6]# modprobe pctel
> > > > /lib/modules/2.4.22-10mdk/misc/pctel.o: The module you are trying to
> > > > load (/lib/modules/2.4.22-10mdk/misc/pctel.o) is compiled with a gcc
> > > > version 2 compiler, while the kernel you are running is compiled with
> > > > a gcc version 3 compiler. This is known to not work.
> > > > modprobe: insmod /lib/modules/2.4.22-10mdk/misc/pctel.o failed
> > > > modprobe: insmod pctel failed
> > > > 
> > > > [EMAIL PROTECTED] pctel-0.9.6]# gcc --version
> > > > gcc (GCC) 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)
> > > > Copyright (C) 2003 Free Software Foundation, Inc.
> > > > This is free software; see the source for copying conditions.  There is
> > > > NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> > > > PURPOSE.
> > > > 
> > > > What did I do wrong here?
> > > > 
> > > > Thx,
> > > > R.Fox
> > > 
> > > Is it a GPL driver or a pseudo driver with some part of it pre-compiled
> > > ?
> > 
> > Don't think so - I found it at:
> > http://linmodems.technion.ac.il/pctel-linux/
> > 
> > > For the second case, you have to ask the provider of the driver to
> > > compile its part with gcc 3 ...
> > >
> > What part are you referring to?  I compiled it myself using the
> > instruction on the website mentioned above. . . .
> > 
> > I don't get it . . .
> > 
> > Thx,
> > R.Fox
> 
> Do you have a new version of vuart.o (and others pre-compiled librairies
> after the make etc process ?)
> 
> Before the compilation (from source file provided in via the link :
> 
> > [EMAIL PROTECTED] pctel-0.9.6]$ cd lib/
> [EMAIL PROTECTED] lib]$ ls
> asus/control.aMakefile.in  sis/  vuart.o
> cm8738/  Makefile.am  pct789/  via/
> [EMAIL PROTECTED] lib]$ file vuart.o
> vuart.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not
> stripped
> 
> I meant these kind of pre-compiled files ...
> 
> Stef

I guess I have to write the original developers.

Thanks for the tip!

R.Fox




Re: [Cooker] Compiling with latest kernel and gcc

2003-09-25 Thread Teletchéa Stéphane
Le jeu 25/09/2003 à 11:53, Robert Fox a écrit :
> On Thu, 2003-09-25 at 11:40, Teletchéa Stéphane wrote:
> > Le jeu 25/09/2003 à 10:11, Robert Fox a écrit :
> > > I have a Sony Vaio PCG-R505EL which happens to have a PcTel based
> > > winmodem.  After finding the drivers, I compiled them successfully, but
> > > when I tried to load the module - I get this:
> > > 
> > > [EMAIL PROTECTED] pctel-0.9.6]# modprobe pctel
> > > /lib/modules/2.4.22-10mdk/misc/pctel.o: The module you are trying to
> > > load (/lib/modules/2.4.22-10mdk/misc/pctel.o) is compiled with a gcc
> > > version 2 compiler, while the kernel you are running is compiled with
> > > a gcc version 3 compiler. This is known to not work.
> > > modprobe: insmod /lib/modules/2.4.22-10mdk/misc/pctel.o failed
> > > modprobe: insmod pctel failed
> > > 
> > > [EMAIL PROTECTED] pctel-0.9.6]# gcc --version
> > > gcc (GCC) 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)
> > > Copyright (C) 2003 Free Software Foundation, Inc.
> > > This is free software; see the source for copying conditions.  There is
> > > NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> > > PURPOSE.
> > > 
> > > What did I do wrong here?
> > > 
> > > Thx,
> > > R.Fox
> > 
> > Is it a GPL driver or a pseudo driver with some part of it pre-compiled
> > ?
> 
> Don't think so - I found it at:
> http://linmodems.technion.ac.il/pctel-linux/
> 
> > For the second case, you have to ask the provider of the driver to
> > compile its part with gcc 3 ...
> >
> What part are you referring to?  I compiled it myself using the
> instruction on the website mentioned above. . . .
> 
> I don't get it . . .
> 
> Thx,
> R.Fox

Do you have a new version of vuart.o (and others pre-compiled librairies
after the make etc process ?)

Before the compilation (from source file provided in via the link :

> [EMAIL PROTECTED] pctel-0.9.6]$ cd lib/
[EMAIL PROTECTED] lib]$ ls
asus/control.aMakefile.in  sis/  vuart.o
cm8738/  Makefile.am  pct789/  via/
[EMAIL PROTECTED] lib]$ file vuart.o
vuart.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not
stripped

I meant these kind of pre-compiled files ...

Stef
-- 


signature.asc
Description: PGP signature


Re: [Cooker] Compiling with latest kernel and gcc

2003-09-25 Thread Robert Fox
On Thu, 2003-09-25 at 11:40, Teletchéa Stéphane wrote:
> Le jeu 25/09/2003 à 10:11, Robert Fox a écrit :
> > I have a Sony Vaio PCG-R505EL which happens to have a PcTel based
> > winmodem.  After finding the drivers, I compiled them successfully, but
> > when I tried to load the module - I get this:
> > 
> > [EMAIL PROTECTED] pctel-0.9.6]# modprobe pctel
> > /lib/modules/2.4.22-10mdk/misc/pctel.o: The module you are trying to
> > load (/lib/modules/2.4.22-10mdk/misc/pctel.o) is compiled with a gcc
> > version 2 compiler, while the kernel you are running is compiled with
> > a gcc version 3 compiler. This is known to not work.
> > modprobe: insmod /lib/modules/2.4.22-10mdk/misc/pctel.o failed
> > modprobe: insmod pctel failed
> > 
> > [EMAIL PROTECTED] pctel-0.9.6]# gcc --version
> > gcc (GCC) 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)
> > Copyright (C) 2003 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions.  There is
> > NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> > PURPOSE.
> > 
> > What did I do wrong here?
> > 
> > Thx,
> > R.Fox
> 
> Is it a GPL driver or a pseudo driver with some part of it pre-compiled
> ?

Don't think so - I found it at:
http://linmodems.technion.ac.il/pctel-linux/

> For the second case, you have to ask the provider of the driver to
> compile its part with gcc 3 ...
>
What part are you referring to?  I compiled it myself using the
instruction on the website mentioned above. . . .

I don't get it . . .

Thx,
R.Fox
-- 

 >   F O X  Consulting Services   <
  Europe Voice: +49/(0)172-9600938Fax: +49/(0)40-49219912
 E-Mail: [EMAIL PROTECTED]   FCS Web:  http://foxconsult.com





Re: [Cooker] Compiling with latest kernel and gcc

2003-09-25 Thread Teletchéa Stéphane
Le jeu 25/09/2003 à 10:11, Robert Fox a écrit :
> I have a Sony Vaio PCG-R505EL which happens to have a PcTel based
> winmodem.  After finding the drivers, I compiled them successfully, but
> when I tried to load the module - I get this:
> 
> [EMAIL PROTECTED] pctel-0.9.6]# modprobe pctel
> /lib/modules/2.4.22-10mdk/misc/pctel.o: The module you are trying to
> load (/lib/modules/2.4.22-10mdk/misc/pctel.o) is compiled with a gcc
> version 2 compiler, while the kernel you are running is compiled with
> a gcc version 3 compiler. This is known to not work.
> modprobe: insmod /lib/modules/2.4.22-10mdk/misc/pctel.o failed
> modprobe: insmod pctel failed
> 
> [EMAIL PROTECTED] pctel-0.9.6]# gcc --version
> gcc (GCC) 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is
> NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
> 
> What did I do wrong here?
> 
> Thx,
> R.Fox

Is it a GPL driver or a pseudo driver with some part of it pre-compiled
?
For the second case, you have to ask the provider of the driver to
compile its part with gcc 3 ...

Stef

-- 


signature.asc
Description: PGP signature


[Cooker] Compiling with latest kernel and gcc

2003-09-25 Thread Robert Fox
I have a Sony Vaio PCG-R505EL which happens to have a PcTel based
winmodem.  After finding the drivers, I compiled them successfully, but
when I tried to load the module - I get this:

[EMAIL PROTECTED] pctel-0.9.6]# modprobe pctel
/lib/modules/2.4.22-10mdk/misc/pctel.o: The module you are trying to
load (/lib/modules/2.4.22-10mdk/misc/pctel.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
modprobe: insmod /lib/modules/2.4.22-10mdk/misc/pctel.o failed
modprobe: insmod pctel failed

[EMAIL PROTECTED] pctel-0.9.6]# gcc --version
gcc (GCC) 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

What did I do wrong here?

Thx,
R.Fox
-- 
Robert Fox <[EMAIL PROTECTED]>
Fox Consulting Services