Current-Users archive

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

Re: VirtualBox guest additions build failure



Chavdar Ivanov <ci4ic4%gmail.com@localhost> 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]
>...
>
>I replaced all
>   -Werror-implicit-function-delcaration
>in Config.kmk with
>   -Wno-error=implicit-function-declaration

I wouldn't expect it to work with an undefined function, you will need
to replace the call to config_found_ia() with one to config_found() and
change the arguments, there are examples in the tree to copy.


Home | Main Index | Thread Index | Old Index