lkml.org 
[lkml]   [1996]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-2.0.21 - Possible problem, second time kernel is built
--
Jay Gaeta <gaeta@picker.com>
Linus,

On my system, this problem is reproducible... I have only noticed this with
2.0.21...

The first time I unpack linux-2.0.21.tar.gz, and I do:
make mrproper
make xconfig
make dep;make clean;make zImage;make modules;make modules_install
the kernel is built with no problems.
(I then proceed with: make modules;make modules_install... everything works
great.)

Next I decided to rebuild the kernel a second time (I wanted to time how long
it took), so I did:
make dep;make clean;make zImage
[...]
Entering directory `/usr/src/linux/drivers/sound'
[...]
align-functions=2 -DCPU=586 -c -o dev_table.o dev_table.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o sound_switch.o sound_switch.c
sound_switch.c: In function `init_status':
sound_switch.c:97: parse error before `SOUND_CONFIG_DATE'
make[2]: *** [sound_switch.o] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/sound'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [linuxsubdirs] Error 2

I've repeated this in it's entirety a couple of times with similar results.
Am I doing something wrong? I have not had any problems with previous kernel
patches/releases... Is there a "hidden feature" in the new mkdep.c ;) ?
Please let me know if I should provide additional information.

As long as I am sending you a message, here is a cosmetic problem that also
appeared (perhaps they are related):

make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux/scripts'
make -C /usr/src/linux/drivers/sound mkscript
make[2]: Entering directory `/usr/src/linux/drivers/sound'
Compiling Sound Driver v 3.5.5-beta1 for Linux
rm -f configure
gcc -I/usr/src/linux/include -o configure configure.c
./configure script > Config.in
cat lowlevel/Config.tmpl >> Config.in
./configure fixedlocal > local.h
./configure fixeddefines > .defines
make[2]: Leaving directory `/usr/src/linux/drivers/sound'
gcc -I/usr/src/linux/include -O2 -fomit-frame-pointer -g -Wall -c -o tkparse.o tkparse.c
tkparse.c: In function `do_source':
tkparse.c:582: warning: `old_file' might be used uninitialized in this function
gcc -I/usr/src/linux/include -O2 -fomit-frame-pointer -g -Wall -c -o tkcond.o tkcond.c
gcc -I/usr/src/linux/include -O2 -fomit-frame-pointer -g -Wall -c -o tkgen.o tkgen.c
tkgen.c: In function `dump_tk_script':
tkgen.c:674: warning: `menulabel' might be used uninitialized in this function
gcc -I/usr/src/linux/include -o tkparse tkparse.o tkcond.o tkgen.o
./tkparse < ../arch/i386/config.in > kconfig.tmp
cat header.tk >> ./kconfig.tk
cat kconfig.tmp >> kconfig.tk
rm -f kconfig.tmp
echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/linux/scripts'
wish -f scripts/kconfig.tk
WARNING - broken Config.in! CONFIG_AEDSP16 was not declared!
make[1]: Entering directory `/usr/src/linux/drivers/sound'
Compiling Sound Driver v 3.5.5-beta1 for Linux
rm -f configure
gcc -I/usr/src/linux/include -o configure configure.c
./configure fixedlocal > local.h
./configure fixeddefines > .defines
make[1]: Leaving directory `/usr/src/linux/drivers/sound'

Note the tkparse.c:582: warning, and tkgen.c:674: warning. Also note that
the WARNING - broken Config.in! CONFIG_AEDSP16 was not declared! has been
in recent kernels for a while now.

By the way 2.0.21 seems to be working OK on my system: Pentium, 120MHz,
32Mbyte mem., MAD16 Sound board,...

Hope this is a useful message. Thanks for all your efforts.

Regards,
--
Jay Gaeta <gaeta@picker.com>

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.037 / U:1.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site