Re: 2.5.30 does not build cleanly

Jens Axboe (axboe@suse.de)
Fri, 2 Aug 2002 11:08:31 +0200


On Fri, Aug 02 2002, Jean-Luc Coulon wrote:
> Hi,
>
> I get the following messages :
>
> make[3]: Leaving directory `/usr/src/kernel-source-2.5.30/arch/i386/pci'
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b
> /usr/src/linux/debian/tmp-image -r 2.5.30; fi
> depmod: *** Unresolved symbols in
> /usr/src/linux/debian/tmp-image/lib/modules/2.5.30/kernel/arch/i386/kernel/apm.o
> depmod: cpu_gdt_table
> depmod: *** Unresolved symbols in
> /usr/src/linux/debian/tmp-image/lib/modules/2.5.30/kernel/drivers/block/floppy.o
> depmod: elv_queue_empty
> depmod: *** Unresolved symbols in
> /usr/src/linux/debian/tmp-image/lib/modules/2.5.30/kernel/drivers/block/nbd.o
> depmod: elv_queue_empty
> depmod: *** Unresolved symbols in
> /usr/src/linux/debian/tmp-image/lib/modules/2.5.30/kernel/drivers/scsi/scsi_mod.o
> depmod: elv_queue_empty
> make[2]: *** [_modinst_post] Erreur 1
> make[2]: Leaving directory `/usr/src/kernel-source-2.5.30'
> make[1]: *** [real_stamp_image] Erreur 2

fixes the elv_queue_empty one

--- linux/drivers/block/elevator.c~ 2002-08-02 11:07:33.000000000 +0200
+++ linux/drivers/block/elevator.c 2002-08-02 11:07:49.000000000 +0200
@@ -482,5 +482,6 @@
EXPORT_SYMBOL(__elv_add_request);
EXPORT_SYMBOL(elv_next_request);
EXPORT_SYMBOL(elv_remove_request);
+EXPORT_SYMBOL(elv_queue_empty);
EXPORT_SYMBOL(elevator_exit);
EXPORT_SYMBOL(elevator_init);

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/