Bug 40148 - e100 driver always recompiled in 2.2.19-7.0.1
Summary: e100 driver always recompiled in 2.2.19-7.0.1
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.0
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-10 22:34 UTC by Need Real Name
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-05-10 22:34:13 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2001:081 0 normal SHIPPED_LIVE Linux kernel 2.2.19 available providing minor bug fixes 2001-06-12 04:00:00 UTC

Description Need Real Name 2001-05-10 22:34:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.7 [en] (X11; U; SunOS 5.8 sun4u)

Description of problem:
The e100 network driver always gets recompiled, even if it's up to
date, because it was added to drivers/net/Makefile in the wrong way.


How reproducible:
Always

Steps to Reproduce:
1."make modules"
2."make modules"
3.
	

Actual Results:  e100.c will be compiled the second time even though
nothing has changed.

Expected Results:  e100.c should not have been recompiled the second time.

Additional info:

Here's a patch for drivers/net/Makefile to fix it:
--- linux-2.2.19/drivers/net/Makefile.orig      Mon Apr  9 22:29:49 2001
+++ linux-2.2.19/drivers/net/Makefile   Thu May 10 15:46:05 2001
@@ -35,6 +35,8 @@
 CONFIG_SYNCPPP_BUILTIN :=
 CONFIG_SYNCPPP_MODULE  :=
 
+CFLAGS_e100.o = -DEXPORT_SYMTAB
+
 ifeq ($(CONFIG_ISDN),y)
   ifeq ($(CONFIG_ISDN_PPP),y)
     CONFIG_BSDCOMP_BUILTIN = y
@@ -1483,9 +1485,6 @@
 
 rcpci.o: rcpci45.o rclanmtl.o
        $(LD) -r -o rcpci.o rcpci45.o rclanmtl.o
-
-e100.o: e100.c e100.h
-       $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -DEXPORT_SYMTAB -c -o
$*.o $<
 
 e1000.o: e1000_main.o e1000_fxhw.o
        $(LD) -r -o e1000.o e1000_main.o e1000_fxhw.o

Comment 1 Arjan van de Ven 2001-05-11 08:54:50 UTC
Thanks for the report. I've fixed this for the next 2.2 build.
(I'm closing this as "fixed in rawhide" even though it isn't available yet)


Note You need to log in before you can comment on or make changes to this bug.