/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/sys-apps/pick-4.0.0/temp/--10707d.o: undefined reference to symbol 'setupterm' /usr/bin/x86_64-pc-linux-gnu-ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line clang-15: error: linker command failed with exit code 1 (use -v to see invocation) :3:1: error: unknown type name '__dead' __dead int dead(void); ^ :3:1: error: unknown type name '__dead2' __dead2 int dead(void); ^ :5:10: warning: call to undeclared function 'wcwidth'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return !(wcwidth(c) == 0); ^ :4:10: warning: call to undeclared function 'pledge'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return !(pledge("stdio", NULL) == 0); ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/sys-apps/pick-4.0.0/temp/--ee28b4.o: in function `main': -:(.text+0xd): undefined reference to `pledge' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) :4:10: warning: call to undeclared function 'strtonum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return !(strtonum("1", 1, 2, NULL) != 0); ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/sys-apps/pick-4.0.0/temp/--865578.o: in function `main': -:(.text+0x17): undefined reference to `strtonum' clang-15: error: linker command failed with exit code 1 (use -v to see invocation)