cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Error by make install

From: Andres Garcia <fandom_at_telefonica.net>
Date: Sun, 4 Nov 2007 17:04:22 +0100

Hi,

I noticed another problem when compiling disabling shared libraries.

When compiling the examples during 'make install', it fails with errors
like:

undefined reference to `_imp__curl_easy_init'

They are solved adding

#include "../../src/config.h"

before they load the 'curl' include files so that 'CURL_STATICLIB' gets
defined, but there may be a better solution.

Andres
Received on 2007-11-04