Re: [Fwd: NEWBIE!: What is wrong with this Makefile?]

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

 



kmk wrote:
I made that change and ran into two issues:
1. I get circular dependency error for sillymod.o
2. I still get sillymod: module license 'unspecified' taints kernel msg. And, printk did not work.

/kmk

First, please don't top-post. Second, change the name of the module to not be the name of one of the source files:

obj-m := yourmodname.o
yourmodname-objs := sillymod_test.o sillymod.o

That should fix the circular dependency and maybe fix the original problem?

<snip>

--
   kr


-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: 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