cURL / Mailing Lists / curl-library / Single Mail

curl-library

cmake

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 15 Apr 2009 00:03:40 +0200 (CEST)

Hey CMakers!

1. You should try making curl and libcurl from a daily snapshot. I doubt it
    has worked since it did't bundle any cmake-related files until my first
    shot done right now!

2. What's the purpose of CMake/Platforms/config-aix.h ?

3. I still can't build curl with cmake on Linux:

[ 29%] Building C object src/CMakeFiles/curl.dir/main.c.o
In file included from /home/daniel/src/curl-alt/lib/setup.h:40,
                  from /home/daniel/src/curl-alt/lib/strtoofft.h:26,
                  from /home/daniel/src/curl-alt/lib/curlx.h:41,
                  from /home/daniel/src/curl-alt/src/main.c:100:
/home/daniel/src/curl-alt/lib/config.h:375:1: warning: "HAVE_LIBZ" redefined

...

Linking C executable curl
CMakeFiles/curl.dir/curlutil.c.o: In function `cutil_tvnow':
curlutil.c:(.text+0x15): undefined reference to `clock_gettime'
collect2: ld returned 1 exit status

-- 
  / daniel.haxx.se
Received on 2009-04-15