Hi Zhichao.
obj-$(CONFIG_DM_DEDUP) += dm-dedup.o
to
obj-m += dm-dedup.o
Regards,
Jack
2015-02-06 23:51 GMT+01:00 Zhichao Cao <caozhichao91@xxxxxxxxx>:
Hi Mike,I'm a UMN CS student and just the beginer. I'm working on primary dedup project and read the dm-dedup paper, which might be very useful for me, so I want to try and learn it.However, when I tried to make dm-dedup as a module and insmod it, it always failed.make -C /lib/modules/`uname -r`/build M=/root/Downloads/mdmake[1]: Entering directory `/usr/src/linux-3.18.5'Building modules, stage 2.MODPOST 0 modulesmake[1]: Leaving directory `/usr/src/linux-3.18.5'No module was built after make, and my Makefile is:dm-dedup-y += dm-dedup-target.o dm-dedup-hash.o dm-dedup-rw.o dm-dedup-cbt.o dm-dedup-ram.oobj-$(CONFIG_DM_DEDUP) += dm-dedup.oifeq ($(CONFIG_DM_UEVENT),y)dm-mod-objs += dm-uevent.oendifall:make -C /lib/modules/`uname -r`/build M=$(PWD)clean:make -C /lib/modules/`uname -r`/build M=$(PWD) cleaninstall:install -m 755 *.ko /lib/modules/`uname -r`/kernel/drivers/md/The dm-dedup source files are pulled fromgit://git.fsl.cs.stonybrook.edu/linux-dmdedup.git
branch dm-dedup-devel
Can you help me and give me some advises?Thanks a lot!Zhichao
--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel
-- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel