[wplug] Kernel build bug

Weber, Lawrence A laweber at switch.com
Thu May 15 14:30:14 EDT 2008


Thanks, I ran into this several other times in the build and it became
obvious that "fixing" the Makefile was the wrong thing to do. 


>-------------------------------------------
Lawrence A. Weber
Consulting Engineer
>ANSALDO STS
>Union Switch & Signal
>1000 Technology Drive
>Pittsburgh, PA  15219-3120
>Ph: 412-688-2319
>Email:  laweber at switch.com
-------------------------------------------

-----Original Message-----
From: wplug-bounces+laweber=switch.com at wplug.org
[mailto:wplug-bounces+laweber=switch.com at wplug.org] On Behalf Of Vance
Kochenderfer
Sent: Thursday, May 15, 2008 1:32 PM
To: wplug at wplug.org
Subject: Re: [wplug] Kernel build bug

"Weber, Lawrence A" <laweber at switch.com> wrote:
> The error says there is no rule to make net/ipv4/netfilter/ipt_ECN.c 
> for net/ipv4/netfilter/ipt_ECN.o
> 
> There is a file ipt_ecn.c and a rule that builds ipt_ecn.o.  Later in 
> the Makefile it references ipt_ECN.o. and crashes.
> 
> Am I correct in thinking that make is case sensitive like everything 
> else?  If this is true then I can see other errors in the following 
> Makefile lines.

According to the tree at
<http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.25.y.git;a=t
ree;f=net/ipv4/netfilter;h=72d3e0f1788a138b2fad12fa5bf78c86197e7a00;hb=1
420f09c0b8a88f9df2034e6ba04fcc4c3f6925e>,
/net/ipv4/netfilter/ in 2.6.25.1 contains BOTH ipt_ecn.c and ipt_ECN.c.
If you're missing one of them, it may have gotten wiped out by a
case-insensitive archive tool or filesystem.

It doesn't look like any ECN lines in the Makefile have changed in the
past year or so, so if it contained such a gross error I would have to
hope that would be plenty of time for it to be caught.

Vance Kochenderfer        |  "Get me out of these ropes and into a
vkochend at nyx.net          |   good belt of Scotch"    -Nick Danger
_______________________________________________
wplug mailing list
wplug at wplug.org
http://www.wplug.org/mailman/listinfo/wplug


More information about the wplug mailing list