Re: Out of tree kernel modules dependencies

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

 



On Saturday 21 April 2007 13:50, Thomas Christensen wrote:
> Hi kernelnewbies,
> 

Hi Thomas,

> I am building 2 out of tree modules which looks like this:
> 
> [snip]
>
> a warning, which is only natural, since foo2 has no way of knowing of
> foo1's symbol 'foo1_hello'.  Can anybody give me advise on how this
> can be done "the right way"?
> 

You can get rid of the warning message by building the two modules in one shot:

$ cat Makefile 
obj-m = foo1/foo1.o foo2/foo2.o

here:
        make -C /lib/modules/`uname -r`/build M=`pwd` modules

Regards,
tavi

--
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