All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] How to install e1000e.ko to Debian 9
@ 2018-02-15  8:39 Narcis Garcia
  2018-02-15  9:15 ` Neftin, Sasha
  2018-02-15 11:57 ` Neftin, Sasha
  0 siblings, 2 replies; 4+ messages in thread
From: Narcis Garcia @ 2018-02-15  8:39 UTC (permalink / raw)
  To: intel-wired-lan

My steps:

$ uname -srvm
Linux 4.9.0-5-amd64 #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64

0. Install build/compiler tools:
sudo apt-get install build-essential linux-headers-amd64

1. Download latest stable version (3.4.0.2) from:
https://sourceforge.net/projects/e1000/files/e1000e%20stable/

2. Unpack:
tar zxf e1000e-*.tar.gz

3. Compile and install:
cd e1000e-*/src/
sudo make install

cc1: error: code model kernel does not support PIC mode
/bin/sh: 1: [: -ge: unexpected operator
Makefile:199: *** *** Aborting the build. *** This driver is not
supported on kernel versions older than 2.4.0.  Alto.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Intel-wired-lan] How to install e1000e.ko to Debian 9
  2018-02-15  8:39 [Intel-wired-lan] How to install e1000e.ko to Debian 9 Narcis Garcia
@ 2018-02-15  9:15 ` Neftin, Sasha
  2018-02-15  9:38   ` Narcis Garcia
  2018-02-15 11:57 ` Neftin, Sasha
  1 sibling, 1 reply; 4+ messages in thread
From: Neftin, Sasha @ 2018-02-15  9:15 UTC (permalink / raw)
  To: intel-wired-lan

On 2/15/2018 10:39, Narcis Garcia wrote:
> cc1: error: code model kernel does not support PIC mode
Hello,
I believe you have a two options: update your gcc compiler to 4.8 or try 
ad flag -fno-pie to your Makefile.
Please, refer to follow thread regard your question on source forge: 
https://sourceforge.net/p/e1000/bugs/542/
Also, I advice send your question to SourceForge mailing list: 
e1000-devel at lists.sourceforge.net.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Intel-wired-lan] How to install e1000e.ko to Debian 9
  2018-02-15  9:15 ` Neftin, Sasha
@ 2018-02-15  9:38   ` Narcis Garcia
  0 siblings, 0 replies; 4+ messages in thread
From: Narcis Garcia @ 2018-02-15  9:38 UTC (permalink / raw)
  To: intel-wired-lan

$ gcc --version
gcc (Debian 6.3.0-18) 6.3.0 20170516

I'm not experienced with this.
How to flag -fno-pie to the "Makefile" ?

In the meanwhile, I'm doing the workaround by schnick:
Find in Makefile ( e1000e/src/Makefile , Line ~152) =>
EXTRA_CFLAGS += $(CFLAGS_EXTRA)
Insert a new line after that => EXTRA_CFLAGS += -fno-pie


El 15/02/18 a les 10:15, Neftin, Sasha ha escrit:
> On 2/15/2018 10:39, Narcis Garcia wrote:
>> cc1: error: code model kernel does not support PIC mode
> Hello,
> I believe you have a two options: update your gcc compiler to 4.8 or try
> ad flag -fno-pie to your Makefile.
> Please, refer to follow thread regard your question on source forge:
> https://sourceforge.net/p/e1000/bugs/542/
> Also, I advice send your question to SourceForge mailing list:
> e1000-devel at lists.sourceforge.net.
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Intel-wired-lan] How to install e1000e.ko to Debian 9
  2018-02-15  8:39 [Intel-wired-lan] How to install e1000e.ko to Debian 9 Narcis Garcia
  2018-02-15  9:15 ` Neftin, Sasha
@ 2018-02-15 11:57 ` Neftin, Sasha
  1 sibling, 0 replies; 4+ messages in thread
From: Neftin, Sasha @ 2018-02-15 11:57 UTC (permalink / raw)
  To: intel-wired-lan

On 2/15/2018 10:39, Narcis Garcia wrote:
> My steps:
> 
> $ uname -srvm
> Linux 4.9.0-5-amd64 #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64
> 
> 0. Install build/compiler tools:
> sudo apt-get install build-essential linux-headers-amd64
> 
> 1. Download latest stable version (3.4.0.2) from:
> https://sourceforge.net/projects/e1000/files/e1000e%20stable/
> 
> 2. Unpack:
> tar zxf e1000e-*.tar.gz
> 
> 3. Compile and install:
> cd e1000e-*/src/
> sudo make install
> 
> cc1: error: code model kernel does not support PIC mode
> /bin/sh: 1: [: -ge: unexpected operator
> Makefile:199: *** *** Aborting the build. *** This driver is not
> supported on kernel versions older than 2.4.0.  Alto.
> _______________________________________________
> Intel-wired-lan mailing list
> Intel-wired-lan at osuosl.org
> https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
> 
Please, follow discussion on SourceForge: 
https://sourceforge.net/p/e1000/bugs/542/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-15 11:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-15  8:39 [Intel-wired-lan] How to install e1000e.ko to Debian 9 Narcis Garcia
2018-02-15  9:15 ` Neftin, Sasha
2018-02-15  9:38   ` Narcis Garcia
2018-02-15 11:57 ` Neftin, Sasha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.