strace 4.5.20: linking error

laborer2008 laborer laborer2008 at gmail.com
Thu Nov 18 12:56:42 UTC 2010


Hello all

I use toolchain based on gcc 4.4.5 and uClibc 0.9.30.2(without 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20101118/179cc272/attachment.html>


More information about the Strace-devel mailing list