[sudo-users] Problem compiling sudo with static libs
Chris Butler
ccbutler at gmail.com
Wed Oct 1 09:18:09 MDT 2014
Thanks - is there a reason why the sys/types.h include isn't in preload.c
by default? Or is this a Solaris thing?
Regards,
-Chris
On Wed, Oct 1, 2014 at 11:15 AM, Todd C. Miller <Todd.Miller at courtesan.com>
wrote:
> You will need to add:
>
> #include <sys/types.h>
>
> after the #include <config.h> to src/preload.c
>
> However, there are other issues with --disable-shared-libutil on
> Solaris. You will need to edit the top-level Makefile and remove
> plugins/group_file and plugins/system_group from SUBDIRS or you'll
> end up with relocation errors.
>
> - todd
>
More information about the sudo-users
mailing list