Met Problem on Enable SystemTap on Android

Yao,Yanjun jiaoyang28@gmail.com
Thu Sep 1 16:21:00 GMT 2011


Thanks Turgis.

The fixed the -D problem. However, new problem comes out.

I tried to cross-compile the syscall_by_pid.stp but stuck on phase 4.
So I tried the most simple script helloworld.stp, but it still does
not work. I reinstalled the systemtap host and target tools, and I
double checked the ptrace.h and kernel compilation flags. Nothing
seems to be wrong.

The commands I run are:
./stap -gv -a arm -D OMAP_L25 -B
CROSS_COMPILE=~/Downloads/arm-2008q3/bin/arm-none-linux-gnueabi- -r
/home/lwan1/WORKING_DIRECTORY/kernel -I
/data/systemtap-1.5-macharm/share/systemtap/tapset/ -R
/data/systemtap-1.5-macharm/share/systemtap/runtime/ -m
syscalls_by_pid ~/Downloads/syscalls_by_pid.stp

and

./stap -gv -a arm -D OMAP_L25 -B
CROSS_COMPILE=~/Downloads/arm-2008q3/bin/arm-none-linux-gnueabi- -r
/home/lwan1/WORKING_DIRECTORY/kernel -I
/data/systemtap-1.5-macharm/share/systemtap/tapset/ -R
/data/systemtap-1.5-macharm/share/systemtap/runtime/ -m helloworld
~/Downloads/helloworld.stp

As the error message is too long, I saved them in .txt files and
attached them here.

Please check them up, and help me get through this procedure.

Any hint would be warmly welcomed.

Thank you very much.

Yours
Sincerely
-------------- next part --------------
WARNING: kernel release/architecture mismatch with host forces last-pass 4.
Pass 1: parsed user script and 144 library script(s) using 74868virt/38868res/2128shr kb, in 170usr/0sys/174real ms.
semantic error: ELF machine |x86_64 (code 62) mismatch with target arm in '/home/lwan1/WORKING_DIRECTORY/kernel/vmlinux'
semantic error: no match while resolving probe point _syscall.accept
semantic error: no match while resolving probe point kernel.function("sys_access").call
semantic error: no match while resolving probe point kernel.function("sys_adjtimex").call
semantic error: no match while resolving probe point kernel.function("sys_brk").call
semantic error: no match while resolving probe point kernel.function("sys_capget").call
semantic error: no match while resolving probe point kernel.function("sys_capset").call
semantic error: no match while resolving probe point kernel.function("sys_chdir").call
semantic error: no match while resolving probe point kernel.function("sys_chmod").call
semantic error: no match while resolving probe point kernel.function("sys_chown").call
semantic error: no match while resolving probe point kernel.function("sys_chroot").call
semantic error: no match while resolving probe point kernel.function("sys_clock_getres").call
semantic error: no match while resolving probe point kernel.function("sys_clock_gettime").call
semantic error: no match while resolving probe point kernel.function("sys_clock_nanosleep").call
semantic error: no match while resolving probe point kernel.function("sys_clock_settime").call
semantic error: no match while resolving probe point kernel.function("sys_close").call
semantic error: no match while resolving probe point kernel.function("sys_dup").call
semantic error: no match while resolving probe point kernel.function("sys_dup2").call
semantic error: no match while resolving probe point kernel.function("do_execve").call
semantic error: no match while resolving probe point kernel.function("do_exit").call
semantic error: no match while resolving probe point kernel.function("sys_exit_group").call
semantic error: no match while resolving probe point kernel.function("sys_fchdir").call
semantic error: no match while resolving probe point kernel.function("sys_fchmod").call
semantic error: no match while resolving probe point kernel.function("sys_fchown").call
semantic error: no match while resolving probe point kernel.function("sys_fdatasync").call
semantic error: no match while resolving probe point kernel.function("sys_fgetxattr").call
semantic error: no match while resolving probe point kernel.function("sys_flistxattr").call
semantic error: no match while resolving probe point kernel.function("sys_flock").call
semantic error: no match while resolving probe point kernel.function("do_fork").call
semantic error: no match while resolving probe point kernel.function("sys_fremovexattr").call
semantic error: no match while resolving probe point kernel.function("sys_fsetxattr").call
semantic error: no match while resolving probe point kernel.function("sys_fstatfs").call
semantic error: no match while resolving probe point kernel.function("sys_fsync").call
semantic error: no match while resolving probe point kernel.function("sys_ftruncate").call
semantic error: no match while resolving probe point kernel.function("sys_getcwd").call
semantic error: no match while resolving probe point kernel.function("sys_getegid").call
semantic error: no match while resolving probe point kernel.function("sys_geteuid").call
semantic error: no match while resolving probe point kernel.function("sys_getgid").call
semantic error: no match while resolving probe point kernel.function("sys_getitimer").call
semantic error: no match while resolving probe point kernel.function("sys_getpgid").call
semantic error: no match while resolving probe point kernel.function("sys_getpid").call
semantic error: no match while resolving probe point kernel.function("sys_getppid").call
semantic error: no match while resolving probe point kernel.function("sys_getpriority").call
semantic error: no match while resolving probe point kernel.function("sys_getresgid").call
semantic error: no match while resolving probe point kernel.function("sys_getresuid").call
semantic error: no match while resolving probe point kernel.function("sys_getrusage").call
semantic error: no match while resolving probe point kernel.function("sys_getsid").call
semantic error: no match while resolving probe point kernel.function("sys_gettid").call
semantic error: no match while resolving probe point kernel.function("sys_gettimeofday").call
semantic error: no match while resolving probe point kernel.function("sys_getuid").call
semantic error: no match while resolving probe point kernel.function("sys_getxattr").call
semantic error: no match while resolving probe point kernel.function("sys_io_cancel").call
semantic error: no match while resolving probe point kernel.function("sys_io_destroy").call
semantic error: no match while resolving probe point kernel.function("sys_io_setup").call
semantic error: no match while resolving probe point kernel.function("sys_io_submit").call
semantic error: no match while resolving probe point kernel.function("sys_kill").call
semantic error: no match while resolving probe point kernel.function("sys_lchown").call
semantic error: no match while resolving probe point kernel.function("sys_lgetxattr").call
semantic error: no match while resolving probe point kernel.function("sys_link").call
semantic error: no match while resolving probe point kernel.function("sys_listxattr").call
semantic error: no match while resolving probe point kernel.function("sys_llistxattr").call
semantic error: no match while resolving probe point kernel.function("sys_lremovexattr").call
semantic error: no match while resolving probe point kernel.function("sys_lseek").call
semantic error: no match while resolving probe point kernel.function("sys_lsetxattr").call
semantic error: no match while resolving probe point kernel.function("sys_mkdir").call
semantic error: no match while resolving probe point kernel.function("sys_mknod").call
semantic error: no match while resolving probe point kernel.function("sys_mount").call
semantic error: no match while resolving probe point kernel.function("sys_munmap").call
semantic error: no match while resolving probe point kernel.function("sys_nanosleep").call
semantic error: no match while resolving probe point kernel.function("sys_ni_syscall").call
semantic error: no match while resolving probe point kernel.function("sys_personality").call
semantic error: no match while resolving probe point kernel.function("sys_pipe").call
semantic error: no match while resolving probe point kernel.function("sys_pivot_root").call
semantic error: no match while resolving probe point kernel.function("sys_poll").call
semantic error: no match while resolving probe point kernel.function("sys_prctl").call
semantic error: no match while resolving probe point kernel.function("sys_pread64").call
semantic error: no match while resolving probe point kernel.function("sys_pwrite64").call
semantic error: no match while resolving probe point kernel.function("sys_read").call
semantic error: no match while resolving probe point kernel.function("sys_readahead").call
semantic error: no match while resolving probe point kernel.function("sys_readlink").call
semantic error: no match while resolving probe point kernel.function("sys_readv").call
semantic error: no match while resolving probe point kernel.function("sys_reboot").call
semantic error: no match while resolving probe point kernel.function("sys_removexattr").call
semantic error: no match while resolving probe point kernel.function("sys_rename").call
semantic error: no match while resolving probe point kernel.function("sys_restart_syscall").call
semantic error: no match while resolving probe point kernel.function("sys_rmdir").call
semantic error: no match while resolving probe point kernel.function("sys_rt_sigqueueinfo").call
semantic error: no match while resolving probe point kernel.function("sys_rt_sigtimedwait").call
semantic error: no match while resolving probe point kernel.function("sys_sched_get_priority_max").call
semantic error: no match while resolving probe point kernel.function("sys_sched_get_priority_min").call
semantic error: no match while resolving probe point kernel.function("sys_sched_getaffinity").call
semantic error: no match while resolving probe point kernel.function("sys_sched_getparam").call
semantic error: no match while resolving probe point kernel.function("sys_sched_getscheduler").call
semantic error: no match while resolving probe point kernel.function("sys_sched_rr_get_interval").call
semantic error: no match while resolving probe point kernel.function("sys_sched_setaffinity").call
semantic error: no match while resolving probe point kernel.function("sys_sched_yield").call
semantic error: no match while resolving probe point kernel.function("sys_select").call
semantic error: no match while resolving probe point kernel.function("sys_set_tid_address").call
semantic error: no match while resolving probe point kernel.function("sys_setdomainname").call
semantic error: no match while resolving probe point kernel.function("sys_sethostname").call
semantic error: no match while resolving probe point kernel.function("sys_setitimer").call
semantic error: no match while resolving probe point kernel.function("sys_setpgid").call
semantic error: no match while resolving probe point kernel.function("sys_setpriority").call
semantic error: no match while resolving probe point kernel.function("sys_setregid").call
semantic error: no match while resolving probe point kernel.function("sys_setresgid").call
semantic error: no match while resolving probe point kernel.function("sys_setresuid").call
semantic error: no match while resolving probe point kernel.function("sys_setreuid").call
semantic error: no match while resolving probe point kernel.function("sys_setrlimit").call
semantic error: no match while resolving probe point kernel.function("sys_setsid").call
semantic error: no match while resolving probe point kernel.function("sys_settimeofday").call
semantic error: no match while resolving probe point kernel.function("sys_setuid").call
semantic error: no match while resolving probe point kernel.function("sys_setxattr").call
semantic error: no match while resolving probe point kernel.function("sys_symlink").call
semantic error: no match while resolving probe point kernel.function("sys_sync").call
semantic error: no match while resolving probe point kernel.function("sys_sysfs").call
semantic error: no match while resolving probe point kernel.function("sys_sysinfo").call
semantic error: no match while resolving probe point kernel.function("sys_syslog").call
semantic error: no match while resolving probe point kernel.function("sys_tgkill").call
semantic error: no match while resolving probe point kernel.function("sys_timer_create").call
semantic error: no match while resolving probe point kernel.function("sys_timer_delete").call
semantic error: no match while resolving probe point kernel.function("sys_timer_getoverrun").call
semantic error: no match while resolving probe point kernel.function("sys_timer_gettime").call
semantic error: no match while resolving probe point kernel.function("sys_timer_settime").call
semantic error: no match while resolving probe point kernel.function("sys_tkill").call
semantic error: no match while resolving probe point kernel.function("sys_umask").call
semantic error: no match while resolving probe point kernel.function("sys_umount").call
semantic error: no match while resolving probe point kernel.function("sys_unlink").call
semantic error: no match while resolving probe point kernel.function("sys_uselib").call
semantic error: no match while resolving probe point kernel.function("sys_ustat").call
semantic error: no match while resolving probe point kernel.function("sys_utimes").call
semantic error: no match while resolving probe point kernel.function("sys_vhangup").call
semantic error: no match while resolving probe point kernel.function("sys_wait4").call
semantic error: no match while resolving probe point kernel.function("sys_waitid").call
semantic error: no match while resolving probe point kernel.function("sys_write").call
semantic error: no match while resolving probe point kernel.function("sys_writev").call
semantic error: probe point mismatch at position 1  (alternatives:  accept access acct add_key adjtimex alarm bdflush bind brk capget capset chdir chmod chown chown16 chroot clock_getres clock_gettime clock_nanosleep clock_settime close compat_adjtimex compat_clock_nanosleep compat_execve compat_futex compat_futimesat compat_getitimer compat_io_setup compat_io_submit compat_nanosleep compat_ppoll compat_pselect6 compat_pselect7 compat_recvmmsg compat_select compat_setitimer compat_signalfd compat_sys_msgctl compat_sys_msgrcv compat_sys_msgsnd compat_sys_recvmsg compat_sys_semctl compat_sys_semtimedop compat_sys_sendmsg compat_sys_shmat compat_sys_shmctl compat_sys_utimes compat_utime compat_utimensat compat_vmsplice connect creat delete_module dup dup2 epoll_create epoll_ctl epoll_pwait epoll_wait eventfd execve exit exit_group faccessat fadvise64 fadvise64_64 fchdir fchmod fchmodat fchown fchown16 fchownat fcntl fdatasync fgetxattr flistxattr flock fork fremovexattr fsetxattr fstat fstatat fstatfs fstatfs64 fsync ftruncate ftruncate64 futex futimesat get_mempolicy getcwd getdents getegid geteuid getgid getgroups gethostname getitimer getpeername getpgid getpgrp getpid getppid getpriority getresgid getresuid getrlimit getrusage getsid getsockname getsockopt gettid gettimeofday getuid getxattr init_module inotify_add_watch inotify_init inotify_rm_watch io_cancel io_destroy io_getevents io_setup io_submit ioctl ioperm ioprio_get ioprio_set kexec_load keyctl kill lchown lchown16 lgetxattr link linkat listen listxattr llistxattr llseek lookup_dcookie lremovexattr lseek lsetxattr lstat madvise mbind migrate_pages mincore mkdir mkdirat mknod mknodat mlock mlockall mmap2 modify_ldt mount move_pages mprotect mq_getsetattr mq_notify mq_open mq_timedreceive mq_timedsend mq_unlink mremap msgctl msgget msgrcv msgsnd msync munlock munlockall munmap nanosleep ni_syscall nice open openat pause personality pipe pivot_root poll ppoll prctl pread pselect6 pselect7 ptrace pwrite pwrite32 quotactl read readahead readdir readlink readlinkat readv reboot recv recvfrom recvmmsg recvmsg remap_file_pages removexattr rename renameat request_key restart_syscall rmdir rt_sigaction rt_sigaction32 rt_sigpending rt_sigprocmask rt_sigqueueinfo rt_sigreturn rt_sigsuspend rt_sigtimedwait sched_get_priority_max sched_get_priority_min sched_getaffinity sched_getparam sched_getscheduler sched_rr_get_interval sched_setaffinity sched_setparam sched_setscheduler sched_yield select semctl semget semop semtimedop send sendfile sendmsg sendto set_mempolicy set_tid_address setdomainname setfsgid setfsuid setgid setgroups sethostname setitimer setpgid setpriority setregid setregid16 setresgid setresgid16 setresuid setresuid16 setreuid setreuid16 setrlimit setsid setsockopt settimeofday settimeofday32 setuid setxattr sgetmask shmat shmctl shmdt shmget shutdown sigaction sigaction32 signal signalfd sigpending sigprocmask sigreturn sigsuspend socket socketpair splice ssetmask stat statfs statfs64 stime swapoff swapon symlink symlinkat sync sysctl sysfs sysinfo syslog tee tgkill time timer_create timer_delete timer_getoverrun timer_gettime timer_settime timerfd times tkill truncate tux umask umount uname unlink unlinkat unshare uselib ustat ustat32 utime utimensat utimes vhangup vmsplice wait4 waitid write writev) didn't find any wildcard matches: identifier '*' at /home/lwan1/Downloads/syscalls_by_pid.stp:16:15 while resolving probe point syscall.*
        source: probe syscall.* {
                              ^
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 1 global(s) using 211776virt/40892res/2504shr kb, in 30usr/20sys/43real ms.
Pass 2: analysis failed.  Try again with another '--vp 01' option.

-------------- next part --------------
WARNING: kernel release/architecture mismatch with host forces last-pass 4.
Pass 1: parsed user script and 144 library script(s) using 74860virt/39008res/2128shr kb, in 170usr/10sys/176real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s) using 75388virt/39800res/2348shr kb, in 0usr/0sys/5real ms.
Pass 3: translated to C into "/tmp/stapdnBiq0/helloworld.c" using 75388virt/39800res/2348shr kb, in 0usr/0sys/0real ms.
In file included from /tmp/stapdnBiq0/helloworld.c:14:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/types.h:17:1: error: "BITS_PER_LONG" redefined
In file included from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/bitsperlong.h:1,
                 from include/asm-generic/int-ll64.h:11,
                 from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/types.h:4,
                 from /tmp/stapdnBiq0/helloworld.c:14:
include/asm-generic/bitsperlong.h:18:1: error: this is the location of the previous definition
In file included from include/linux/prefetch.h:14,
                 from include/linux/list.h:7,
                 from include/linux/module.h:9,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/processor.h:94:5: error: "__LINUX_ARM_ARCH__" is not defined
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/processor.h:114:5: error: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/irqflags.h:57,
                 from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/system.h:61,
                 from include/linux/list.h:8,
                 from include/linux/module.h:9,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/irqflags.h:11:5: error: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/list.h:8,
                 from include/linux/module.h:9,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/system.h:112:5: error: "__LINUX_ARM_ARCH__" is not defined
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/system.h:118:5: error: "__LINUX_ARM_ARCH__" is not defined
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/system.h:122:35: error: "__LINUX_ARM_ARCH__" is not defined
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/system.h:255:5: error: "__LINUX_ARM_ARCH__" is not defined
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/system.h:262:5: error: "__LINUX_ARM_ARCH__" is not defined
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/system.h:330:5: error: "__LINUX_ARM_ARCH__" is not defined
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/system.h:333:2: error: #error "SMP is not supported on this platform"
In file included from include/linux/module.h:9,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/list.h: In function 'list_del':
include/linux/list.h:103: error: implicit declaration of function '_AC'
cc1: warnings being treated as errors
include/linux/list.h:103: error: integer constant is too large for 'long' type
include/linux/list.h:103: error: 'UL' undeclared (first use in this function)
include/linux/list.h:103: error: (Each undeclared identifier is reported only once
include/linux/list.h:103: error: for each function it appears in.)
include/linux/list.h:104: error: integer constant is too large for 'long' type
include/linux/list.h: In function 'hlist_del':
include/linux/list.h:597: error: integer constant is too large for 'long' type
include/linux/list.h:597: error: 'UL' undeclared (first use in this function)
include/linux/list.h:598: error: integer constant is too large for 'long' type
In file included from include/linux/bitops.h:22,
                 from include/linux/kernel.h:17,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/bitops.h:237:5: error: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/kernel.h:17,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/bitops.h: At top level:
include/linux/bitops.h:148: error: conflicting types for '_find_first_bit_le'
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/bitops.h:162: error: previous declaration of '_find_first_bit_le' was here
include/linux/bitops.h:158: error: conflicting types for '_find_first_zero_bit_le'
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/bitops.h:160: error: previous declaration of '_find_first_zero_bit_le' was here
include/linux/bitops.h:182: error: conflicting types for '_find_next_bit_le'
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/bitops.h:163: error: previous declaration of '_find_next_bit_le' was here
include/linux/bitops.h:192: error: conflicting types for '_find_next_zero_bit_le'
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/bitops.h:161: error: previous declaration of '_find_next_zero_bit_le' was here
In file included from include/linux/swab.h:6,
                 from include/linux/byteorder/little_endian.h:12,
                 from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/byteorder.h:21,
                 from include/linux/kernel.h:21,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/swab.h:25:28: error: "__LINUX_ARM_ARCH__" is not defined
In file included from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/thread_info.h:16,
                 from include/linux/thread_info.h:56,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:8,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/fpstate.h:32:5: error: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/spinlock.h:86,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:8,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/spinlock.h:4:5: error: "__LINUX_ARM_ARCH__" is not defined
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/spinlock.h:5:2: error: #error SMP not supported on pre-ARMv6 CPUs
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/spinlock.h:10:5: error: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/spinlock.h:386,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:8,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/atomic.h:30:5: error: "__LINUX_ARM_ARCH__" is not defined
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/atomic.h:153:2: error: #error SMP not supported on pre-ARMv6 CPUs
In file included from include/linux/spinlock.h:386,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:8,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/atomic.h:241: error: conflicting types for 'atomic64_t'
include/linux/types.h:213: error: previous declaration of 'atomic64_t' was here
In file included from include/linux/time.h:9,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/math64.h: In function 'div_u64_rem':
include/linux/math64.h:43: error: '__LINUX_ARM_ARCH__' undeclared (first use in this function)
In file included from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/page.h:26,
                 from include/linux/mmzone.h:20,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/glue.h:119:2: error: #error Unknown data abort handler type
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/glue.h:160:2: error: #error Unknown prefetch abort handler type
In file included from include/linux/mmzone.h:20,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/page.h:116:2: error: #error Unknown user operations model
In file included from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/page.h:202,
                 from include/linux/mmzone.h:20,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h:18:25: error: mach/memory.h: No such file or directory
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h:54:1: error: "CONFIG_PAGE_OFFSETUL" is not defined
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h:54:1: error: "CONFIG_PAGE_OFFSETUL" is not defined
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h:54:30: error: the right operand of ">" changes sign when promoted
In file included from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/page.h:202,
                 from include/linux/mmzone.h:20,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h: In function 'virt_to_phys':
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h:193: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h:193: error: 'PHYS_OFFSET' undeclared (first use in this function)
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h: In function 'phys_to_virt':
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h:198: error: 'PHYS_OFFSET' undeclared (first use in this function)
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h:198: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h: In function 'virt_to_bus':
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h:223: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h:223: error: 'PHYS_OFFSET' undeclared (first use in this function)
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h: In function 'bus_to_virt':
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h:228: error: 'PHYS_OFFSET' undeclared (first use in this function)
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/memory.h:228: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
In file included from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/mmzone.h: At top level:
include/linux/mmzone.h:73: error: 'CONFIG_ARM_L1_CACHE_SHIFT' undeclared here (not in a function)
include/linux/mmzone.h:73: error: requested alignment is not a constant
include/linux/mmzone.h:419: error: requested alignment is not a constant
In file included from include/linux/notifier.h:14,
                 from include/linux/memory_hotplug.h:6,
                 from include/linux/mmzone.h:649,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/rwsem.h:22:65: error: asm/rwsem.h: No such file or directory
In file included from include/linux/memory_hotplug.h:6,
                 from include/linux/mmzone.h:649,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/notifier.h:62: error: field 'rwsem' has incomplete type
In file included from include/linux/mmzone.h:908,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/sparsemem.h:21:2: error: #error Sparsemem is not supported on this platform
In file included from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/mmzone.h:947:36: error: "SECTION_SIZE_BITS" is not defined
include/linux/mmzone.h:948:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE
In file included from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/mmzone.h:991: error: 'MAX_PHYSMEM_BITS' undeclared here (not in a function)
include/linux/mmzone.h:991: error: 'SECTION_SIZE_BITS' undeclared here (not in a function)
In file included from include/linux/smp.h:36,
                 from include/linux/topology.h:33,
                 from include/linux/gfp.h:7,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/smp.h:17:22: error: mach/smp.h: No such file or directory
In file included from include/linux/timex.h:173,
                 from include/linux/jiffies.h:8,
                 from include/linux/ktime.h:25,
                 from include/linux/timer.h:5,
                 from include/linux/workqueue.h:8,
                 from include/linux/kmod.h:26,
                 from include/linux/module.h:13,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/timex.h:15:24: error: mach/timex.h: No such file or directory
In file included from include/linux/ktime.h:25,
                 from include/linux/timer.h:5,
                 from include/linux/workqueue.h:8,
                 from include/linux/kmod.h:26,
                 from include/linux/module.h:13,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:14,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: "CLOCK_TICK_RATE" is not defined
include/linux/jiffies.h:257:31: error: division by zero in #if
include/linux/jiffies.h:257:31: error: division by zero in #if
In file included from include/linux/sched.h:63,
                 from include/linux/ptrace.h:100,
                 from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/kprobes.h:20,
                 from include/linux/kprobes.h:42,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:21,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/mm_types.h:240: error: field 'mmap_sem' has incomplete type
In file included from include/linux/sched.h:71,
                 from include/linux/ptrace.h:100,
                 from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/kprobes.h:20,
                 from include/linux/kprobes.h:42,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:21,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/sem.h:96: error: requested alignment is not a constant
In file included from include/linux/sched.h:80,
                 from include/linux/ptrace.h:100,
                 from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/kprobes.h:20,
                 from include/linux/kprobes.h:42,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:21,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/seccomp.h:8:25: error: asm/seccomp.h: No such file or directory
In file included from include/linux/sched.h:80,
                 from include/linux/ptrace.h:100,
                 from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/kprobes.h:20,
                 from include/linux/kprobes.h:42,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:21,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/seccomp.h: In function 'secure_computing':
include/linux/seccomp.h:15: error: 'TIF_SECCOMP' undeclared (first use in this function)
In file included from include/linux/sched.h:82,
                 from include/linux/ptrace.h:100,
                 from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/kprobes.h:20,
                 from include/linux/kprobes.h:42,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:21,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/rculist.h: In function 'list_del_rcu':
include/linux/rculist.h:97: error: integer constant is too large for 'unsigned long' type
include/linux/rculist.h: In function 'list_replace_rcu':
include/linux/rculist.h:143: error: integer constant is too large for 'unsigned long' type
include/linux/rculist.h: In function 'hlist_del_rcu':
include/linux/rculist.h:300: error: integer constant is too large for 'unsigned long' type
include/linux/rculist.h: In function 'hlist_replace_rcu':
include/linux/rculist.h:320: error: integer constant is too large for 'unsigned long' type
In file included from include/linux/cred.h:17,
                 from include/linux/sched.h:93,
                 from include/linux/ptrace.h:100,
                 from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/kprobes.h:20,
                 from include/linux/kprobes.h:42,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:21,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/key.h: At top level:
include/linux/key.h:129: error: field 'sem' has incomplete type
In file included from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:21,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/kprobes.h:270: error: field 'optinsn' has incomplete type
In file included from include/linux/slab.h:168,
                 from include/linux/proc_fs.h:4,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:22,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/slub_def.h:109:35: error: "CONFIG_ARM_L1_CACHE_SHIFT" is not defined
In file included from include/linux/fs.h:471,
                 from include/linux/proc_fs.h:5,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:22,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/quota.h:396: error: field 'dqptr_sem' has incomplete type
In file included from include/linux/proc_fs.h:5,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:22,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/fs.h:750: error: field 'i_alloc_sem' has incomplete type
In file included from include/linux/proc_fs.h:5,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:22,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/fs.h:1108: error: 'struct flock64' declared inside parameter list
include/linux/fs.h:1108: error: its scope is only this definition or declaration, which is probably not what you want
include/linux/fs.h:1110: error: 'struct flock64' declared inside parameter list
include/linux/fs.h:1333: error: field 's_umount' has incomplete type
In file included from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/hardirq.h:6,
                 from include/linux/hardirq.h:10,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:26,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/irq.h:4:23: error: mach/irqs.h: No such file or directory
In file included from include/linux/hardirq.h:10,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:26,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/hardirq.h:11: error: requested alignment is not a constant
In file included from include/linux/hardirq.h:10,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:26,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/hardirq.h:15:5: error: "NR_IRQS" is not defined
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/hardirq.h:17:7: error: "NR_IRQS" is not defined
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/hardirq.h:28:27: error: "NR_IRQS" is not defined
In file included from include/linux/mm.h:40,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:32,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/pgtable.h:23:26: error: mach/vmalloc.h: No such file or directory
In file included from include/linux/mm.h:40,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:32,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/pgtable.h: In function 'pmd_page_vaddr':
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/pgtable.h:354: error: 'PHYS_OFFSET' undeclared (first use in this function)
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/pgtable.h:354: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
In file included from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/pgtable.h:447,
                 from include/linux/mm.h:40,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:32,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/asm-generic/pgtable.h: In function 'ptep_set_wrprotect':
include/asm-generic/pgtable.h:98: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
include/asm-generic/pgtable.h: In function '__ptep_modify_prot_commit':
include/asm-generic/pgtable.h:227: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
In file included from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:32,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/mm.h: In function 'is_vmalloc_addr':
include/linux/mm.h:293: error: 'VMALLOC_END' undeclared (first use in this function)
include/linux/mm.h: In function 'virt_to_head_page':
include/linux/mm.h:328: error: 'vmemmap' undeclared (first use in this function)
include/linux/mm.h:328: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
include/linux/mm.h:328: error: 'PHYS_OFFSET' undeclared (first use in this function)
In file included from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:32,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/mm.h: In function 'lowmem_page_address':
include/linux/mm.h:603: error: 'vmemmap' undeclared (first use in this function)
include/linux/mm.h:603: error: 'PHYS_OFFSET' undeclared (first use in this function)
include/linux/mm.h:603: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
In file included from /tmp/stapdnBiq0/helloworld.c:59:
/data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h: At top level:
/data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:100: error: requested alignment is not a constant
In file included from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:127,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/data/systemtap-1.5-macharm/share/systemtap/runtime/alloc.c: In function '_stp_alloc_percpu':
/data/systemtap-1.5-macharm/share/systemtap/runtime/alloc.c:379: error: too few arguments to function '__alloc_percpu'
In file included from /data/systemtap-1.5-macharm/share/systemtap/runtime/print.c:16,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:128,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/data/systemtap-1.5-macharm/share/systemtap/runtime/vsprintf.c: In function 'number':
/data/systemtap-1.5-macharm/share/systemtap/runtime/vsprintf.c:70: error: '__LINUX_ARM_ARCH__' undeclared (first use in this function)
/data/systemtap-1.5-macharm/share/systemtap/runtime/vsprintf.c: In function 'number_size':
/data/systemtap-1.5-macharm/share/systemtap/runtime/vsprintf.c:167: error: '__LINUX_ARM_ARCH__' undeclared (first use in this function)
In file included from /data/systemtap-1.5-macharm/share/systemtap/runtime/transport/relay_v2.c:32,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/transport/transport.c:53,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/print.c:18,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:128,
                 from /tmp/stapdnBiq0/helloworld.c:59:
include/linux/relay.h: At top level:
include/linux/relay.h:53: error: requested alignment is not a constant
In file included from /data/systemtap-1.5-macharm/share/systemtap/runtime/runtime.h:138,
                 from /tmp/stapdnBiq0/helloworld.c:59:
/data/systemtap-1.5-macharm/share/systemtap/runtime/sym.c: In function '_stp_build_id_check':
/data/systemtap-1.5-macharm/share/systemtap/runtime/sym.c:259: error: 'CONFIG_PAGE_OFFSETUL' undeclared (first use in this function)
In file included from /data/systemtap-1.5-macharm/share/systemtap/runtime/stat.c:41,
                 from /tmp/stapdnBiq0/helloworld.c:61:
/data/systemtap-1.5-macharm/share/systemtap/runtime/stat-common.c: In function 'needed_space':
/data/systemtap-1.5-macharm/share/systemtap/runtime/stat-common.c:52: error: '__LINUX_ARM_ARCH__' undeclared (first use in this function)
/data/systemtap-1.5-macharm/share/systemtap/runtime/stat-common.c: In function '_stp_stat_print_histogram_buf':
/data/systemtap-1.5-macharm/share/systemtap/runtime/stat-common.c:193: error: '__LINUX_ARM_ARCH__' undeclared (first use in this function)
/data/systemtap-1.5-macharm/share/systemtap/runtime/stat-common.c: In function '__stp_stat_add':
/data/systemtap-1.5-macharm/share/systemtap/runtime/stat-common.c:318: error: '__LINUX_ARM_ARCH__' undeclared (first use in this function)
In file included from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/cacheflush.h:15,
                 from include/linux/highmem.h:9,
                 from include/linux/pagemap.h:10,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/access_process_vm.h:6,
                 from /tmp/stapdnBiq0/helloworld.c:72:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/glue.h:119:2: error: #error Unknown data abort handler type
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/glue.h:160:2: error: #error Unknown prefetch abort handler type
In file included from /home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/cacheflush.h:17,
                 from include/linux/highmem.h:9,
                 from include/linux/pagemap.h:10,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/access_process_vm.h:6,
                 from /tmp/stapdnBiq0/helloworld.c:72:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/cachetype.h:24:5: error: "__LINUX_ARM_ARCH__" is not defined
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/cachetype.h:26:7: error: "__LINUX_ARM_ARCH__" is not defined
In file included from include/linux/highmem.h:9,
                 from include/linux/pagemap.h:10,
                 from /data/systemtap-1.5-macharm/share/systemtap/runtime/access_process_vm.h:6,
                 from /tmp/stapdnBiq0/helloworld.c:72:
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/cacheflush.h:136:2: error: #error Unknown cache maintainence model
/home/lwan1/WORKING_DIRECTORY/kernel/arch/arm/include/asm/cacheflush.h:374:30: error: "__LINUX_ARM_ARCH__" is not defined
make[1]: *** [/tmp/stapdnBiq0/helloworld.o] Error 1
make: *** [_module_/tmp/stapdnBiq0] Error 2
Pass 4: compiled C into "helloworld.ko" in 1090usr/90sys/1773real ms.
Pass 4: compilation failed.  Try again with another '--vp 0001' option.



More information about the Systemtap mailing list