* modules_install does not install acpi with linux-2.4.2
@ 2001-03-20 15:13 Juergen Rose,K17,0331-9772437,030-2425483
2001-03-20 15:28 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Juergen Rose,K17,0331-9772437,030-2425483 @ 2001-03-20 15:13 UTC (permalink / raw)
To: linux-kernel
Hello,
if I try 'make modules_install' with linux-2.4.2 I get:
...
make[1]: Entering directory `/usr/src_laptop450/linux-2.4.2/drivers'
make -C acpi modules_install
make[2]: Entering directory `/usr/src_laptop450/linux-2.4.2/drivers/acpi'
mkdir -p /lib/modules/2.4.2/kernel/drivers/acpi/
cp common.o dispatcher.o events.o hardware.o interpreter.o namespace.o
parser.o resources.o tables.o os.o acpi_ksyms.o driver.o cmbatt.o cpu.o
ec.o acpi_ksyms.o sys.o table.o power.o
/lib/modules/2.4.2/kernel/drivers/acpi/
cp: common.o: No such file or directory
cp: dispatcher.o: No such file or directory
cp: events.o: No such file or directory
cp: hardware.o: No such file or directory
cp: interpreter.o: No such file or directory
cp: namespace.o: No such file or directory
cp: parser.o: No such file or directory
cp: resources.o: No such file or directory
cp: tables.o: No such file or directory
make[2]: *** [_modinst__] Error 1
make[2]: Leaving directory `/usr/src_laptop450/linux-2.4.2/drivers/acpi'
Indeed I don't have such files in the drivers/acpi-Directory.
laptop450:/usr/src/linux(114)#ls drivers/acpi/
Makefile acpi_ksyms.o cmbatt.o cpu.c dispatcher/ driver.h
ec.c ec.o hardware/ interpreter/ os.c parser/ power.o
sys.c table.c tables/
acpi_ksyms.c cmbatt.c common/ cpu.o driver.c driver.o
ec.h events/ include/ namespace/ os.o power.c resources/
sys.o table.o
My tools should be new enough to work correctly:
laptop450:/usr/src/linux(133)#sh
/data_tiger/SRC/linux-2.4.1/scripts/ver_linux
-- Versions installed: (if some fields are empty or look
-- unusual then possibly you have very old versions)
Linux laptop450 2.4.0-test7 #1 Fri Aug 18 23:29:02 CEST 2000 i686 unknown
Kernel modules 2.4.3
Gnu C 2.95.2
Gnu Make 3.79
Binutils 2.10.0.33
Linux C Library > libc.2.2
Dynamic linker ldd (GNU libc) 2.2
Procps 2.0.2
Mount 2.10k
Net-tools 1.52
Kbd 0.99
Sh-utils 1.16
Modules Loaded autofs serial_cb tulip_cb cb_enabler ds i82365
pcmcia_core maestro soundcore apm ppp_generic slip input usb-uhci
usbcore nls_cp437 vfat nls_iso8859-1 ntfs
In .config I find with respect to ACPI only
CONFIG_ACPI=m
Who can help me?
With best regards
Juergen
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: modules_install does not install acpi with linux-2.4.2
2001-03-20 15:13 modules_install does not install acpi with linux-2.4.2 Juergen Rose,K17,0331-9772437,030-2425483
@ 2001-03-20 15:28 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2001-03-20 15:28 UTC (permalink / raw)
To: Juergen Rose,K17,0331-9772437,030-2425483; +Cc: linux-kernel
"Juergen Rose,K17,0331-9772437,030-2425483" wrote:
> if I try 'make modules_install' with linux-2.4.2 I get:
> ...
> mkdir -p /lib/modules/2.4.2/kernel/drivers/acpi/
> cp common.o dispatcher.o events.o hardware.o interpreter.o namespace.o
> parser.o resources.o tables.o os.o acpi_ksyms.o driver.o cmbatt.o cpu.o
> ec.o acpi_ksyms.o sys.o table.o power.o
> /lib/modules/2.4.2/kernel/drivers/acpi/
> cp: common.o: No such file or directory
...
> cp: tables.o: No such file or directory
> make[2]: *** [_modinst__] Error 1
> make[2]: Leaving directory `/usr/src_laptop450/linux-2.4.2/drivers/acpi'
> In .config I find with respect to ACPI only
> CONFIG_ACPI=m
>
> Who can help me?
Doctor says: don't do that. :) I don't know how you managed
CONFIG_ACPI=m, because the configuration system doesn't allow it.
"dep_bool" means only Y or N, and we see the CONFIG_ACPI entry in
arch/i386/config.in is correct:
[jgarzik@rum linux_2_4]$ egrep -rw 'CONFIG_PM|CONFIG_ACPI' arch
[...edited output...]
arch/arm/config.in: bool 'Power Management support' CONFIG_PM
arch/i386/config.in:bool 'Power Management support' CONFIG_PM
arch/i386/config.in: dep_bool ' ACPI support' CONFIG_ACPI $CONFIG_PM
arch/i386/defconfig:CONFIG_PM=y
arch/ia64/config.in: define_bool CONFIG_PM y
arch/ia64/config.in: define_bool CONFIG_ACPI y
So the solution is not build ACPI as a module, because it shouldn't have
allowed you to do so in the first place :)
--
Jeff Garzik | May you have warm words on a cold evening,
Building 1024 | a full mooon on a dark night,
MandrakeSoft | and a smooth road all the way to your door.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-03-20 15:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-20 15:13 modules_install does not install acpi with linux-2.4.2 Juergen Rose,K17,0331-9772437,030-2425483
2001-03-20 15:28 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox