Re: [PATCH] tools/usbip: fixes build with musl libc toolchain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/05/2017 10:48 AM, julien.boibessot@xxxxxxx wrote:
> From: Julien BOIBESSOT <julien.boibessot@xxxxxxxxxxxx>
> 
> Indeed musl doesn't define old SIGCLD signal name but only new one SIGCHLD.
> SIGCHLD is the new POSIX name for that signal so it doesn't change
> anything on other libcs.
> 
> This fixes this kind of build error:
> 
> usbipd.c: In function ‘set_signal’:
> usbipd.c:459:12: error: 'SIGCLD' undeclared (first use in this function)
>   sigaction(SIGCLD, &act, NULL);
>             ^~~~~~
> usbipd.c:459:12: note: each undeclared identifier is reported only once
> 	for each function it appears in
> Makefile:407: recipe for target 'usbipd.o' failed
> make[3]: *** [usbipd.o] Error 1
> 
> Signed-off-by: Julien BOIBESSOT <julien.boibessot@xxxxxxxxxxxx>
> ---

Thanks for the patch.

Greg,

Please pick this up.

Acked-by: Shuah Khan <shuahkh@xxxxxxxxxxxxxxx>

thanks,
-- Shuah

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux