2002-01-20 21:58:35

by Frank Davis

[permalink] [raw]
Subject: 2.5.3-pre2: isdn_common.c compile error

Hello all,
While 'make modules', I received the following error:

Regards,
Frank

isdn_common.c: In function `isdn_register_devfs':
isdn_common.c:2256: `ISDN_MINOR_B' undeclared (first use in this function)
isdn_common.c:2256: (Each undeclared identifier is reported only once
isdn_common.c:2256: for each function it appears in.)
make[2]: *** [isdn_common.o] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/isdn'
make[1]: *** [_modsubdir_isdn] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_mod_drivers] Error 2


2002-01-20 22:19:56

by Dave Jones

[permalink] [raw]
Subject: Re: 2.5.3-pre2: isdn_common.c compile error

On Sun, 20 Jan 2002, Frank Davis wrote:

> Hello all,
> While 'make modules', I received the following error:
> isdn_common.c:2256: `ISDN_MINOR_B' undeclared (first use in this function)

ISDN_MINOR_B was 0 in old trees, so replacing the error line
with s/ISDN_MINOR_B + k/k/ would have same consequences.

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs

2002-01-20 23:13:55

by Kai Germaschewski

[permalink] [raw]
Subject: Re: 2.5.3-pre2: isdn_common.c compile error

On Sun, 20 Jan 2002, Frank Davis wrote:

> isdn_common.c: In function `isdn_register_devfs':
> isdn_common.c:2256: `ISDN_MINOR_B' undeclared (first use in this function)
> isdn_common.c:2256: (Each undeclared identifier is reported only once
> isdn_common.c:2256: for each function it appears in.)

Thanks, I didn't test with the devfs on. Just remove the offending line
completely. I'll send a patch to Linus.

--Kai