From:             psubrama at chn dot cognizant dot com
Operating system: Windows2000
PHP version:      4.3.8
PHP Bug Type:     Compile Failure
Bug description:  PDF Extension Build Failure

Description:
------------
While trying to compile php_pdf extension module, my build fails with the
following message :


I am using version 6.0.0p1 of PDFLite. I have not built jpeg library of
PDFLite, but don't see how that will help, b'cos that's a static
library(jpeg.lib) that is neither included(linked) by pdflib.lib or by
php_pdf.dll.
Do I need to modify workspace file of either project ?
Have another issue to mention...the php_pdf workspace tries to include
libtiff.lib and ligpng.lib though the libraries created by the PDF builds
are named tiff.lib and png.lib respectively. Am I looking at the wrong
libs ?

Expected result:
----------------
I was expecting to have a successful php_pdf.dll created

Actual result:
--------------
Linking...
LIBCMT.lib(dosmap.obj) : error LNK2005: __errno already defined in
MSVCRT.lib(MSVCRT.dll)
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(dosmap.obj) : warning LNK4006: __errno already defined in
MSVCRT.lib(MSVCRT.dll); 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
pdf.obj : error LNK2001: unresolved external symbol _PDF_open_fp
pdflib.lib(tif_ojpeg.obj) : error LNK2001: unresolved external symbol
_pdf_jpeg_CreateDecompress
pdflib.lib(tif_jpeg.obj) : error LNK2001: unresolved external symbol
_pdf_jpeg_CreateDecompress
pdflib.lib(tif_ojpeg.obj) : error LNK2001: unresolved external symbol
_pdf_jpeg_std_error
pdflib.lib(tif_jpeg.obj) : error LNK2001: unresolved external symbol
_pdf_jpeg_std_error
pdflib.lib(tif_jpeg.obj) : error LNK2001: unresolved external symbol
_pdf_jpeg_CreateCompress
..\..\Release_TS/php_pdf.dll : fatal error LNK1120: 18 unresolved
externals
Error executing link.exe.


-- 
Edit bug report at http://bugs.php.net/?id=30066&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30066&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30066&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30066&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30066&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30066&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30066&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30066&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30066&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30066&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30066&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30066&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30066&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30066&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30066&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30066&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30066&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30066&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30066&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30066&r=mysqlcfg

Reply via email to