umiere:toybox mirell$ make sed: illegal option -- r usage: sed script [-Ealn] [-i extension] [file ...] sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...] sed -n -e 's/^# CONFIG_\(.*\) is not set.*/\1/' \ -e 't notset' -e 'b tryisset' -e ':notset' \ -e 'h' -e 's/.*/#define CFG_& 0/p' \ -e 'g' -e 's/.*/#define USE_&(...)/p' -e 'd' -e ':tryisset' \ -e 's/^CONFIG_\(.*\)=y.*/\1/' -e 't isset' -e 'd' -e ':isset' \ -e 'h' -e 's/.*/#define CFG_& 1/p' \ -e 'g' -e 's/.*/#define USE_&(...) __VA_ARGS__/p' .config > gen_config.h sed: illegal option -- r usage: sed script [-Ealn] [-i extension] [file ...] sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...] gcc -Wall -Wundef -Wno-char-subscripts -funsigned-char -I . main.c lib/*.c -o toybox_unstripped -Os -ffunction-sections -fdata-sections -Wl,--gc-sections In file included from toys.h:37, from main.c:7: lib/lib.h:40: error: conflicting types for ‘strlcpy’ /usr/include/string.h:132: error: previous declaration of ‘strlcpy’ was here In file included from ./toys.h:37, from lib/args.c:7: ./lib/lib.h:40: error: conflicting types for ‘strlcpy’ /usr/include/string.h:132: error: previous declaration of ‘strlcpy’ was here In file included from ./toys.h:37, from lib/bunzip.c:13: ./lib/lib.h:40: error: conflicting types for ‘strlcpy’ /usr/include/string.h:132: error: previous declaration of ‘strlcpy’ was here In file included from ./toys.h:37, from lib/dirtree.c:7: ./lib/lib.h:40: error: conflicting types for ‘strlcpy’ /usr/include/string.h:132: error: previous declaration of ‘strlcpy’ was here In file included from ./toys.h:37, from lib/getmountlist.c:7: ./lib/lib.h:40: error: conflicting types for ‘strlcpy’ /usr/include/string.h:132: error: previous declaration of ‘strlcpy’ was here lib/getmountlist.c:9:20: error: mntent.h: No such file or directory lib/getmountlist.c: In function ‘getmountlist’: lib/getmountlist.c:21: error: storage size of ‘me’ isn’t known lib/getmountlist.c:25: warning: implicit declaration of function ‘setmntent’ lib/getmountlist.c:25: warning: assignment makes pointer from integer without a cast lib/getmountlist.c:28: warning: implicit declaration of function ‘getmntent_r’ lib/getmountlist.c:21: warning: unused variable ‘me’ In file included from ./toys.h:37, from lib/lib.c:12: ./lib/lib.h:40: error: conflicting types for ‘strlcpy’ /usr/include/string.h:132: error: previous declaration of ‘strlcpy’ was here lib/lib.c:20: error: conflicting types for ‘strlcpy’ /usr/include/string.h:132: error: previous declaration of ‘strlcpy’ was here lib/lib.c: In function ‘fdlength’: lib/lib.c:444: error: ‘BLKGETSIZE’ undeclared (first use in this function) lib/lib.c:444: error: (Each undeclared identifier is reported only once lib/lib.c:444: error: for each function it appears in.) lib/lib.c: In function ‘xpidfile’: lib/lib.c:548: warning: implicit declaration of function ‘kill’ In file included from ./toys.h:37, from lib/llist.c:7: ./lib/lib.h:40: error: conflicting types for ‘strlcpy’ /usr/include/string.h:132: error: previous declaration of ‘strlcpy’ was here In file included from ./toys.h:37, from lib/xregcomp.c:10: ./lib/lib.h:40: error: conflicting types for ‘strlcpy’ /usr/include/string.h:132: error: previous declaration of ‘strlcpy’ was here make: *** [toybox_unstripped] Error 1 lumiere:toybox mirell$