Current-Users archive

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

Re: VirtualBox guest additions build failure



> On Apr 27, 2021, at 5:23 PM, Valery Ushakov <uwe%stderr.spb.ru@localhost> wrote:
> 
> On Tue, Apr 27, 2021 at 21:45:10 +0100, Chavdar Ivanov wrote:
> 
>> I switched early today my VirtualBox NetBSD-current guest; as usual, I
>> rebuilt the additions (it works without them, but it is better to have
>> them - e.g. without them the X cursor is almost invisible). There are
>> a couple of patches I always have to apply under -current, which I
>> did; it failed further with an error due to implicit function
>> declaration
>> 
>> ...
>> src/VBox/Additions/common/VBoxGuest/VBoxGuest-netbsd.c:419:25: error:
>> implicit declaration of function ?config_found_ia?; did you mean
>> ?config_found?? [-Werror=implicit-function-declaration]
> 
> This is probably the recent config changes committed by thorpej@.
> 
> I'd appreciate a quick TL;DR and the condition to check to choose the
> new API and I will make the change in the VBox tree.

#if __NetBSD_Version__ >= 999008200
	config_found(parent, aux, printfn, CFARG_IATTR, "whatever", CFARG_EOL);
#else
	config_found_ia(...);
#endif

FWIW, I've also updated the autoconf(9) man page.

-- thorpej



Home | Main Index | Thread Index | Old Index