|
|
Ken Gallo <mailinglists <at> gallohouse.com> writes:
>
> > Eric C. Snowdeal III wrote:
> >> my apologies if this is a blindingly obvious question, but i'm trying
> >> to get openvpn-down-root plugin to compile on OS X 10.4.3 so that i
> >> can get the client.down.osx.sh script [1] to run properly with
> >> tunnelblick [2] and am running into problems.
A belated followup for anyone else experiencing this. Here is how
I have modified the Makefile, with explanatory comments. I assume
that similar changes would need to be made in order to build any
other plugin on OSX. Perhaps someone could incorporate this into
the svn tree.
Lawrence
#
# Build the OpenVPN down-root plugin module.
#
# This directory is where we will look for openvpn-plugin.h
INCLUDE=-I../..
CC_FLAGS=-O2 -Wall
SHARED_FLAG=-shared
LINKER_OPTIONS=-Wl,-soname,openvpn-down-root.so
#ifdef TARGET_DARWIN
# Darwin (OSX) does not use the -shared option, but uses -dynamiclib
# instead The linker does not use -soname, which defaults to the argument
# given to -o
LINKER_OPTIONS=
SHARED_FLAG=-dynamiclib
#endif
down-root.so : down-root.o
gcc ${CC_FLAGS} -fPIC ${SHARED_FLAG} ${LINKER_OPTIONS} \
-o openvpn-down-root.so down-root.o -lc
down-root.o : down-root.c
gcc ${CC_FLAGS} -fPIC -c ${INCLUDE} down-root.c
clean :
rm -f *.o *.so
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-02/msg00028.html on line 227
Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-02/msg00028.html on line 227
|