<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.2.2">
</HEAD>
<BODY>
Hello,<BR>
<BR>
Statically linking Vortex Library might not be an appropriate solution<BR>
in all cases, especially for closed source/proprietary solutions. <BR>
<BR>
See "About statically linking Vortex Library" at:<BR>
<BR>
<A HREF="http://www.aspl.es/fact/files/af-arch/vortex-1.1/html/license.html">http://www.aspl.es/fact/files/af-arch/vortex-1.1/html/license.html</A><BR>
<BR>
Best Regards,<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hi, continuing in an other thread as it seems all these things are releated to compiling vortex on OSX 10.10. Some more findings:

Using OpenSSL on OSX these days: What to do

* Get OpenSSL from MacPorts.org
* Most recent version, 1.0.0d is there
* Statically link the libraries
* Include anything else in your bundle

This is what the OpenSSL team recommends
* Static linking is the binary model
* It prevents dylib version skew

When using macports OpenSLL, there needs to be a new -I option added to the makefile for the TLS stuff:
„-I/opt/local/include“ so that the macports includes and libs are found. After I added this, I was able to overcome the depreciation problem and compile the TLS code part.


Than some warnings & errors in the python interface files:

py_vortex.c:561:2: warning: implicit declaration of function 'PyUnicode_SetDefaultEncoding' [-Wimplicit-function-declaration]
        PyUnicode_SetDefaultEncoding ("UTF-8");
        ^
py_vortex.c:567:11: warning: implicit declaration of function 'Py_InitModule3' [-Wimplicit-function-declaration]
        module = Py_InitModule3 ("libpy_vortex_11", py_vortex_methods,
                 ^
py_vortex.c:567:9: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion]
        module = Py_InitModule3 ("libpy_vortex_11", py_vortex_methods,
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
py_vortex.c:570:3: error: non-void function 'initlibpy_vortex_11' should return a value [-Wreturn-type]
                return;
                ^
py_vortex.c:581:2: error: non-void function 'initlibpy_vortex_11' should return a value [-Wreturn-type]
        return;
        ^
py_vortex.c:857:50: warning: implicit declaration of function 'PyString_AsString' [-Wimplicit-function-declaration]
                        str     = axl_strdup_printf ("%s%s", str_aux, PyString_AsString (string));
                                                                      ^


--
Robert M. Münch
M: +41 79 65 11 49 6

Saphirion AG

<A HREF="http://www.saphirion.com">http://www.saphirion.com</A>
smarter | better | faster

_______________________________________________
Vortex mailing list
<A HREF="mailto:Vortex@lists.aspl.es">Vortex@lists.aspl.es</A>
<A HREF="http://lists.aspl.es/cgi-bin/mailman/listinfo/vortex">http://lists.aspl.es/cgi-bin/mailman/listinfo/vortex</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>