When trying to build video.o as a module, video.o doesn't get copied
to /lib/modules/* during installation.
[Mikael Djurfeldt]
> When trying to build video.o as a module, video.o doesn't get copied
> to /lib/modules/* during installation.
There is no video.o module. If video.o is built at all, it is linked
into the vmlinux image directly. The modules in that directory will be
atyfb.o, tdfxfb.o and about 800 others.
Peter
Peter,
you may be right there is no module "video.o". The problem is, there should
be a directory "media" under /lib/modules/2.4.0-test12.old/kernel/drivers/
and this is missing in test13pre2 and test13pre3. The modules are not built.
kind regards
Norbert
On Monday 18 December 2000 07:11, Peter Samuelson wrote:
> [Mikael Djurfeldt]
>
> > When trying to build video.o as a module, video.o doesn't get copied
> > to /lib/modules/* during installation.
>
> There is no video.o module. If video.o is built at all, it is linked
> into the vmlinux image directly. The modules in that directory will be
> atyfb.o, tdfxfb.o and about 800 others.
>
> Peter
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> Please read the FAQ at http://www.tux.org/lkml/
[Norbert Breun]
> The problem is, there should be a directory "media" under
> /lib/modules/2.4.0-test12.old/kernel/drivers/ and this is missing in
> test13pre2 and test13pre3. The modules are not built.
Does this help? I think it's right.
Peter
diff -urk.orig 2.4.0test13pre3/drivers/media/Makefile
--- 2.4.0test13pre3/drivers/media/Makefile.orig Sat Dec 16 06:18:16 2000
+++ 2.4.0test13pre3/drivers/media/Makefile Mon Dec 18 01:32:34 2000
@@ -10,6 +10,7 @@
#
subdir-y := video radio
+subdir-m := video radio
O_TARGET := media.o
obj-y := $(join $(subdir-y),$(subdir-y:%=/%.o))
> you may be right there is no module "video.o". The problem is, there should
> be a directory "media" under /lib/modules/2.4.0-test12.old/kernel/drivers/
> and this is missing in test13pre2 and test13pre3. The modules are not built.
Its a small makefile error again. The directories are not listed as containing
modules. Fix that and they are happy.
--- drivers/media/Makefile~ Sun Dec 17 21:28:20 2000
+++ drivers/media/Makefile Mon Dec 18 10:59:25 2000
@@ -10,6 +10,7 @@
#
subdir-y := video radio
+mod-subdirs := video radio
O_TARGET := media.o
obj-y := $(join $(subdir-y),$(subdir-y:%=/%.o))
Peter, Alan,
thanks, this solved the problem - 2.4.0-test13pre3 is up 'n running ;)
BTW: Is it possible to shut off these "apic error on CPU0" messages."
Now I know that my board is not well designed, so what should these
messages help me? They blow up my /var/log/messages only...
kind regards
Norbert
On Monday 18 December 2000 08:35, Peter Samuelson wrote:
> [Norbert Breun]
>
> > The problem is, there should be a directory "media" under
> > /lib/modules/2.4.0-test12.old/kernel/drivers/ and this is missing in
> > test13pre2 and test13pre3. The modules are not built.
>
> Does this help? I think it's right.
>
> Peter
>
> diff -urk.orig 2.4.0test13pre3/drivers/media/Makefile
> --- 2.4.0test13pre3/drivers/media/Makefile.orig Sat Dec 16 06:18:16 2000
> +++ 2.4.0test13pre3/drivers/media/Makefile Mon Dec 18 01:32:34 2000
> @@ -10,6 +10,7 @@
> #
>
> subdir-y := video radio
> +subdir-m := video radio
>
> O_TARGET := media.o
> obj-y := $(join $(subdir-y),$(subdir-y:%=/%.o))