[Buildroot] [PATCH v2 1/1] package/ssdp-responder: new package

Joachim Wiberg troglobit at gmail.com
Sun Jan 24 23:36:05 UTC 2021


Hi Yann,

On Sun, Jan 24, 2021 at 23:33, "Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:
> On 2021-01-24 20:49 +0100, Joachim Wiberg spake thusly:
>> Verified with check-package and test-pkg, no-mmu builds disabled.
> I've done a bit of research as to why noMMU builds were broken.
> Initially, you stated:
>> +	depends on BR2_USE_MMU # fork()
> However, ssdp-responder does not use fork().

It's hidden in daemon(3), sneaky.

> So I was a bit surprised, and spawned a test build, and indeed it fails,
> but for very obscur reasons. In that situation, a lot of functions, even
> very basic ones, like strdup(), do not get prototyped, and a lot of
> multicast-related structs, like struct ip_mreq, do not get defined.

Mmm, spent quite a bit of time myself trying to figure that one out.

> I tried to dig the root cause, but I lost too much hair, so I bailed out
> and comitted your patch as is, just with the fork() reference dropped.

Heh ;)

Yeah, seeing as I'm the maintainer of the upstream project, I suspect
I'll spend some time later trying to figure this one out.  Because it's
a quite useful little daemon to help locate your embedded device.  Some
replacement functions need to be implemented, of course, but nothing too
hairy.

> Applied to master, thanks.

Thank you! :-)


Best regards
 /Joachim



More information about the buildroot mailing list