ID:               21292
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         Compile Failure
 Operating System: windows
 PHP Version:      4.3.0
 Assigned To:      edink
 New Comment:

that didnt solve it however i tried adding msvcrt.lib into the link
list for the the php extension and it then worked


Previous Comments:
------------------------------------------------------------------------

[2002-12-30 13:43:56] [EMAIL PROTECTED]

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.


------------------------------------------------------------------------

[2002-12-30 09:43:55] [EMAIL PROTECTED]


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

Reply via email to