Skip to contentSkip to conversation

linux kernel conf 0.9

DISCUSSION Roman Zippel 3 participants 7 messages Oct 14, 2002 – Oct 15, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

At http://www.xs4all.nl/~zippel/lc/ you can find as usual the latest version of the new config system.
I still haven't got a single mail from someone who tried it and didn't like it, what makes me a bit nervous :), so if you think something must be wrong, now is your last chance. Next version will go to Linus. Changes:
- as alternative suggestion for the config name I used "Kconfig" this time. I tried "Config", but somehow that's terrible to do find for, as one gets to many false positives. Even with a capital 'C' there are still these:
Documentation/networking/Configurable
scripts/Configure
(ok, the latter will go away :) ).
- kbuild fixes (many thanks to Sam Ravnborg), I only added the clean targets.
- the back end is now generated as shared library and loaded by qconf at run time.
- small syntax change: "depends on", "requires" is also accepted besides "depends", generated is "depends on".
- conf displays the help text again.
- the behaviour difference in qconf between qt2 and qt3, when all symbols are shown, is fixed.

bye, Roman

#1 lore raw
Quoted 7 lines · Roman Zippel

Hi,

At http://www.xs4all.nl/~zippel/lc/ you can find as usual the latest version of the new config system.
I still haven't got a single mail from someone who tried it and didn't like it, what makes me a bit nervous :), so if you think something must be wrong, now is your last chance. Next version will go to Linus.

I get the following error on Red Hat 7.2:

g++ -O2 -Wall -g -fPIC -I/usr/lib/qt-2.3.1/include -c qconf.cc -o qconf.o In file included from lkc.h:10,

                 from qconf.cc:22:

zconf.tab.h:8: conflicting types for typedef union YYSTYPE YYSTYPE' zconf.tab.h:8: previous declaration as typedef union YYSTYPE YYSTYPE' zconf.tab.h:38: conflicting types for YYSTYPE zconflval' zconf.tab.h:38: previous declaration as YYSTYPE zconflval'

when trying to build the lkc package on it's own.

But when using the provided patch, make xconfig built the program just fine.

Either way, nice job, I like the new format and the speed.

thanks,

greg k-h

#2 lore raw

Hi,

Quoted 11 lines · Greg KH

I get the following error on Red Hat 7.2:

g++ -O2 -Wall -g -fPIC -I/usr/lib/qt-2.3.1/include -c qconf.cc -o qconf.o In file included from lkc.h:10,

                 from qconf.cc:22:

zconf.tab.h:8: conflicting types for typedef union YYSTYPE YYSTYPE' zconf.tab.h:8: previous declaration as typedef union YYSTYPE YYSTYPE' zconf.tab.h:38: conflicting types for YYSTYPE zconflval' zconf.tab.h:38: previous declaration as YYSTYPE zconflval'

when trying to build the lkc package on it's own.

Hmm, another bison version. :)
Anyway, I've just uploaded a fixed version.

Quoted 1 line

Either way, nice job, I like the new format and the speed.

Thanks.

bye, Roman

#3 lore raw
In reply to Roman Zippel

Hi Roman,

I do always get the following segfault:

<-- snip -->

$ cd /tmp/
$ tar xzf lkc-0.9.tar.gz
$ cd lkc-0.9
$ make
...
$ cd ~/linux/kernel-2.5
$ tar xzf linux-2.5.42.tar.gz
$ cd linux-2.5.42
$ bzcat /tmp/lkc-0.9-2.5.42.diff.bz2 |patch -p1
...
$ /tmp/lkc-0.9/lkcc i386
...
undefined symbol ARCH_ACORN
undefined symbol IA64
undefined symbol BAGET_MIPS
undefined symbol IA32_EMULATION
undefined symbol RPXCLASSIC
undefined symbol IT8172_REVC
recursive dependency: ISDN_DRV_EICON_DIVAS ISDN_DRV_EICON_OLD (choice(2) detected) ISDN_DRV_EICON_DIVAS
recursive dependency: AEDSP16_MSS AEDSP16_SBPRO (choice(1) detected) AEDSP16_MSS
recursive dependency: INPUT_GAMEPORT INPUT_GAMEPORT
recursive dependency: SCSI_AIC7XXX_OLD SCSI_AIC7XXX (choice(2) detected) SCSI_AIC7XXX_OLD AIC7XXX_BUILD_FIRMWARE
Segmentation fault
$

<-- snip -->

cu
Adrian

Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
                                Pearl S. Buck - Dragon Seed
#4 lore raw

Hi,

Quoted 6 lines · Adrian Bunk

recursive dependency: ISDN_DRV_EICON_DIVAS ISDN_DRV_EICON_OLD (choice(2) detected) ISDN_DRV_EICON_DIVAS recursive dependency: AEDSP16_MSS AEDSP16_SBPRO (choice(1) detected) AEDSP16_MSS
recursive dependency: INPUT_GAMEPORT INPUT_GAMEPORT
recursive dependency: SCSI_AIC7XXX_OLD SCSI_AIC7XXX (choice(2) detected) SCSI_AIC7XXX_OLD AIC7XXX_BUILD_FIRMWARE Segmentation fault
$

You either have to apply the prepare patch or manually remove the CONFIG_INPUT_GAMEPORT definitions from the config files. The converter cannot handle unresolved recursive dependencies, this is fixable, but on the other hand also easy to avoid, so I didn't bother.

bye, Roman

#5 lore raw
In reply to Adrian Bunk

Hi,

Quoted 11 lines · Adrian Bunk
$ cd /tmp/
$ tar xzf lkc-0.9.tar.gz
$ cd lkc-0.9
$ make
...
$ cd ~/linux/kernel-2.5
$ tar xzf linux-2.5.42.tar.gz
$ cd linux-2.5.42
$ bzcat /tmp/lkc-0.9-2.5.42.diff.bz2 |patch -p1
...
$ /tmp/lkc-0.9/lkcc i386

Umm, now I see the problem, the patch already contains everything, so you don't need to convert anything after applying it. If you want to convert your kernel tree, it's best to use 'make install KERNELSRC=...' target in lkc.

bye, Roman

#6 lore raw
Quoted 1 line · Roman Zippel

Hi,

Hi Roman,

Quoted 14 lines · Adrian Bunk
Quoted 12 lines
$ cd /tmp/
$ tar xzf lkc-0.9.tar.gz
$ cd lkc-0.9
$ make
...
$ cd ~/linux/kernel-2.5
$ tar xzf linux-2.5.42.tar.gz
$ cd linux-2.5.42
$ bzcat /tmp/lkc-0.9-2.5.42.diff.bz2 |patch -p1
...
$ /tmp/lkc-0.9/lkcc i386
Quoted 4 lines

Umm, now I see the problem, the patch already contains everything, so you don't need to convert anything after applying it. If you want to convert your kernel tree, it's best to use 'make install KERNELSRC=...' target in lkc.

ah thanks, that's it. This is the way it's described in lkc.html, I was only looking at lkc-0.9/README where I didn't find this information...

Quoted 1 line

bye, Roman

cu
Adrian

Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
                                Pearl S. Buck - Dragon Seed