PHP 4.0 Bug #8699: linking errors
| From: | h dot radi at nme dot at | Date: | Sun, 14 Jan 2001 14:07:23 +0000 |
| Subject: | PHP 4.0 Bug #8699: linking errors | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44061@lists.php.net to get a copy of this message | ||
From: h.radi@nme.at
Operating system: win32
PHP version: 4.0.4pl1
PHP Bug Type: PDF related
Bug description: linking errors
i get these errors when i try to compile the php_pdf.dll when i use the static pdflib.lib file.
it works with the dynamic pdflib.lib file, but then i get runtime errors during execution of php
scripts.
i'm using the latest cvs sources.
Linking...
LIBCMTD.lib(dbgheap.obj) : error LNK2005: _malloc already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMTD.lib(dbgheap.obj) : error LNK2005: __malloc_dbg already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMTD.lib(dbgheap.obj) : error LNK2005: _calloc already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMTD.lib(dbgheap.obj) : error LNK2005: _realloc already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMTD.lib(dbgheap.obj) : error LNK2005: _free already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMTD.lib(dbgheap.obj) : error LNK2005: __free_dbg already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMTD.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMTD.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in MSVCRTD.lib(cinitexe.obj)
LIBCMTD.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in MSVCRTD.lib(cinitexe.obj)
LIBCMTD.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in MSVCRTD.lib(cinitexe.obj)
LIBCMTD.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in MSVCRTD.lib(cinitexe.obj)
LIBCMTD.lib(setlocal.obj) : error LNK2005: _setlocale already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMTD.lib(atox.obj) : error LNK2005: _atoi already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMTD.lib(getenv.obj) : error LNK2005: _getenv already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _malloc already defined in MSVCRTD.lib(MSVCRTD.dll);
second definition ignored
LIBCMTD.lib(dbgheap.obj) : warning LNK4006: __malloc_dbg already defined in
MSVCRTD.lib(MSVCRTD.dll); second definition ignored
LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _calloc already defined in MSVCRTD.lib(MSVCRTD.dll);
second definition ignored
LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _realloc already defined in MSVCRTD.lib(MSVCRTD.dll);
second definition ignored
LIBCMTD.lib(dbgheap.obj) : warning LNK4006: _free already defined in MSVCRTD.lib(MSVCRTD.dll);
second definition ignored
LIBCMTD.lib(dbgheap.obj) : warning LNK4006: __free_dbg already defined in MSVCRTD.lib(MSVCRTD.dll);
second definition ignored
LIBCMTD.lib(crt0dat.obj) : warning LNK4006: _exit already defined in MSVCRTD.lib(MSVCRTD.dll);
second definition ignored
LIBCMTD.lib(crt0init.obj) : warning LNK4006: ___xc_z already defined in MSVCRTD.lib(cinitexe.obj);
second definition ignored
LIBCMTD.lib(crt0init.obj) : warning LNK4006: ___xc_a already defined in MSVCRTD.lib(cinitexe.obj);
second definition ignored
LIBCMTD.lib(crt0init.obj) : warning LNK4006: ___xi_z already defined in MSVCRTD.lib(cinitexe.obj);
second definition ignored
LIBCMTD.lib(crt0init.obj) : warning LNK4006: ___xi_a already defined in MSVCRTD.lib(cinitexe.obj);
second definition ignored
LIBCMTD.lib(setlocal.obj) : warning LNK4006: _setlocale already defined in MSVCRTD.lib(MSVCRTD.dll);
second definition ignored
LIBCMTD.lib(atox.obj) : warning LNK4006: _atoi already defined in MSVCRTD.lib(MSVCRTD.dll); second
definition ignored
LIBCMTD.lib(getenv.obj) : warning LNK4006: _getenv already defined in MSVCRTD.lib(MSVCRTD.dll);
second definition ignored
Creating library Debug_TS/php_pdf.lib and object Debug_TS/php_pdf.exp
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other libs; use
/NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBCMTD" conflicts with use of other libs; use
/NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use
/NODEFAULTLIB:library
..\..\Debug_TS/php_pdf.dll : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.
php_pdf.dll - 15 error(s), 27 warning(s)
--
Edit Bug report at: http://bugs.php.net/?id=8699&edit=1