@plhk Как-то так:
% make
status-time build options:
CFLAGS = -g -std=c99 -pedantic -Wall -Os -DVERSION="0.03"
LDFLAGS = -static -Wl,--whole-archive -L/usr/lib
CC = cc
CC time.c
CC -o status-time
/usr/lib/libc.a(dso_handle.o):(.rodata+0x0): multiple definition of `__dso_handle'
/usr/lib/gcc/i686-pc-linux-gnu/4.9.1/crtbeginT.o:(.data+0x0): first defined here
/usr/lib/libc.a(rcmd.o): In function `__validuser2_sa':
(.text+0x488): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/libc.a(ifunc-impl-list.o): In function `__libc_ifunc_impl_list':
(.text+0x1d7): undefined reference to `__memmove_chk_ia32'
/usr/lib/libc.a(ifunc-impl-list.o): In function `__libc_ifunc_impl_list':
(.text+0x2e8): undefined reference to `__memset_chk_sse2_rep'
/usr/lib/libc.a(ifunc-impl-list.o): In function `__libc_ifunc_impl_list':
(.text+0x2f6): undefined reference to `__memset_chk_sse2'
/usr/lib/libc.a(ifunc-impl-list.o): In function `__libc_ifunc_impl_list':
(.text+0x300): undefined reference to `__memset_chk_ia32'
/usr/lib/libc.a(ifunc-impl-list.o): In function `__libc_ifunc_impl_list':
(.text+0x97c): undefined reference to `__strpbrk_sse42'
/usr/lib/libc.a(ifunc-impl-list.o): In function `__libc_ifunc_impl_list':
(.text+0x98a): undefined reference to `__strpbrk_ia32'
/usr/lib/libc.a(dl-conflict.o): In function `_dl_resolve_conflicts':
(.text+0x3a): undefined reference to `_dl_num_cache_relocations'
collect2: ошибка: выполнение ld завершилось с кодом возврата 1
../Makefile.status.inc:17: ошибка выполнения рецепта для цели «status-time»
make: *** [status-time] Ошибка 1