ID: 25183 User updated by: yiwakiri at st dot rim dot or dot jp Reported By: yiwakiri at st dot rim dot or dot jp -Status: Bogus +Status: Open Bug Type: Compile Failure Operating System: All of Unix like system PHP Version: 4.3.2 New Comment:
it is nonsense -- PHP_EXTENSION macro is not outdated as long as a manual is seen. If it uses only PHP_NEW_EXTENSION, you repair a manual. (http://www.php.net/manual/en/zend.configuration-macros.php) It is the problem that what is offered cannot be used. Compatibility with back will be allowed, a manual will be collected, Which is good? Previous Comments: ------------------------------------------------------------------------ [2003-08-20 22:57:21] [EMAIL PROTECTED] You're doing something wrong. And this is not the support forum for 3rd party extensions/development of such. Ask this kind of questions elsewhere. ------------------------------------------------------------------------ [2003-08-20 22:44:44] yiwakiri at st dot rim dot or dot jp Sorry. The category was mistaken. ------------------------------------------------------------------------ [2003-08-20 21:00:24] yiwakiri at st dot rim dot or dot jp Description: ------------ When creating the extension module of C / C++ mixture, It seems that scan_makefile_in.awk which is not correctly changed into PHP_NEW_EXTENSION macro from PHP_EXTENSION macro e.g. Makefile.in is LTLIBRARY_SOURCES = example1.c LTLIBRARY_SOURCES_CPP = example2.cxx Makefile -- snip -- .NOEXPORT: example2.lo: /home/iwakiri/swig/class/example2.cxx $(phplibdir)/example.la: ./example.la $(LIBTOOL) --mode=install cp ./example.la $(phplibdir) The first line's makerule is lost. Please change as follows: --- php-4.3.2/scan_makefile_in.awk Thu Mar 7 23:17:47 2002 +++ scan_makefile_in.awk Thu Aug 21 10:48:57 2003 @@ -5,7 +5,7 @@ mode == 0 && /^LTLIBRARY_SOURCES.*\\$/ { if (match($0, "[^=]*$")) { - sources=substr($0, RSTART, RLENGTH-1) + sources=sources substr($0, RSTART, RLENGTH-1) } mode=1 next @@ -13,7 +13,7 @@ mode == 0 && /^LTLIBRARY_SOURCES.*/ { if (match($0, "[^=]*$")) { - sources=substr($0, RSTART, RLENGTH) + sources=sources substr($0, RSTART, RLENGTH) } } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25183&edit=1
