PROBLEM: Missing declaration of slhc_install in drivers/net/setup.c

delphifan (delphifan@263.net)
Sun, 21 Nov 1999 01:09:23 +0800


This is a multi-part message in MIME format.

------=_NextPart_000_0006_01BF33BD.0C337E40
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable

To whome concerned:

I found a missing of declaration of "slhc_install"
in the kernel source version 2.3.28 in drivers/net/setup.c.

It will yield an error at line 112 of that file:

#if (..............) {slhc_install,0}
#endif

if PPP or somthing like that are configured to be build into kernel (not =
as modules).

Of course it is solved by adding the line:

extern void slhc_install(void);

at top of the file.

Regards

------=_NextPart_000_0006_01BF33BD.0C337E40
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">

To whome concerned:
 
I found a missing of declaration of=20 "slhc_install"
in the kernel source version 2.3.28 = in=20 drivers/net/setup.c.
 
It will yield an error at line 112 = of that=20 file:
 
#if (..............)=20 {slhc_install,0}
#endif
 
if PPP or=20 somthing like that are configured = to be build=20 into kernel (not as modules).
 
Of course it is solved by adding the = line:
 
extern void = slhc_install(void);
 
at top of the file.
 
Regards
 
------=_NextPart_000_0006_01BF33BD.0C337E40-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/