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

[Err] [Openvpn-devel] Re: [PATCH] Enable compliation under Darwin


  • Subject: [Err] [Openvpn-devel] Re: [PATCH] Enable compliation under Darwin
  • From: postmaster@xxxxxxxx
  • Date: Thu, 06 Apr 2006 00:04:23 +0900
  • Auto-submitted: auto-generated

Transmit Report:

iryna7@xxxxxxxx¿¡°Ô ¸ÞÀÏ ¹ß¼ÛÀ» 3¹ø ½ÃµµÇßÁö¸¸ ½ÇÆÐÇÏ¿´½À´Ï´Ù.
(½ÇÆÐ ÀÌÀ¯ : 550 <iryna7@xxxxxxxx>: Recipient address rejected: User unknown in local recipient table(211.232.190.7))

<Âü°í> ½ÇÆÐ ÀÌÀ¯¿¡ ´ëÇÑ ¼³¸í
User unknown       :¸ÞÀÏÀ» ¼ö½ÅÇÒ »ç¿ëÀÚ°¡ Á¸ÀçÇÏÁö ¾ÊÀ½
Socket connect fail:¼ö½Å ¸ÞÀÏ ¼­¹ö¿Í ¿¬°á ½ÇÆÐ
DATA write fail    :¼ö½Å ¸ÞÀÏ ¼­¹ö·Î ¸Þ¼¼Áö ¼Û½Å ½ÇÆÐ
DATA reponse fail  :¼ö½Å ¸ÞÀÏ ¼­¹ö·ÎºÎÅÍ ¸Þ¼¼Áö ¼ö½Å ½ÇÆÐ
Reporting-MTA: dns; nexg.net

Final-Recipient: rfc822;iryna7@nexg.net
Diagnostic-Code: smtp; 550 error - <iryna7@nexg.net>: Recipient address rejected: User unknown in local recipient table(211.232.190.7)
Action: failed
Status: 5.0.0
--- Begin Message ---
  • Subject: [Openvpn-devel] Re: [PATCH] Enable compliation under Darwin
  • From: Johnny Lam <jlam@xxxxxxxxxx>
  • Date: Wed, 05 Apr 2006 09:49:08 -0400
Roy Marples wrote:
--- openvpn-2.0.4/plugin/down-root/Makefile.orig 2005-11-02 20:25:40.000000000 +0100
+++ openvpn-2.0.4/plugin/down-root/Makefile 2005-11-02 20:31:53.000000000 +0100
@@ -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
+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 <jlam@xxxxxxxxxx>

____________________________________________
Openvpn-devel mailing list
Openvpn-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

--- End Message ---
____________________________________________
Openvpn-devel mailing list
Openvpn-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-devel