From: Roman M. <rom...@gm...> - 2006-02-16 01:09:17
|
Hello, I've been trying to cross compile 'strace' for ARM9 target and failed. May be the problem is I use pretty old version of uclibc - 0.9.15, but due to some reasons I can't switch into new one. How I compiled it: #cd STRACE_SRC #./configure --target=3Darm-linux-uclibc --host=3Darm-linux-uclibc #make CC=3D<path_uclibc_toolchain> CFLAGS=3D<path_arm_linuxkernel_headers> ... Process just immediately fails with this: if /opt/toolchain/arm/gcc-3.2/toolchain/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/arm -I ./linux/arm -Ilinux -I./linux -Wall -g -O2 -I/ext/mrv/ktrg/linux/include -MT syscall.o -MD -MP -MF ".deps/syscall.Tpo" -c -o syscall.o syscall.c; \ then mv -f ".deps/syscall.Tpo" ".deps/syscall.Po"; else rm -f ".deps/syscall.Tpo"; exit 1; fi syscall.c:60:21: sys/reg.h: No such file or directory syscall.c: In function `get_scno' syscall.c:1082: warning: passing arg 4 of `ptrace' makes integer from pointer without a cast syscall.c:1088: invalid use of undefined type `struct pt_regs' and so on How and where to fix the problem? Thanks in advance! -- Roman |