#21292 [Ver->Csd]: curl extension fails to compile

From: Date: Mon, 30 Dec 2002 19:43:56 +0000
Subject: #21292 [Ver->Csd]: curl extension fails to compile
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28786@lists.php.net to get a copy of this message
ID: 21292 Updated by: edink@php.net Reported By: madhon@madhon.co.uk -Status: Verified +Status: Closed Bug Type: Compile Failure Operating System: windows PHP Version: 4.3.0 Assigned To: edink New Comment: When compiling libcurl you need to link it against msvcrt.lib in addition to other libraries specified in Makefile.vc6. Find: LINKLIBS = ws2_32.lib winmm.lib Change to: LINKLIBS = ws2_32.lib winmm.lib msvcrt.lib And compile release or release-ssl target. Previous Comments: ------------------------------------------------------------------------ [2002-12-30 09:43:55] madhon@madhon.co.uk using curl 7.10.2 compiled on the machine and i get this compiled both using vc6 Linking... Creating library Release_TS/php_curl.lib and object Release_TS/php_curl.exp curl.obj : error LNK2001: unresolved external symbol __imp__fwrite curl.obj : error LNK2001: unresolved external symbol __imp__realloc curl.obj : error LNK2001: unresolved external symbol __imp__fread curl.obj : error LNK2001: unresolved external symbol __imp__free curl.obj : error LNK2001: unresolved external symbol __fltused LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12 ..\..\Release_TS/php_curl.dll : fatal error LNK1120: 6 unresolved externals Error executing link.exe. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21292&edit=1

« previous php.bugs (#28786) next »