2003-03-16 23:34:50

by Daniel Egger

[permalink] [raw]
Subject: IDE won't compile as module in 2.5.64

Hija,

trying to compile the IDE subsystems as module yields:

drivers/built-in.o(.text+0x51602): In function `ide_match_hwif':
: undefined reference to `ide_hwifs'
drivers/built-in.o(.text+0x51607): In function `ide_match_hwif':
: undefined reference to `ide_hwifs'
drivers/built-in.o(.text+0x51635): In function `ide_match_hwif':
: undefined reference to `ide_hwifs'
drivers/built-in.o(.text+0x51659): In function `ide_match_hwif':
: undefined reference to `ide_hwifs'
drivers/built-in.o(.text+0x5165e): In function `ide_match_hwif':
: undefined reference to `ide_hwifs'
drivers/built-in.o(.text+0x51676): more undefined references to
`ide_hwifs' follow
drivers/built-in.o(.text+0x51df7): In function
`ide_setup_pci_controller':
: undefined reference to `noautodma'
drivers/built-in.o(.text+0x52322): In function `ide_setup_pci_device':
: undefined reference to `ide_hwifs'
drivers/built-in.o(.text+0x5232a): In function `ide_setup_pci_device':
: undefined reference to `probe_hwif_init'
drivers/built-in.o(.text+0x52341): In function `ide_setup_pci_device':
: undefined reference to `ide_hwifs'
drivers/built-in.o(.text+0x52349): In function `ide_setup_pci_device':
: undefined reference to `probe_hwif_init'
drivers/built-in.o(.text+0x523c5): In function `ide_setup_pci_devices':
: undefined reference to `ide_hwifs'
drivers/built-in.o(.text+0x523cd): In function `ide_setup_pci_devices':
: undefined reference to `probe_hwif_init'
drivers/built-in.o(.text+0x523e4): In function `ide_setup_pci_devices':
: undefined reference to `ide_hwifs'
drivers/built-in.o(.text+0x523ec): In function `ide_setup_pci_devices':
: undefined reference to `probe_hwif_init'
drivers/built-in.o(.text+0x52404): In function `ide_setup_pci_devices':
: undefined reference to `ide_hwifs'
drivers/built-in.o(.text+0x5240c): In function `ide_setup_pci_devices':
: undefined reference to `probe_hwif_init'
drivers/built-in.o(.text+0x52425): In function `ide_setup_pci_devices':
: undefined reference to `ide_hwifs'
drivers/built-in.o(.text+0x5242d): In function `ide_setup_pci_devices':
: undefined reference to `probe_hwif_init'
drivers/built-in.o(.text+0x52c2f): In function `__ide_dma_off_quietly':
: undefined reference to `ide_toggle_bounce'
drivers/built-in.o(.text+0x52d2f): In function `__ide_dma_on':
: undefined reference to `ide_toggle_bounce'
drivers/built-in.o(.text+0x52ee8): In function `__ide_dma_read':
: undefined reference to `ide_execute_command'
drivers/built-in.o(.text+0x52fb8): In function `__ide_dma_write':
: undefined reference to `ide_execute_command'
drivers/built-in.o(.text+0x532b0): In function `__ide_dma_verbose':
: undefined reference to `eighty_ninty_three'
drivers/built-in.o(.init.text+0x391c): In function `init_hwif_generic':
: undefined reference to `noautodma'

I tried to figure out what's wrong and it seems that the make machinery
is not up-to-date since none of the code in question is dependent on
the definition of MODULE or alike.

Anymore more on par with this can give me a tip here?

--
Servus,
Daniel


Attachments:
signature.asc (189.00 B)
Dies ist ein digital signierter Nachrichtenteil

2003-03-16 23:34:53

by Daniel Egger

[permalink] [raw]
Subject: Re: IDE won't compile as module in 2.5.64

Am Mon, 2003-03-17 um 00.37 schrieb Daniel Egger:

> I tried to figure out what's wrong and it seems that the make machinery
> is not up-to-date since none of the code in question is dependent on
> the definition of MODULE or alike.

Being a big fan of quoting myself; the above statement is not entirely
accurate. This is the error I get when

"ATA/ATAPI/MFM/RLL device support" is built in and
"Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support" built as module

In case both are built as module I get:
*** Warning: "ide_pci_unregister_driver" [drivers/ide/pci/sis5513.ko] undefined!
*** Warning: "ide_pci_register_driver" [drivers/ide/pci/sis5513.ko] undefined!
*** Warning: "ide_setup_pci_device" [drivers/ide/pci/sis5513.ko] undefined!
*** Warning: "ide_setup_dma" [drivers/ide/pci/sis5513.ko] undefined!
*** Warning: "ide_pci_register_host_proc" [drivers/ide/pci/sis5513.ko] undefined!
*** Warning: "proc_ide_destroy" [drivers/ide/ide.ko] undefined!
*** Warning: "ide_remove_proc_entries" [drivers/ide/ide.ko] undefined!
*** Warning: "ide_add_proc_entries" [drivers/ide/ide.ko] undefined!
*** Warning: "proc_ide_create" [drivers/ide/ide.ko] undefined!
*** Warning: "ide_scan_pcibus" [drivers/ide/ide.ko] undefined!
*** Warning: "create_proc_ide_interfaces" [drivers/ide/ide.ko] undefined!
*** Warning: "ide_release_dma" [drivers/ide/ide.ko] undefined!
*** Warning: "destroy_proc_ide_drives" [drivers/ide/ide.ko] undefined!
*** Warning: "proc_ide_read_capacity" [drivers/ide/ide.ko] undefined!
*** Warning: "ide_xlate_1024" [drivers/ide/ide-probe.ko] undefined!
*** Warning: "create_proc_ide_interfaces" [drivers/ide/ide-probe.ko] undefined!
*** Warning: "ide_bus_type" [drivers/ide/ide-probe.ko] undefined!
*** Warning: "ide_add_generic_settings" [drivers/ide/ide-probe.ko] undefined!
*** Warning: "do_ide_request" [drivers/ide/ide-probe.ko] undefined!
*** Warning: "proc_ide_read_geometry" [drivers/ide/ide-disk.ko] undefined!

Is there a reason that no entries of "IDE, ATA and ATAPI Block devices"
are not being merged into "ATA/ATAPI/MFM/RLL device support"?

--
Servus,
Daniel


Attachments:
signature.asc (189.00 B)
Dies ist ein digital signierter Nachrichtenteil