This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compile failure with get_user_asm()


Badari,

I posted a patch in this BZ
http://sourceware.org/bugzilla/show_bug.cgi?id=2076

You can try to apply the patch  to the file
/usr/local/share/systemtap/runtime/loc2c-runtime.h

I am going to check the fix sometime later.

Hien.
Badari Pulavarty wrote:

Hi,

I just updated my systemtap sources & tests and I am not able to
compile systemtap modules anymore.

I reported this to Hien earlier. Hien, do you have a fix for it ?

Thanks,
Badari

...
Pass 3: translated to C into "/tmp/stapIEkDNS/stap_28380.c"
Running make -C "/lib/modules/2.6.15-20060103193109-ppc64/build"
M="/tmp/stapIEkDNS" modules
make: Entering directory `/usr/src/linux-2.6.15-20060103193109'
 CC [M]  /tmp/stapIEkDNS/stap_28380.o
/tmp/stapIEkDNS/stap_28380.c:921:54: error: macro "__get_user_asm"
passed 5 arguments, but takes just 4
/tmp/stapIEkDNS/stap_28380.c: In function 'function_kernel_string':
/tmp/stapIEkDNS/stap_28380.c:921: error: '__get_user_asm' undeclared
(first use in this function)
/tmp/stapIEkDNS/stap_28380.c:921: error: (Each undeclared identifier is
reported only once
/tmp/stapIEkDNS/stap_28380.c:921: error: for each function it appears
in.)
/tmp/stapIEkDNS/stap_28380.c:921:54: error: macro "__get_user_asm"
passed 5 arguments, but takes just 4
/tmp/stapIEkDNS/stap_28380.c:921:54: error: macro "__get_user_asm"
passed 5 arguments, but takes just 4
/tmp/stapIEkDNS/stap_28380.c:921:54: error: macro "__get_user_asm"
passed 5 arguments, but takes just 4
make[1]: *** [/tmp/stapIEkDNS/stap_28380.o] Error 1
make: *** [_module_/tmp/stapIEkDNS] Error 2
make: Leaving directory `/usr/src/linux-2.6.15-20060103193109'
Pass 4: compiled into "stap_28380.ko"
Pass 4: compilation failed.  Try again with '-v' (verbose) option.
Running rm -rf /tmp/stapIEkDNS









Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]