mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: kkeil@suse.de, kai.germaschewski@gmx.de,
	isdn4linux@listserv.isdn4linux.de
Cc: linux-kernel@vger.kernel.org
Subject: [2.5 patch] isdn_net_lib.c must include isdn_concap.h
Date: Sun, 16 Feb 2003 12:28:23 +0100	[thread overview]
Message-ID: <20030216112823.GB20159@fs.tum.de> (raw)

With CONFIG_ISDN_X25 enabled I got the following compile error in 
isdn_net_lib.c in 2.5.61:

<--  snip  -->

...
  gcc -Wp,-MD,drivers/isdn/i4l/.isdn_net_lib.o.d -D__KERNEL__ -Iinclude 
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing 
-fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 
-Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include    
-DKBUILD_BASENAME=isdn_net_lib -DKBUILD_MODNAME=isdn -c -o 
drivers/isdn/i4l/isdn_net_lib.o drivers/isdn/i4l/isdn_net_lib.c
...
drivers/isdn/i4l/isdn_net_lib.c: In function `isdn_net_lib_init':
drivers/isdn/i4l/isdn_net_lib.c:2330: `isdn_x25_ops' undeclared (first 
use in this function)
drivers/isdn/i4l/isdn_net_lib.c:2330: (Each undeclared identifier is 
reported only once
drivers/isdn/i4l/isdn_net_lib.c:2330: for each function it appears in.)
make[3]: *** [drivers/isdn/i4l/isdn_net_lib.o] Error 1

<--  snip  -->

The following patch solved it for me:

--- linux-2.5.61-full/drivers/isdn/i4l/isdn_net_lib.c.old	2003-02-16 12:22:56.000000000 +0100
+++ linux-2.5.61-full/drivers/isdn/i4l/isdn_net_lib.c	2003-02-16 12:24:39.000000000 +0100
@@ -58,6 +58,7 @@
 #include "isdn_net.h"
 #include "isdn_ppp.h"
 #include "isdn_ciscohdlck.h"
+#include "isdn_concap.h"
 
 #define ISDN_NET_TX_TIMEOUT (20*HZ) 
 


cu
Adrian



                 reply	other threads:[~2003-02-16 11:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20030216112823.GB20159@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=isdn4linux@listserv.isdn4linux.de \
    --cc=kai.germaschewski@gmx.de \
    --cc=kkeil@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /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®