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

Re: l2tpd



On Fri, Aug 23, 2002 at 12:49:21PM -0400, Bo Byrd wrote:
> Has anyone tried anything with l2tpd?  www.l2tpd.org  Its supposed to
> work on freebsd; I tried it on obsd3.1 and it was a no go.  Theres no
> ./configure so I then modified the Makefile to tell it freebsd and it
> still errored out with:
> 
> root_(_at_)_optical l2tpd-0.69# make
> cc -g -O2 -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY
> -DFREEBSD -O2  -c l2tpd.c
> l2tpd.c: In function `lac_hangup':
> l2tpd.c:651: warning: implicit declaration of function `kill'
> l2tpd.c: In function `new_tunnel':
> l2tpd.c:721: `AF_INET' undeclared (first use in this function)
> l2tpd.c:721: (Each undeclared identifier is reported only once
> l2tpd.c:721: for each function it appears in.)
> *** Error code 1

Maybe you should include sys/socket.h and signal.h?

Didn't look at the code but this is where those are defined on OpenBSD.

-- 
Free your mind and your ass will follow -- http://www.funkaffair.de



Visit your host, monkey.org