Enable compliation under Darwin
Transmit Report:
[email protected]...���� ���� ������ 3�� ���������� ��������������.
(���� ���� : 550 <[email protected]...>: Recipient address rejected: User unknown in local recipient table(211.232.190.7))
<����> ���� ������ ���� ����
User unknown :������ ������ �������� �������� ����
Socket connect fail:���� ���� ������ ���� ����
DATA write fail :���� ���� ������ ������ ���� ����
DATA reponse fail :���� ���� ���������� ������ ���� ����
Quoted 16 lines · Roy Marples
plugin/down-root/Makefile renamed from plugin/down-root/Makefile.orig +8
-0@@ -7,11 +7,22 @@ CC_FLAGS=-O2 -Wall +ifeq ($(USERLAND),Darwin) + LIBNAME=dylib +else + LIBNAME=so +endif + +lib : down-root.$(LIBNAME) + down-root.so : down-root.o gcc ${CC_FLAGS} -fPIC -shared -Wl,-soname,openvpn-down-root.so -o openvpn-down-root.so down-root.o -lc
plugin/down-root/Makefile line 28
Quoted 10 lines
plugin/down-root/Makefile renamed from plugin/down-root/Makefile.orig +4
-1+down-root.dylib : down-root.o + gcc ${CC_FLAGS} -dynamiclib -install_name openvpn-down-root.dylib -o openvpn-down-root.dylib down-root.o -lc + down-root.o : down-root.c gcc ${CC_FLAGS} -fPIC -c ${INCLUDE} down-root.c clean : - rm -f *.o *.so + rm -f *.o *.so *.dylib
According to the Fink porting documents[1], this is not the right way to link loadable modules on Mac OS X. The module should properly end with ".so", and the compiler flags should include "-bundle" and not "-dynamiclib", which should only be used when linking a shared library.
[1] http://fink.sf.net/doc/porting/shared.php?phpLang=en#lib-and-mod
Cheers, -- Johnny Lam <[email protected]...>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel