Re: KDE 3.2 - Control Center - Sys Admin - Linux Kernel - Sorry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am So, den 08.02.2004 schrieb HD um 03:36:
> Alexander Dalloz wrote:
> 
> >>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
> > 
> > 
> 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.
> 
> .....
> 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

Those 2 lines above (86+87) let be one:

"$CONFIG_HDLC_PPP" = "y" ]; 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.

I remember someone reported the error before, either on this list or one
of the other Fedora lists (maybe test or devel) and the solution was to
modify the Config.in file and put the "then" to the line directly above.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2149.nptl
Sirendipity 03:45:08 up 8 days, 2:45, load average: 1.26, 1.19, 1.05 
                   [ ÎÎÏÎÎ Ï'ÎÏÏÎÎ - gnothi seauton ]





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux