* 2.5.7 does not compile
@ 2002-03-21 16:15 Jean-Luc Coulon
2002-03-21 16:34 ` Evgeniy Polyakov
2002-03-21 16:39 ` Dave Jones
0 siblings, 2 replies; 5+ messages in thread
From: Jean-Luc Coulon @ 2002-03-21 16:15 UTC (permalink / raw)
To: linux-kernel
make[3]: Entering directory
`/usr/src/kernel-sources-2.5.7/drivers/net/hamradio'
gcc -D__KERNEL__ -I/usr/src/kernel-sources-2.5.7/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=k6 -DMODULE -DMODVERSIONS -include
/usr/src/kernel-sources-2.5.7/include/linux/modversions.h
-DKBUILD_BASENAME=scc -c -o scc.o scc.c
scc.c: In function `scc_net_rx':
scc.c:1664: `dev' undeclared (first use in this function)
scc.c:1664: (Each undeclared identifier is reported only once
scc.c:1664: for each function it appears in.)
make[3]: *** [scc.o] Error 1
make[3]: Leaving directory
`/usr/src/kernel-sources-2.5.7/drivers/net/hamradio'
make[2]: *** [_modsubdir_net/hamradio] Error 2
make[2]: Leaving directory `/usr/src/kernel-sources-2.5.7/drivers'
make[1]: *** [_mod_drivers] Error 2
make[1]: Leaving directory `/usr/src/kernel-sources-2.5.7'
make: *** [stamp-build] Error 2
-----------
Regards
Jean-Luc
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.5.7 does not compile
2002-03-21 16:15 2.5.7 does not compile Jean-Luc Coulon
@ 2002-03-21 16:34 ` Evgeniy Polyakov
2002-03-21 16:39 ` Dave Jones
1 sibling, 0 replies; 5+ messages in thread
From: Evgeniy Polyakov @ 2002-03-21 16:34 UTC (permalink / raw)
To: Jean-Luc Coulon; +Cc: linux-kernel, trivial
[-- Attachment #1: Type: text/plain, Size: 1191 bytes --]
On Thu, 21 Mar 2002 17:15:49 +0100
Jean-Luc Coulon <jean-luc.coulon@wanadoo.fr> wrote:
> make[3]: Entering directory
> `/usr/src/kernel-sources-2.5.7/drivers/net/hamradio'
> gcc -D__KERNEL__ -I/usr/src/kernel-sources-2.5.7/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=k6 -DMODULE -DMODVERSIONS -include
> /usr/src/kernel-sources-2.5.7/include/linux/modversions.h
> -DKBUILD_BASENAME=scc -c -o scc.o scc.c
> scc.c: In function `scc_net_rx':
> scc.c:1664: `dev' undeclared (first use in this function)
> scc.c:1664: (Each undeclared identifier is reported only once
> scc.c:1664: for each function it appears in.)
> make[3]: *** [scc.o] Error 1
> make[3]: Leaving directory
> `/usr/src/kernel-sources-2.5.7/drivers/net/hamradio'
> make[2]: *** [_modsubdir_net/hamradio] Error 2
> make[2]: Leaving directory `/usr/src/kernel-sources-2.5.7/drivers'
> make[1]: *** [_mod_drivers] Error 2
> make[1]: Leaving directory `/usr/src/kernel-sources-2.5.7'
> make: *** [stamp-build] Error 2
I hope this path will help you.
> -----------
> Regards
> Jean-Luc
Evgeniy Polyakov ( s0mbre )
[-- Attachment #2: drivers_net_hamradio_scc_c.diff --]
[-- Type: application/octet-stream, Size: 262 bytes --]
--- ./drivers/net/hamradio/scc.c~ Fri Mar 8 21:13:22 2002
+++ ./drivers/net/hamradio/scc.c Thu Mar 21 19:32:18 2002
@@ -1661,7 +1661,7 @@
skb->pkt_type = PACKET_HOST;
netif_rx(skb);
- dev->last_rx = jiffies;
+ scc->dev->last_rx = jiffies;
return;
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.5.7 does not compile
2002-03-21 16:15 2.5.7 does not compile Jean-Luc Coulon
2002-03-21 16:34 ` Evgeniy Polyakov
@ 2002-03-21 16:39 ` Dave Jones
2002-03-22 6:53 ` Hans-Joachim Hetscher
1 sibling, 1 reply; 5+ messages in thread
From: Dave Jones @ 2002-03-21 16:39 UTC (permalink / raw)
To: Jean-Luc Coulon; +Cc: linux-kernel
On Thu, Mar 21, 2002 at 05:15:49PM +0100, Jean-Luc Coulon wrote:
> -DKBUILD_BASENAME=scc -c -o scc.o scc.c
> scc.c: In function `scc_net_rx':
> scc.c:1664: `dev' undeclared (first use in this function)
Line should read..
scc->dev->last_rx = jiffies;
--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.5.7 does not compile
2002-03-21 16:39 ` Dave Jones
@ 2002-03-22 6:53 ` Hans-Joachim Hetscher
2002-03-22 8:34 ` Dave Jones
0 siblings, 1 reply; 5+ messages in thread
From: Hans-Joachim Hetscher @ 2002-03-22 6:53 UTC (permalink / raw)
To: Dave Jones, linux-kernel
Hallo,
It seeems to be the same bug in 6pack.c
So, I solved the problem in line 259 of 6pack.c by changing
dev->last_rx = jiffies;
into
sp->dev->last_rx = jiffies;
>>>>>>>>>>>>>>>>>> Ursprüngliche Nachricht <<<<<<<<<<<<<<<<<<
Am 21.03.02, 17:45:01, schrieb davej@suse.de (Dave Jones) zum Thema Re:
2.5.7 does not compile:
> On Thu, Mar 21, 2002 at 05:15:49PM +0100, Jean-Luc Coulon wrote:
> > -DKBUILD_BASENAME=scc -c -o scc.o scc.c
> > scc.c: In function `scc_net_rx':
> > scc.c:1664: `dev' undeclared (first use in this function)
> Line should read..
> scc->dev->last_rx = jiffies;
vy 73 de Hans-Joachim
--
DD8NE : Hans-Joachim Hetscher IP-Adr. : [44.130.62.1]
amprNet : dd8ne@db0lj.ampr.org AX25 :DD8NE@DB0LJ.#RPL.DEU.EU
Internet: dd8ne@bnv-bamberg.de hans-joachim.hetscher@de.michelin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.5.7 does not compile
2002-03-22 6:53 ` Hans-Joachim Hetscher
@ 2002-03-22 8:34 ` Dave Jones
0 siblings, 0 replies; 5+ messages in thread
From: Dave Jones @ 2002-03-22 8:34 UTC (permalink / raw)
To: dd8ne; +Cc: linux-kernel
On Fri, Mar 22, 2002 at 06:53:48AM +0000, Hans-Joachim Hetscher wrote:
> It seeems to be the same bug in 6pack.c
> So, I solved the problem in line 259 of 6pack.c by changing
> dev->last_rx = jiffies;
> into
> sp->dev->last_rx = jiffies;
Yeah, it's a mystery how these broken versions of the fixes ended up
in Jeff's tree. He took them from my tree, and my tree already has this
and the previous corrected fix. really weird.
anyways, it's moot as all this is going to Jeff at the end of the week
anyway for his pushing to Linus on his return the following week 8-)
--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-03-22 8:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-21 16:15 2.5.7 does not compile Jean-Luc Coulon
2002-03-21 16:34 ` Evgeniy Polyakov
2002-03-21 16:39 ` Dave Jones
2002-03-22 6:53 ` Hans-Joachim Hetscher
2002-03-22 8:34 ` Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox