lkml.org 
[lkml]   [2003]   [Feb]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSun, 16 Feb 2003 12:28:23 +0100
FromAdrian Bunk <>
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"
 
 #define ISDN_NET_TX_TIMEOUT (20*HZ) 
 

cu
Adrian


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:33    [from the cache]
©2003-2008