[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Building openvpn-down-root plugin on OS X 10.4.x


  • Subject: [Openvpn-users] Building openvpn-down-root plugin on OS X 10.4.x
  • From: Dylan Muir <dylan@xxxxxx>
  • Date: Tue, 18 Jul 2006 15:49:23 +0000 (UTC)

Hi,

Here are the steps to build the openvpn-down-root plugin for 10.4.  I used
gcc 4.0.1, the plugin compiles on a G4 and an intel mac.  I haven't tested
the plugin on the intel mac yet.

The last line of the script is split.  If you copy and paste, it should
work though.

Have fun!

DRM

==========

cd openvpn-2.0.7/plugin/down-root

export MACOSX_DEPLOYMENT_TARGET=10.4
gcc -O2 -Wall -fPIC -c -I../.. down-root.c
gcc -O2 -Wall -fPIC -bundle -o openvpn-down-root.so down-root.o \
-lc -undefined dynamic_lookup

==========

______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users