mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
To: Jean-Luc Coulon <jean-luc.coulon@wanadoo.fr>
Cc: linux-kernel@vger.kernel.org, trivial@rustcorp.com.au
Subject: Re: 2.5.7 does not compile
Date: Thu, 21 Mar 2002 19:34:53 +0300	[thread overview]
Message-ID: <20020321193453.0fe5c3ba.johnpol@2ka.mipt.ru> (raw)
In-Reply-To: <3C9A0735.8999EBB3@wanadoo.fr>

[-- 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;
 }
 

  reply	other threads:[~2002-03-21 16:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-21 16:15 Jean-Luc Coulon
2002-03-21 16:34 ` Evgeniy Polyakov [this message]
2002-03-21 16:39 ` Dave Jones
2002-03-22  6:53   ` Hans-Joachim Hetscher
2002-03-22  8:34     ` Dave Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020321193453.0fe5c3ba.johnpol@2ka.mipt.ru \
    --to=johnpol@2ka.mipt.ru \
    --cc=jean-luc.coulon@wanadoo.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®