[lkml]   [2003]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[2.5 patch] isdn_net_lib.c must include isdn_concap.h
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"



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.022 / U:2.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site