[Reconnoiter-users] Problems compiling on FreeBSD

Theo Schlossnagle jesus at omniti.com
Wed Mar 30 22:06:04 EDT 2011


based on this feedback, please try [1603] -- libutil.h looks to be the
only one we were missing.

On Wed, Mar 30, 2011 at 4:14 PM, Piotr Sikora <piotr.sikora at frickle.com> wrote:
> Hey,
>
>> Looks like we're not including the right header -- the one containing
>> the openpty() prototype.  You know where that is on BSD?  Find it, add
>> it into noit_defines.h as an include and see if that solves the
>> problem -- if it does, we'll autoconf it and wrap the include with an
>> #ifdef and we should be all set going forward.
>
> openpty() is a mess (headers-wise):
>
> OpenBSD:
> #include <termios.h>
> #include <util.h>
>
> FreeBSD, DragonFly:
> #include <sys/types.h>
> #include <sys/ioctl.h>
> #include <termios.h>
> #include <libutil.h>
>
> NetBSD:
> #include <util.h>
>
> Linux:
> #include <pty.h>
>
> btw: those links might be helpful in the future (they were for me):
> http://labs.frickle.com/misc/manual_pages.html
>
> Best regards,
> Piotr Sikora < piotr.sikora at frickle.com >
>
>



-- 
Theo Schlossnagle

http://omniti.com/is/theo-schlossnagle


More information about the Reconnoiter-users mailing list