Date: 09/21/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6524 Updated: Extra library argument stops make"
- Previous message: kittengrey <email protected>: "[PHP-DEV] PHP 4.0 Bug #6853: is_link malfunction?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: apseel <email protected>
Operating system: windows 2000 server
PHP version: 4.0.2
PHP Bug Type: Compile Failure
Bug description: LIBCMT.lib(setlocal.obj) : error LNK2005: _setlocale already defined in
I first compiled ...
used MSVC 6.0.
--------------------Configuration: php4dll - Win32 Release--------------------
Compiling...
configuration-parser.c
configuration-scanner.c
configuration-scanner.c(721) : warning C4102: 'find_rule' : unreferenced label
configuration-scanner.c(1499) : warning C4273: 'isatty' : inconsistent dll linkage.
.
.
.
safe_mode.c
SAPI.c
D:\Public\apseel\Wizmax\php\sc\php-4.0.2\main\SAPI.c(250) : warning C4018: '>=' : signed/unsigned mismatch
strlcat.c
strlcpy.c
.
.
.
dir.c
dl.c
D:\Public\apseel\Wizmax\php\sc\php-4.0.2\ext\standard\dl.c(91) : warning C4005: 'IS_SLASH' : macro redefinition
..\main\php_virtual_cwd.h(44) : see previous definition of 'IS_SLASH'
dns.c
D:\PHP\INCLUDE\arpa/inet.h(74) : warning C4005: 'FD_SETSIZE' : macro redefinition
D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(46) : see previous definition of 'FD_SETSIZE'
D:\PHP\INCLUDE\portability.h(382) : warning C4273: 'getenv' : inconsistent dll linkage. dllexport assumed.
D:\PHP\INCLUDE\portability.h(745) : warning C4273: 'strdup' : inconsistent dll linkage. dllexport assumed.
exec.c
.
.
.
maketables.c
pcre.c
D:\Public\apseel\Wizmax\php\sc\php-4.0.2\ext\pcre\pcrelib\pcre.c(174) : warning C4273: 'pcre_malloc' : inconsistent dll linkage. dllexport assumed.
D:\Public\apseel\Wizmax\php\sc\php-4.0.2\ext\pcre\pcrelib\pcre.c(175) : warning C4273: 'pcre_free' : inconsistent dll linkage. dllexport assumed.
study.c
COM.c
.
.
.
LIBCMT.lib(setlocal.obj) : error LNK2005: _setlocale already defined in MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(tolower.obj) : error LNK2005: _tolower already defined in MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(dosmap.obj) : error LNK2005: __errno already defined in MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(osfinfo.obj) : error LNK2005: __get_osfhandle already defined in MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(strftime.obj) : error LNK2005: _strftime 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(tzset.obj) : error LNK2005: __tzset already defined in MSVCRT.lib(MSVCRT.dll)
LIBCMT.lib(getenv.obj) : error LNK2005: _getenv already defined in MSVCRT.lib(MSVCRT.dll)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __strdup already defined in LIBCMT.lib(strdup.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __strnicmp already defined in LIBCMT.lib(strnicmp.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __stricmp already defined in LIBCMT.lib(stricmp.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __close already defined in LIBCMT.lib(close.obj)
LIBCMT.lib(setlocal.obj) : warning LNK4006: _setlocale already defined in MSVCRT.lib(MSVCRT.dll); second definition ignored
LIBCMT.lib(tolower.obj) : warning LNK4006: _tolower already defined in MSVCRT.lib(MSVCRT.dll); second definition ignored
LIBCMT.lib(dosmap.obj) : warning LNK4006: __errno already defined in MSVCRT.lib(MSVCRT.dll); second definition ignored
LIBCMT.lib(osfinfo.obj) : warning LNK4006: __get_osfhandle already defined in MSVCRT.lib(MSVCRT.dll); second definition ignored
LIBCMT.lib(crt0dat.obj) : warning LNK4006: _exit already defined in MSVCRT.lib(MSVCRT.dll); second definition ignored
LIBCMT.lib(strftime.obj) : warning LNK4006: _strftime 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(tzset.obj) : warning LNK4006: __tzset already defined in MSVCRT.lib(MSVCRT.dll); second definition ignored
LIBCMT.lib(getenv.obj) : warning LNK4006: _getenv already defined in MSVCRT.lib(MSVCRT.dll); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: __strdup already defined in LIBCMT.lib(strdup.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: __strnicmp already defined in LIBCMT.lib(strnicmp.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: __stricmp already defined in LIBCMT.lib(stricmp.obj); second definition ignored
MSVCRT.lib(MSVCRT.dll) : warning LNK4006: __close already defined in LIBCMT.lib(close.obj); second definition ignored
Creating library ..\Release/php4nts.lib and object ..\Release/php4nts.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
LINK : warning LNK4049: locally defined symbol "_pcre_free" imported
LINK : warning LNK4049: locally defined symbol "_pcre_malloc" imported
resolv.lib(res_send.obj) : error LNK2001: unresolved external symbol _writev
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
..\Release\php4nts.dll : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6524 Updated: Extra library argument stops make"
- Previous message: kittengrey <email protected>: "[PHP-DEV] PHP 4.0 Bug #6853: is_link malfunction?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

