All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] Cannot compile ocfs2 kernel module directory
@ 2019-12-24  4:55 Gang He
       [not found] ` <2967264abe074c74be8e01f0a3fa04da@SOC-EX01V.e01.socionext.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Gang He @ 2019-12-24  4:55 UTC (permalink / raw)
  To: ocfs2-devel

Hi List,

I cannot compile ocfs2 kernel module directory with the below command,
sles15sp2b1-nd2:/usr/src/linux/fs/ocfs2 # make -C /lib/modules/`uname -r`/build M=`pwd` modules
make: Entering directory '/usr/src/linux-5.3.13-1-obj/x86_64/default'
  CC [M]  /usr/src/linux/fs/ocfs2/cluster/heartbeat.o
  CC [M]  /usr/src/linux/fs/ocfs2/cluster/masklog.o
  CC [M]  /usr/src/linux/fs/ocfs2/cluster/sys.o
  CC [M]  /usr/src/linux/fs/ocfs2/cluster/nodemanager.o
  CC [M]  /usr/src/linux/fs/ocfs2/cluster/quorum.o
  CC [M]  /usr/src/linux/fs/ocfs2/cluster/tcp.o
  CC [M]  /usr/src/linux/fs/ocfs2/cluster/netdebug.o
  LD [M]  /usr/src/linux/fs/ocfs2/cluster/ocfs2_nodemanager.o
  CC [M]  /usr/src/linux/fs/ocfs2/dlm/dlmdomain.o
/usr/src/linux/fs/ocfs2/dlm/dlmdomain.c:23:10: fatal error: cluster/heartbeat.h: No such file or directory  #include "cluster/heartbeat.h"
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [/usr/src/linux-5.3.13-1/scripts/Makefile.build:282: /usr/src/linux/fs/ocfs2/dlm/dlmdomain.o] Error 1
make[2]: *** [/usr/src/linux-5.3.13-1/scripts/Makefile.build:498: /usr/src/linux/fs/ocfs2/dlm] Error 2
make[1]: *** [/usr/src/linux-5.3.13-1/Makefile:1641: _module_/usr/src/linux/fs/ocfs2] Error 2
make: *** [../../../linux-5.3.13-1/Makefile:179: sub-make] Error 2
make: Leaving directory '/usr/src/linux-5.3.13-1-obj/x86_64/default'

If I remove the kernel commit 9cc342f6c4a06ea613ddef1bcaa25409260aec63/ 9cc342f6c4a06ea613ddef1bcaa25409260aec63,
the above command can works again.
In the past, that command line is always OK.

Thanks
Gang

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-26  8:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-24  4:55 [Ocfs2-devel] Cannot compile ocfs2 kernel module directory Gang He
     [not found] ` <2967264abe074c74be8e01f0a3fa04da@SOC-EX01V.e01.socionext.com>
2019-12-25  7:00   ` Gang He
     [not found]     ` <CAK7LNAR+_8kgmNBDETJB-AXuLAtmiuPMLN_iKLfHKBVPqwV=Dw@mail.gmail.com>
2019-12-26  8:08       ` Gang He

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.