Bug #12478 Updated: linking error in pdf_class

From: Date: Mon, 08 Oct 2001 17:55:39 +0000
Subject: Bug #12478 Updated: linking error in pdf_class
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-67561@lists.php.net to get a copy of this message
ID: 12478 Updated by: rjs Reported By: christophe.chapuron@alcatel.fr Old Status: Open Status: Closed Bug Type: PDF related Operating System: NT 4 PHP Version: 4.0.6 New Comment: You have to change the settinngs to "Multithreaded DLL" in "Project;Settings;C++;Code Generation;Use run-time library" when building PDFLib to solve this problem. Previous Comments: ------------------------------------------------------------------------ [2001-07-31 03:39:00] christophe.chapuron@alcatel.fr Hello, I've got this linking error when I try to compil pdf_class module in php_modules.dsw LIBCMT.lib(crt0dat.obj) : error LNK2005: _exit 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(crt0dat.obj) : warning LNK4006: _exit 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 Creating library Release_TS/php_pdf.lib and object Release_TS/php_pdf.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 LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main ..\..\Release_TS/php_pdf.dll : fatal error LNK1120: 1 unresolved externals Error executing link.exe. php_pdf.dll - 7 error(s), 7 warning(s) Would you mind helping me ? Regards. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12478&edit=1

« previous php.dev (#67561) next »