Messages in this thread | | | From | "delphifan" <> | Subject | PROBLEM: Missing declaration of slhc_install in drivers/net/setup.c | Date | Sun, 21 Nov 1999 01:09:23 +0800 |
| |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD>
<META content=text/html;charset=gb2312 http-equiv=Content-Type> <META content='"MSHTML 4.72.3110.7"' name=GENERATOR> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT color=#000000 size=2>To whome concerned:</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>I found a missing of declaration of "slhc_install"</FONT></DIV> <DIV><FONT color=#000000 size=2>in the kernel source version 2.3.28 in drivers/net/setup.c.</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>It will yield an error at line 112 of that file:</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>#if (..............) {slhc_install,0}<BR>#endif</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV></DIV> <DIV><FONT color=#000000 size=2>if PPP </FONT><FONT color=#000000 size=2>or somthing like that </FONT><FONT color=#000000 size=2>are configured to be build into kernel (not as modules).</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>Of course it is solved by adding the line:</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>extern void slhc_install(void);</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>at top of the file.</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>Regards</FONT></DIV> <DIV> </DIV></BODY></HTML>
| |