View Single Post
  #1   (View Single Post)  
Old 17th May 2008
s2scott's Avatar
s2scott s2scott is offline
Package Pilot
 
Join Date: May 2008
Location: Toronto, Ontario Canada
Posts: 198
Default openvpn 2.1_rc7 from ports (not packages)

Two part post -- (1) Advisory; and (2) who do I tell question.

(1) ADVISORY

The rc7 port doesn't compile and make successfully. I downloaded the port of openvpn-2.1_rc7 from ftp://ftp.openbsd.org/pub/OpenBSD/distfiles. Unpacked and did

Code:
./configure --disable-lzo
make
...
tun.c: In function `open_tun':
tun.c: error: `IFF_MULTICAST' undeclared (first use in this function)
tun.c: error: (Each undeclared identifier is reported only once
tun.c: error: for each function it appears in.)
*** Error code 1
...
/*then vital signs absent */
:-(
After rummaging around and dusting of my once-upon-a-time C language skills, it alighted up doing the following...

Code:
tun.c
#include <net/if.h>
#include <sys/types.h> 
#include <sys/socket.h>
Then re-performed...

Code:
./configure --disable-lzo
make clean
make /* worked this time */
make install
So any of you 2.1_rc7 adapters be warm and aware.

/S
__________________
Never argue with an idiot. They will bring you down to their level and beat you with experience.
Reply With Quote