public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.8 compile bugs
@ 2002-04-14 22:48 Ivan G.
  2002-04-15  7:07 ` Jens Axboe
  0 siblings, 1 reply; 10+ messages in thread
From: Ivan G. @ 2002-04-14 22:48 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML

1) Script error, xconfig fails, apply to drivers/ide/Config.in

--- Config.in.bak       Sun Apr 14 16:13:29 2002
+++ Config.in   Sun Apr 14 16:13:44 2002
@@ -49,7 +49,7 @@
         define_bool CONFIG_BLK_DEV_IDEDMA $CONFIG_BLK_DEV_IDEDMA_PCI
         dep_bool '    ATA tagged command queueing' CONFIG_BLK_DEV_IDE_TCQ 
$CONFIG_BLK_DEV_IDEDMA_PCI
           dep_bool '      TCQ on by default' CONFIG_BLK_DEV_IDE_TCQ_DEFAULT 
$CONFIG_BLK_DEV_IDE_TCQ
-          if [ $CONFIG_BLK_DEV_IDE_TCQ_DEFAULT != "n" ]; then
+          if [ "$CONFIG_BLK_DEV_IDE_TCQ_DEFAULT" != "n" ]; then
                int '      Default queue depth' CONFIG_BLK_DEV_IDE_TCQ_DEPTH 
32
           fi
         dep_bool '    ATA Work(s) In Progress (EXPERIMENTAL)' 
CONFIG_IDEDMA_PCI_WIP $CONFIG_BLK_DEV_IDEDMA_PCI $CONFIG_EXPERIMENTAL


To complement this pathetic bugfix, here's some other bug reports 

2) 
ERROR:
ide.c: In function `ide_teardown_commandlist':
ide.c:2704: structure has no member named `pci_dev'
ide.c: In function `ide_build_commandlist':
ide.c:2719: structure has no member named `pci_dev'
make[3]: *** [ide.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5.8/drivers/ide'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.8/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.8/drivers'
make: *** [_dir_drivers] Error 2

CAUSE:
/usr/src/linux-2.5.8/include/linux/ide.h:

#ifdef CONFIG_BLK_DEV_IDEPCI
        struct pci_dev  *pci_dev;       /* for pci chipsets */
#endif

I don't use BLK_DEV_IDEPCI
yet I have an IDE hard drive so ide.c has to be compiled.


3)
Is the init bug fixed? I didn't finish the compile 
but it doesn't look like it.
In init/main.c setup_per_cpu_areas ends up undefined 
for uniprocessors (and called in start_kernel) , because of 
incorrect ifdef statements.............. result is compile error.

any replies: 
please cc to ivangurdiev@yahoo.com
I'm not subscribed

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-04-15 17:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-14 22:48 2.5.8 compile bugs Ivan G.
2002-04-15  7:07 ` Jens Axboe
2002-04-15 11:47   ` Roman Zippel
2002-04-15 11:51     ` Jens Axboe
2002-04-15 12:04       ` Roman Zippel
2002-04-15 12:09         ` Jens Axboe
2002-04-15 12:31           ` Roman Zippel
2002-04-15 16:01           ` andrew may
2002-04-15 17:30       ` Roman Zippel
2002-04-15 17:32         ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox