1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
fdkit@kvm-host buildroot]$ make
>>> strace 4.7 Building
PATH="/home/fdkit/buildroot/output/host/bin:/home/fdkit/buildroot/output/host/usr/bin:/home/fdkit/buildroot/output/host/usr/sbin/:/home/fdkit/poky/scripts:/home/fdkit/poky/bitbake/bin/:/home/fdkit/poky/scripts:/home/fdkit/poky/bitbake/bin/:/home/fdkit/poky/scripts:/home/fdkit/poky/bitbake/bin/:/usr/local/bin:/bin:/usr/bin:/usr/games:/home/fdkit/bin" PERLLIB="/home/fdkit/buildroot/output/host/usr/lib/perl"  /usr/bin/make -j8  -C /home/fdkit/buildroot/output/build/strace-4.7/
make[1]: Entering directory `/home/fdkit/buildroot/output/build/strace-4.7'
/usr/bin/make  all-recursive
make[2]: Entering directory `/home/fdkit/buildroot/output/build/strace-4.7'
Making all in tests
make[3]: Entering directory `/home/fdkit/buildroot/output/build/strace-4.7/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/fdkit/buildroot/output/build/strace-4.7/tests'
make[3]: Entering directory `/home/fdkit/buildroot/output/build/strace-4.7'
/home/fdkit/buildroot/output/host/usr/bin/arm-linux-gnueabihf-gcc -Wall -Wwrite-strings -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -Os    -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 scsi.o stream.o block.o pathtrace.o mtd.o vsprintf.o loop.o  
syscall.o:(.rodata+0x128): undefined reference to `sys_oldstat'
syscall.o:(.rodata+0x1c8): undefined reference to `sys_oldfstat'
syscall.o:(.rodata+0x548): undefined reference to `sys_oldlstat'
syscall.o:(.rodata+0x5a8): undefined reference to `sys_old_mmap'
syscall.o:(.rodata+0xc18): undefined reference to `sys_truncate64'
syscall.o:(.rodata+0xc28): undefined reference to `sys_ftruncate64'
syscall.o:(.rodata+0xc38): undefined reference to `sys_stat64'
syscall.o:(.rodata+0xc48): undefined reference to `sys_lstat64'
syscall.o:(.rodata+0xc58): undefined reference to `sys_fstat64'
pathtrace.o: In function `pathtrace_match':
pathtrace.c:(.text+0x430): undefined reference to `sys_old_mmap'
collect2: error: ld returned 1 exit status
make[3]: *** [strace] Error 1
make[3]: Leaving directory `/home/fdkit/buildroot/output/build/strace-4.7'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/fdkit/buildroot/output/build/strace-4.7'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/fdkit/buildroot/output/build/strace-4.7'
make: *** [/home/fdkit/buildroot/output/build/strace-4.7/.stamp_built] Error 2