Hello all

I use toolchain based on gcc 4.4.5 and uClibc large file support) and got the following error when compiling:

arm-xscale-linux-gnueabi-gcc -Wall -g -O2   -o strace strace.o syscall.o count.o util.o desc.o file.o ipc.o io.o ioctl.o mem.o net.o process.o bjm.o quota.o resource.o signal.o sock.o system.o term.o time.o proc.o scsi.o stream.o 
syscall.o:(.rodata+0x1768): undefined reference to `sys_truncate64'
syscall.o:(.rodata+0x177c): undefined reference to `sys_ftruncate64'
syscall.o:(.rodata+0x1948): undefined reference to `sys_getdents64'
syscall.o:(.rodata+0x1d1c): undefined reference to `sys_statfs64'
syscall.o:(.rodata+0x1d30): undefined reference to `sys_fstatfs64'
collect2: ld returned 1 exit status

My steps:
$ export TOOLCHAIN_PREFIX=arm-xscale-linux-gnueabi
$ export STRACE_ROO=<some dir>
$ CC=${TOOLCHAIN_PREFIX}-gcc ./configure --prefix=$STRACE_ROOT/build --host=${TOOLCHAIN_PREFIX}
$ make