You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had fun reading you blog about ministrace. I tried to compile it but end up with errors.
Could you take a look please?
root@oracle1 ministrace]# make
./gen_tables.py /usr/src/linux/
Traceback (most recent call last):
File "./gen_tables.py", line 109, in ?
sys.exit(main(sys.argv[1:]))
File "./gen_tables.py", line 104, in main
syscall_numbers = do_syscall_numbers(os.path.join(linux_dir, unistd_h))
File "./gen_tables.py", line 9, in do_syscall_numbers
for line in open(unistd_h):
IOError: [Errno 2] No such file or directory: '/usr/src/linux/arch/x86/include/asm/unistd_64.h'
make: *** [syscallents.h] Error 1
[root@oracle1 ministrace]# uname -a
Linux xxxxxxxxxxx 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@oracle1 ministrace]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
if it helps, this is what I have for unistd on the system
I had fun reading you blog about ministrace. I tried to compile it but end up with errors.
Could you take a look please?
root@oracle1 ministrace]# make
./gen_tables.py /usr/src/linux/
Traceback (most recent call last):
File "./gen_tables.py", line 109, in ?
sys.exit(main(sys.argv[1:]))
File "./gen_tables.py", line 104, in main
syscall_numbers = do_syscall_numbers(os.path.join(linux_dir, unistd_h))
File "./gen_tables.py", line 9, in do_syscall_numbers
for line in open(unistd_h):
IOError: [Errno 2] No such file or directory: '/usr/src/linux/arch/x86/include/asm/unistd_64.h'
make: *** [syscallents.h] Error 1
[root@oracle1 ministrace]# uname -a
Linux xxxxxxxxxxx 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@oracle1 ministrace]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
if it helps, this is what I have for unistd on the system
/usr/include/unistd.h
/usr/include/asm/unistd.h
/usr/include/asm-i386/unistd.h
/usr/include/asm-x86_64/unistd.h
/usr/include/bits/unistd.h
/usr/include/linux/unistd.h
/usr/include/sys/unistd.h
/usr/lib/bcc/include/unistd.h
/usr/lib/bcc/include/bsd/unistd.h
/usr/lib/syslinux/com32/include/unistd.h
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/asm/unistd.ph
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/asm-i386/unistd.ph
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/asm-x86_64/unistd.ph
/usr/share/man/man0p/unistd.h.0p.gz
/usr/src/kernels/2.6.18-308.el5-x86_64/include/asm-i386/unistd.h
/usr/src/kernels/2.6.18-308.el5-x86_64/include/asm-x86_64/ia32_unistd.h
/usr/src/kernels/2.6.18-308.el5-x86_64/include/asm-x86_64/unistd.h
/usr/src/kernels/2.6.18-308.el5-x86_64/include/linux/unistd.h
Thank you
The text was updated successfully, but these errors were encountered: