compiling own extension for php-5.1.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,

i am trying to port a self-written extension from php-5.0.2 to php-5.1.1, if i try to load the extension i get an error:

ext/php_webcontrol.dll doesn't appear to be a valid Zend extension


then i tried to compile the minimal example from ext/skeleton, but same error :(


this is my configuration in my .dsp-file

<snip>

# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "HP_511"
# PROP BASE Intermediate_Dir "PHP_511"
# PROP BASE Ignore_Export_Lib 0
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "PHP_511"
# PROP Intermediate_Dir "PHP_511"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "php-5.1.1" /I "php-5.1.1\main" /I "php-5.1.1\Zend" /I "..\bindlib_w32" /I "php-5.1.1\TSRM" /D ZEND_DEBUG=0 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WEBCONTROL_EXPORTS" /D "COMPILE_DL_WEBCONTROL" /D ZTS=1 /D "ZEND_WIN32" /D "PHP_WIN32" /D HAVE_WEBCONTROL=1 /D "LIBZEND_EXPORTS" /FR /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "php-5.1.1" /I "php-5.1.1\main" /I "php-5.1.1\Zend" /I "..\bindlib_w32" /I "php-5.1.1\TSRM" /D ZEND_DEBUG=0 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WEBCONTROL_EXPORTS" /D "COMPILE_DL_WEBCONTROL" /D ZTS=1 /D "ZEND_WIN32" /D "PHP_WIN32" /D HAVE_WEBCONTROL=1 /D "LIBZEND_EXPORTS" /FR /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x406 /d "NDEBUG"
# ADD RSC /l 0x406 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386 /out:"PHP_511/php_webcontrol.dll" /libpath:"php-5.1.1\Release_TS" /libpath:"php-5.1.1\Release_TS_Inline"
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib php5ts.lib /nologo /dll /machine:I386 /out:"PHP_511/php_webcontrol.dll" /libpath:"php-5.1.1\Release_TS" /libpath:"php-5.1.1\Release_TS_Inline"

</snip>

i looked at the other extensions, and i also build php_ctype.dll and with this extension i get the same error!?

hope someone can give me an hint ;)

TIA,
marco glatz

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux