Hello,

I am trying to use LTTNG on centos (2.6.32). I have applied the given patch and 
rebuilt a kernel.
Still I am unable to build the lltng-modules.

[root@million lttng-modules-2.4.0]# uname -r
2.6.32-431.5.1.el6.hpsp.centos.LTTNG.18852.x86_64

Below is the compiler error I am getting,

[root@million lttng-modules-2.4.0]# make
make -C /lib/modules/2.6.32-431.5.1.el6.hpsp.centos.LTTNG.18852.x86_64/build 
M=/root/LTTNG/lttng-modules-2.4.0 modules
make[1]: Entering directory 
`/usr/src/kernels/2.6.32-431.5.1.el6.hpsp.centos.LTTNG.18852.x86_64'
  CC [M]  /root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-client-discard.o
  CC [M]  /root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-client-overwrite.o
  CC [M]  /root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-metadata-client.o
  CC [M]  
/root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-client-mmap-discard.o
  CC [M]  
/root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-client-mmap-overwrite.o
  CC [M]  
/root/LTTNG/lttng-modules-2.4.0/lttng-ring-buffer-metadata-mmap-client.o
  CC [M]  /root/LTTNG/lttng-modules-2.4.0/lttng-statedump-impl.o
In file included from /root/LTTNG/lttng-modules-2.4.0/lttng-statedump-impl.c:55:
/root/LTTNG/lttng-modules-2.4.0/wrapper/tracepoint.h: In function 
âwrapper_lttng_fixup_sigâ:
/root/LTTNG/lttng-modules-2.4.0/wrapper/tracepoint.h:76: error: âstruct moduleâ 
has no member named âsig_okâ
make[2]: *** [/root/LTTNG/lttng-modules-2.4.0/lttng-statedump-impl.o] Error 1
make[1]: *** [_module_/root/LTTNG/lttng-modules-2.4.0] Error 2
make[1]: Leaving directory 
`/usr/src/kernels/2.6.32-431.5.1.el6.hpsp.centos.LTTNG.18852.x86_64'
make: *** [default] Error 2
[root@million lttng-modules-2.4.0]#

Patches provided In lttng-modules/linux-patches/
backport-kallsym-sym-2.6.32.patch               <-- got easily applied with 
patch command
backport-splice-sym-2.6.32-34.patch             <-- got easily applied with 
patch command
backport-tracepoint-data-2.6.32-33.patch     <--  Conflicts were found, and I 
manually edited tracepoint.h file.

Kernel was built by disabling "CONFIG_MODULE_SIG".

Could you please kindly guide me on this issue. Appreciate your help very much.
Please do let me know, if I need to provide any more info on this.


Thanks and regards,
Shilpa Kumari.P.V

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to