DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
packages vs ports zelut FreeBSD Ports and Packages 17 28th October 2009 08:19 AM
Packages vs. Ports guitarscn OpenBSD Packages and Ports 3 1st October 2008 04:43 AM
Upgrading and rebuilding ALL packages/ports chill FreeBSD Ports and Packages 8 16th June 2008 04:55 AM
openVPN 2.1_rc7 (server) on openBSD 4.3 config examples s2scott Guides 2 23rd May 2008 06:16 PM
FAQ: FreeBSD Ports and Packages Carpetsmoker FreeBSD Ports and Packages 0 1st May 2008 03:38 PM


All times are GMT. The time now is 10:21 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick