Date: Thu, 21 Mar 2024 10:41:51 +0300 From: Gleb Popov <arrowd@freebsd.org> To: Michael Grimm <trashcan@ellael.org> Cc: FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Re: SO_PASSCRED and SCM_CREDENTIALS | error: use of undeclared identifier Message-ID: <CALH631mE0G_PPS7_886TQdH1NKUqtQOGc1Rua7e6AhAtwB6t8g@mail.gmail.com> In-Reply-To: <0CF935BF-0DD4-423B-91BF-38FEF1DC374E@ellael.org> References: <0CF935BF-0DD4-423B-91BF-38FEF1DC374E@ellael.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 20, 2024 at 11:16=E2=80=AFPM Michael Grimm <trashcan@ellael.org= > wrote: > > Hi > > Disclaimer: > > I am trying to create a new port (knot-resolver-current) developed under = Linux upstream. A so-called manager functionality is brand new in compariso= n to the previous knot-resolver. The corresponding git repository is leadin= g edge development. > > My main motivation is: learning how to create ports ;-) > > > Compilation fails: > > cc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG= -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -I/usr/local= /include/python3.9 -c knot_resolver_manager/kresd_controller/supervisord/pl= ugin/notifymodule.c -o build/temp.freebsd-14.0-STABLE-amd64-cpython-39/knot= _resolver_manager/kresd_controller/supervisord/plugin/notifymodule.o > knot_resolver_manager/kresd_controller/supervisord/plugin/notifymodule.c:= 52:42: error: use of undeclared identifier 'SO_PASSCRED' > 52 | res =3D setsockopt(controlfd, SOL_SOCKET, SO_PASSCRED, &d= ata, This might help you: https://github.com/CollaboraOnline/online/commit/8c6cbedd583e80e3c0f93a3e42= b3579492da2087
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631mE0G_PPS7_886TQdH1NKUqtQOGc1Rua7e6AhAtwB6t8g>