Re: how to build a single module in the tree?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 04, 2007 at 04:53:35PM -0400, Robert P. J. Day wrote:
> 
> with the latest git tree, i do:
> 
> $ make distclean
> $ make defconfig
> $ make drivers/usb/serial/visor.ko
>...
>   CC      drivers/usb/serial/visor.o
>   MODPOST 0 modules
> $
> 
>   and the result?
>...
> [rpjday@localhost git]$ find . -name *.ko
> [rpjday@localhost git]$
> 
>   ok, so where's my visor.ko module file?  the book certainly suggests
> i should have one at this point.  ah, but the i386 defconfig
> doesn't select the handspring module,

There are no .ko files for statically built code.

> so i'll do a clean, go back into
> menuconfig, select visor as a module and try again:
> 
> $ make drivers/usb/serial/visor.ko
>   HOSTLD  scripts/kconfig/conf
> scripts/kconfig/conf -s arch/i386/Kconfig
>...
>   CC [M]  drivers/usb/serial/visor.o
> /bin/sh: .tmp_versions/visor.mod: No such file or directory
>   MODPOST 0 modules
> $
> 
>   ok, so what's the trick here?  are you actually getting a .ko file?

The latter works if you had built the module before and recompile it.

But I think in theory it should also work the way you tried it. Sam?

> rday

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux