[Vortex] MinGW & vortex lib problems
Francis Brosnan Blazquez
francis at aspl.es
Mon Mar 3 18:49:33 CET 2008
Hi Robert,
> Hi, ok I downloaded the Bloodshed DevCpp IDE which works very well. I
> created two projects libaxl and libvortex. The code for libaxl compliles
> and creates a static link library. So far so good. Than I tried to
> complile libvortex, which doesn't succeeded yet. I expect that I either
> miss some flags or libaries. Here is the compiler log:
>
>
> Compiler: Default compiler
> Building Makefile:
> "C:\Develop\beep\VortexLibraryW32-1.0.12-src\Makefile.win"
> Führt make... aus
> make.exe -f "C:\Develop\beep\VortexLibraryW32-1.0.12-src\Makefile.win" all
> gcc.exe -c src/vortex_tls.c -o src/vortex_tls.o
> -I"C:/Programme/DevCpp/include"
> -I"C:/Develop/beep/VortexLibraryW32-1.0.12-src/src"
> -I"C:/Develop/beep/libaxl/src" -DENABLE_XML_RPC_SUPPORT
> -DENABLE_TUNNEL_SUPPORT -DENABLE_VORTEX_LOG
> In file included from
> C:/Develop/beep/VortexLibraryW32-1.0.12-src/src/vortex.h:247,
> from src/vortex_tls.c:50:
> C:/Programme/DevCpp/include/errno.h:92:1: warning: "errno" redefined
> In file included from src/vortex_tls.c:50:
> C:/Develop/beep/VortexLibraryW32-1.0.12-src/src/vortex.h:130:1: warning:
> this is the location of the previous definition
> src/vortex_tls.c:1822: error: syntax error before "VortexDigestMethod"
> src/vortex_tls.c:1897: error: syntax error before "method"
> src/vortex_tls.c: In function `vortex_tls_get_digest':
> src/vortex_tls.c:1901: error: `method' undeclared (first use in this
> function)
> src/vortex_tls.c:1901: error: (Each undeclared identifier is reported only
> once
> src/vortex_tls.c:1901: error: for each function it appears in.)
> src/vortex_tls.c:1901: error: `string' undeclared (first use in this
> function)
> src/vortex_tls.c:1901: warning: return makes pointer from integer without
> a cast
> src/vortex_tls.c: At top level:
> src/vortex_tls.c:1921: error: syntax error before "method"
> src/vortex_tls.c:1924: error: conflicting types for
> 'vortex_tls_get_digest_sized'
> src/vortex_tls.c:1901: error: previous implicit declaration of
> 'vortex_tls_get_digest_sized' was here
> make.exe: *** [src/vortex_tls.o] Error 1
>
>
> Has anyone an idea what the problem is? I compiled all source files as C
> files. Just the "VortexDigestMethod" stuff is not liked by the compiler.
There was a bug at vortex_tls.c:50 which was including openssl/err.h
without being enclosed by a ENABLE_TLS_SUPPORT declaration. This is now
fixed. Try to check latest svn [1]. Cheers!
> Thanks a lot.
[1] https://dolphin.aspl.es/svn/publico/af-arch/trunk/libvortex/
--
Francis Brosnan Blazquez <francis at aspl.es>
Advanced Software Production Line, S.L.
More information about the Vortex
mailing list