尝试在debian wheezy中编译Curl库时出错

尝试在debian wheezy中编译Curl库时出错,curl,compilation,debian,libcurl,Curl,Compilation,Debian,Libcurl,我使用以下命令下载了curl库: apt-get build-dep cur apt-get source curl cd curl-7.26.0/ ./configure make 运行make后,出现如下错误: strdup.o: In function `Curl_memdup': strdup.c:(.text+0x1e): undefined reference to `Curl_cmalloc' collect2: error: ld returned 1 exit status

我使用以下命令下载了curl库:

apt-get build-dep cur
apt-get source curl
cd curl-7.26.0/
./configure
make
运行make后,出现如下错误:

strdup.o: In function `Curl_memdup':
strdup.c:(.text+0x1e): undefined reference to `Curl_cmalloc'
collect2: error: ld returned 1 exit status
make[2]: *** [curl] Error 1
make[2]: Leaving directory `/home/kia/Desktop/curl/curl-7.26.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/kia/Desktop/curl/curl-7.26.0/src'
make: *** [all-recursive] Error 1

我将把curl库添加到我以前构建的最小化内核中。

我很确定这是因为他们应用的安全补丁不完全适用于cmalloc。我可能还是建议你考虑下载和建立一个新的版本直接从卷曲网站,而不是…