Running phase: unpackPhase unpacking source archive /nix/store/xb86fhgmcwqdvvicbyrhrr38zgkz8wlh-source source root is source Running phase: patchPhase applying patch /nix/store/vsq6yl0cnvlhv802wjfpfhph4v1fvxnp-1.diff patching file Makefile Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash gcc -c -o fang.o fang.c fang.c: In function 'main': fang.c:718:17: error: implicit declaration of function 'pthread_create' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 718 | ret = pthread_create(&tid[count], NULL, (void *)&(hciScanThread), args); | ^~~~~~~~~~~~~~ fang.c:727:16: error: implicit declaration of function 'pthread_join'; did you mean 'pthread_kill'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 727 | ret = pthread_join(tid[count], NULL); | ^~~~~~~~~~~~ | pthread_kill make: *** [: fang.o] Error 1