PHP Curl extension unresolved symbol imp_fwrite when linking using MSVC++ Win95
| From: | Sukhwinder Singh | Date: | Tue, 30 Apr 2002 12:19:46 +0000 |
| Subject: | PHP Curl extension unresolved symbol imp_fwrite when linking using MSVC++ Win95 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13407@lists.php.net to get a copy of this message | ||
--------------------Configuration: curl - Win32 Release_TS--------------------
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.
php_curl.dll - 7 error(s), 0 warning(s)
And when linking ldap extension i get these errors:
Configuration: ldap - Win32 Release_TS--------------------
Linking...
LIBCMT.lib(dosmap.obj) : error LNK2005: __errno already defined in MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(atox.obj) : error LNK2005: _atoi already defined in MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in MSVCRT.lib(cinitexe.obj)
LIBCMT.lib(getenv.obj) : error LNK2005: _getenv already defined in MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(dosmap.obj) : warning LNK4006: __errno already defined in MSVCRT.lib(MSVCRT.dll); second
definition ignored
LIBCMT.lib(atox.obj) : warning LNK4006: _atoi already defined in MSVCRT.lib(MSVCRT.dll); second
definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xc_z already defined in MSVCRT.lib(cinitexe.obj);
second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xc_a already defined in MSVCRT.lib(cinitexe.obj);
second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xi_z already defined in MSVCRT.lib(cinitexe.obj);
second definition ignored
LIBCMT.lib(crt0init.obj) : warning LNK4006: ___xi_a already defined in MSVCRT.lib(cinitexe.obj);
second definition ignored
LIBCMT.lib(getenv.obj) : warning LNK4006: _getenv already defined in MSVCRT.lib(MSVCRT.dll); second
definition ignored
Creating library Release_TS/php_ldap.lib and object Release_TS/php_ldap.exp
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use
/NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use
/NODEFAULTLIB:library
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_client_init
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_set_alloc
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_errstring
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_decode
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_encode
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_setprop
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_client_new
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_dispose
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_getprop
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_client_step
oldap32.lib(cyrus.obj) : error LNK2001: unresolved external symbol __imp__sasl_client_start
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
..\..\Release_TS/php_ldap.dll : fatal error LNK1120: 12 unresolved externals
Error executing link.exe.
LIbsasl is there in libs directory.
php_ldap.dll - 20 error(s), 9 warning(s)
Sukhwinder