curl-library
Re: Build using CMake
Date: Mon, 23 Mar 2009 16:57:39 +0100 (CET)
On Mon, 23 Mar 2009, Sukender wrote:
> Build successful:
> - Win32 / MSVC 8 (Express)
> - cURL 7.19.4
> - With or without Windows SSPI
> - With or without zlib (Not tested against SSL yet)
Let me mention that we have support for 4-5 different SSL libraries. The
current file seems to assume only OpenSSL.
And why does it add -D_USRDLL ?
> Please test with as many compilers/platforms as possible and report anything
> useful.
On my debian unstable Linux using cmake version 2.6-patch 3:
% cmake .
% make
[ 1%] Building C object lib/CMakeFiles/libcurl.dir/file.c.o
In file included from /home/daniel/src/curl-alt/lib/setup.h:473,
from /home/daniel/src/curl-alt/lib/file.c:24:
/home/daniel/src/curl-alt/lib/setup_once.h:82: error: redefinition of 'struct
timeval'
/home/daniel/src/curl-alt/lib/setup_once.h:164: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'Missing_definition_of_macro_sread'
In file included from /home/daniel/src/curl-alt/lib/urldata.h:54,
from /home/daniel/src/curl-alt/lib/file.c:75:
/home/daniel/src/curl-alt/lib/cookie.h:45: error: expected
specifier-qualifier-list before 'bool'
/home/daniel/src/curl-alt/lib/cookie.h:61: error: expected
specifier-qualifier-list before 'bool'
/home/daniel/src/curl-alt/lib/cookie.h:88: error: expected declaration
specifiers or '...' before 'bool'
/home/daniel/src/curl-alt/lib/cookie.h:92: error: expected declaration
specifiers or '...' before 'bool'
/home/daniel/src/curl-alt/lib/cookie.h:94: error: expected declaration
specifiers or '...' before 'bool'
/home/daniel/src/curl-alt/lib/cookie.h:95: error: expected declaration
specifiers or '...' before 'bool'
(totally about 130 lines of errors)
-- / daniel.haxx.seReceived on 2009-03-23