tcpsvd single-applet build fails

Denys Vlasenko vda.linux at googlemail.com
Mon Mar 19 03:41:59 UTC 2012


On Friday 16 March 2012 13:18, Lauri Kasanen wrote:
> 32-bit x86 gcc 4.6.1
> 
> libbb/lib.a(appletlib.o): In function `main':
> appletlib.c:(.text.main+0x67): undefined reference to `tcpsvd_main'
> 
> The config is attached.

BTW, perhaps you want to drop this:

CONFIG_FEATURE_COMPRESS_USAGE=y

# nm --size-sort busybox_unstripped
...
00000073 T ipsvd_perhost_add
00000074 T crc32_filltable
00000075 T bb_show_usage
00000075 T main
00000097 t sig_child_handler
000000a5 t get_bits
000000b4 T recv_from_to
000000e4 T start_bunzip
000000ef T xstrtoul_range_sfx
000000f0 T bb_daemonize_or_rexec
00000100 T get_uidgid
00000173 T bb_verror_msg
00000173 t str2sockaddr
000001e9 r packed_usage
000005a7 T getopt32
0000072d T tcpudpsvd_main
0000075f T read_bunzip       <================= BLOAT
00002001 B bb_common_bufsiz1

Without it:
...
00000073 T ipsvd_perhost_add
00000075 T main
00000097 t sig_child_handler
000000b4 T recv_from_to
000000ef T xstrtoul_range_sfx
000000f0 T bb_daemonize_or_rexec
00000100 T get_uidgid
00000173 T bb_verror_msg
00000173 t str2sockaddr
000002c7 r usage_messages
000005a7 T getopt32
0000072d T tcpudpsvd_main
00002001 B bb_common_bufsiz1

-- 
vda


More information about the busybox mailing list