php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8699 linking errors
Submitted: 2001-01-14 09:07 UTC Modified: 2001-06-04 08:57 UTC
From: h dot radi at nme dot at Assigned:
Status: Closed Package: PDF related
PHP Version: 4.0.4pl1 OS: win32
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: h dot radi at nme dot at
New email:
PHP Version: OS:

 

 [2001-01-14 09:07 UTC] h dot radi at nme dot at
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)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-04 05:08 UTC] sniper@php.net
Does this happen with the latest CVS too?
Or with the latest release candidate:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

--Jani


 [2001-06-04 08:57 UTC] phanto@php.net
even without warnings :) (with 4.0.7-dev)

harald
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Feb 15 17:01:27 2025 UTC