Alexander Dalloz wrote:
I am still new to linux and need some advice on this. So, I am sending a section of the /usr/src/linux-2.4/drivers/net/wan/Config.in file that seems to have the problem. Sorry I couldn't send this without it wrapping. I added in the line numbers here as I counted then down the page in the actual file...... The original is a generated file and I have not touched it. Line 86 seems to be wrapping in the file itself. I know so little about this.... but the ifs and thens all seem to be paired up.... I assume that's the way the should be. If it would help, and if you don't mind I could send you a text file be email so that it will look more like the original.Hmmm, I just looked at mine and also got "Sorry"
but something different...
"The kernel configuration could not be read due to the following error:
/usr/src/linux-2.4/drivers/net/wan/Config.in, line 86:
then ^ parse error
Either your kernel sources contain invalid configuration rules or you just found a bug in the KDE Kernel Configurator."
-- HD
Tipping my hat to Fedora.
If you put the "then" in /usr/src/linux-2.4/drivers/net/wan/Config.in to the previous line, the config tool will work.
Alexander
.....
68# Generic HDLC
69
70 tristate ' Generic HDLC layer' CONFIG_HDLC
71 if [ "$CONFIG_HDLC" != "n" ]; then
72 bool ' Raw HDLC support' CONFIG_HDLC_RAW
73 bool ' Raw HDLC Ethernet device support' CONFIG_HDLC_RAW_ETH
74 bool ' Cisco HDLC support' CONFIG_HDLC_CISCO
75 bool ' Frame Relay support' CONFIG_HDLC_FR
76 bool ' Synchronous Point-to-Point Protocol (PPP) support' CONFIG_HDLC_PPP
77 if [ "$CONFIG_LAPB" = "m" -a "$CONFIG_HDLC" = "m" -o "$CONFIG_LAPB" = "y" ]; then
78 bool ' X.25 protocol support' CONFIG_HDLC_X25
79 else
80 comment ' X.25/LAPB support is disabled'
81 fi
82 if [ "$CONFIG_PCI" != "n" ]; then
83 dep_tristate ' Cyclades-PC300 support (RS-232/V.35, X.21, T1/E1 boards)' CONFIG_PC300 $CONFIG_HDLC
84 if [ "$CONFIG_PC300" != "n" ]; then
85 if [ "$CONFIG_PPP" != "n" -a "$CONFIG_PPP_MULTLINK" != "n" -a "$CONFIG_PPP_SYNCTTY" != "n" -a
86"$CONFIG_HDLC_PPP" = "y" ];
87 then
88 bool ' Cyclades-PC300 MLPPP support' CONFIG_PC300_MLPPP
89 else
90 comment ' Cyclades-PC300 MLPPP support is disabled. You have to enable PPP, PPP_MULTILINK'
91 comment ' PPP_SYNCTTY and HDLC_PPP to use this package.'
92 fi
93 fi
94 fi
95 dep_tristate ' SDL RISCom/N2 support' CONFIG_N2 $CONFIG_HDLC
96 dep_tristate ' Moxa C101 support' CONFIG_C101 $CONFIG_HDLC
97 dep_tristate ' FarSync T-Series support' CONFIG_FARSYNC $CONFIG_HDLC
98 bool ' Debug received/transmitted packets' CONFIG_HDLC_DEBUG_PKT
99 bool ' Debug hard_header routines' CONFIG_HDLC_DEBUG_HARD_HEADER
100 bool ' Debug FECN/BECN conditions' CONFIG_HDLC_DEBUG_ECN
101 bool ' Debug RX/TX packet rings' CONFIG_HDLC_DEBUG_RINGS
102 fi
103
104 tristate ' Frame relay DLCI support' CONFIG_DLCI
105 if [ "$CONFIG_DLCI" != "n" ]; then
106 int ' Max open DLCI' CONFIG_DLCI_COUNT 24
107 int ' Max DLCI per device' CONFIG_DLCI_MAX 8
108 dep_tristate ' SDLA (Sangoma S502/S508) support' CONFIG_SDLA $CONFIG_DLCI
109 fi
-- HD
Tipping my hat to Fedora.