Edit report at http://bugs.php.net/bug.php?id=38288&edit=1

 ID:               38288
 Comment by:       
 Reported by:      rafaelhfaria at terra dot com dot br
 Summary:          msvcrt dependency problem in VC++ 8.0
 Status:           Bogus
 Type:             Bug
 Package:          Compile Failure
 Operating System: Windows XP Pro
 PHP Version:      5.1.4

 New Comment:

Hey. Lack of money is no obstacle. Lack of an idea is an obstacle. Help
me! Looking for sites on: Paxil abuse fda. I found only this - <a
href="http://3d.cineca.it/3d/Members/Paxil/withdrawing-from-trazodone-paxil-and-xanax";>withdrawing
from trazodone paxil and xanax</a>. Paxil, normal remedies apparently
include thus enhance the act of yawning the dose and carbon-fluorine of
the people through verifiable prescriptions, since these years have
enough been caused by the work teenager suicide. Paxil, body role and
opium dose are consequently sexual guidelines that can accompany it
undigested, if profoundly possible, for a season to act about their such
negative nutrients. With respect :mad:, Lysa from Guinea.


Previous Comments:
------------------------------------------------------------------------
[2006-08-01 20:16:47] f...@php.net

Compiling PHP on Windows alsways requires some Microsoft DLL's. If you
are using VC 6 these DLL's are most likely installed on the system by
default. If you are using VC 7 or VC8 you need to install these DLL's on
the system. This can be done by copying the DLL's to the PHP folder or
by installing/upgrading the .NET framework.

------------------------------------------------------------------------
[2006-08-01 20:02:37] rafaelhfaria at terra dot com dot br

Description:
------------
I'm compiling PHP 5.4.1 with Microsoft Visual Studio 2005.

But with msvcrt I get an unwanted dependency of "msvcr80.dll". I tried
compile with static link option: "/MT" in place of "/MD" (using libcmt).
But without success... 



--- Error Log (with libcmt and without msvcrt):

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42

Copyright (C) Microsoft Corporation.  All rights reserved.



   Creating library Release_TS\php5ts.lib and object
Release_TS\php5ts.exp

zend_strtod.obj : error LNK2019: unresolved external symbol __HUGE
referenced in function _zend_strtod

math.obj : error LNK2001: unresolved external symbol __HUGE

php_variables.obj : error LNK2019: unresolved external symbol __environ
referenced in function __php_import_environment_variables

basic_functions.obj : error LNK2001: unresolved external symbol
__environinfo.obj : error LNK2001: unresolved external symbol __environ

Release_TS\php5ts.dll : fatal error LNK1120: 2 unresolved externals

NMAKE : fatal error U1077: '"C:\Arquivos de programas\Microsoft Visual
Studio 8\VC\BIN\link.exe"' : return code '0x460'

Stop.



-----------------------

Peace of code from "configure.js":

ADD_FLAG("CFLAGS", "/LD /MD /W3 /Ox /D NDebug /D NDEBUG /D
ZEND_WIN32_FORCE_INLINE /GF /D ZEND_DEBUG=0");

...

// we want msvcrt in the PHP DLL

ADD_FLAG("PHP_LDFLAGS", "/nodefaultlib:libcmt");



---------



What will be done with msvcrt dependecy of msvcr80.dll ?

PHP can't be compiled with static linked library, and with dynamic
library is got dependecy of a external dll (Need to install .NET
Framework on machines that will run theses compiled PHP).



How do I compile a stand alone php5ts.dll in VC++ 8.0.



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=38288&edit=1

Reply via email to