Status: Accepted Owner: teawa...@xxxxxxxxx Labels: Type-Defect Priority-Medium New issue 144 by teawa...@xxxxxxxxx: Build issue with 2.6.32-358.el6.x86_64 http://code.google.com/p/kgtp/issues/detail?id=144 Report from Dong Zhu <bluezhudong@xxxxxxxxx> Hi, I did as the following steps and encountered an error during compilation: # svn checkout https://kgtp.googlecode.com/svn/trunk kgtp # cd kgtp # makemake CROSS_COMPILE= -C /lib/modules/2.6.32-358.el6.x86_64/build/ M=/home/kgtp modules
CC [M] /home/kgtp/gtp.o In file included from /home/kgtp/gtp.c:3070:/home/kgtp/perf_event.c:287: warning: ‘struct perf_buffer’ declared inside parameter list /home/kgtp/perf_event.c:287: warning: its scope is only this definition or declaration, which is probably not what you want
/home/kgtp/perf_event.c: In function ‘perf_output_copy’:/home/kgtp/perf_event.c:331: error: ‘struct perf_output_handle’ has no member named ‘buffer’
/home/kgtp/perf_event.c:337: error: dereferencing pointer to incomplete type /home/kgtp/perf_event.c:338: error: dereferencing pointer to incomplete type/home/kgtp/perf_event.c:339: warning: passing argument 1 of ‘page_order’ from incompatible pointer type /home/kgtp/perf_event.c:287: note: expected ‘struct perf_buffer *’ but argument is of type ‘struct perf_buffer *’
make[2]: *** [/home/kgtp/gtp.o] Error 1 make[1]: *** [_module_/home/kgtp] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.el6.x86_64' make: *** [gtp.ko] Error 2 Distribution : RHEL-6.4 --You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at: https://code.google.com/hosting/settings