#24259 [Opn->Csd]: gcc error while building ext/mnogosearch/php_mnogo.o
| From: | gluke@php.net | Date: | Fri, 20 Jun 2003 06:30:11 +0000 |
| Subject: | #24259 [Opn->Csd]: gcc error while building ext/mnogosearch/php_mnogo.o | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-42264@lists.php.net to get a copy of this message | ||
ID: 24259
Updated by: gluke@php.net
Reported By: christian at freemails dot at
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Linux 2.4.16 (RedHat 7.3)
PHP Version: 4.3.2
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
This is fixed in CVS.
The mnogosearch extension is updated in HEAD php sources and in PHP_4_3
branch both.
Previous Comments:
------------------------------------------------------------------------
[2003-06-19 11:53:01] christian at freemails dot at
Description:
------------
Used version of mnogosearch is 3.2.10;
I was trieing to rebuild my PHP and my Apache with the mnoGoSearch
extension. (The only other change is that I added freetype support).
The building of PHP failed at ext/mnogosearch/php_mnogo.o
see the reproduce code for my configure-line and the result for the
last output of make.
Reproduce code:
---------------
CFLAGS="-march=i686 -I/usr/libs/ncurses/include/ncurses"
CPPFLAGS="-march=i686" LDFLAGS="-L/usr/libs/ncurses/lib
-L/usr/lib/mysql -L/usr/libs/zlib/lib" ./configure --prefix=/usr
--with-apache=../apache_1.3.27 --enable-cli --enable-force-cgi-redirect
--enable-discard-path --enable-path-info-check --disable-debug
--with-pear=/usr/webserver1/pear --with-openssl=/usr/libs/openssl
--with-zlib=/usr/libs/zlib --with-zlib-dir=/usr/libs/zlib --without-bz2
--enable-calendar --without-cpdflib --with-jpeg-dir=/usr/libs/jpeg
--with-png-dir=/usr/libs/png --with-freetype-dir=/usr/libs/freetype2
--without-crack --without-curl --without-db3 --enable-dbase
--with-zlib-dir=/usr/libs/zlib --enable-exif --enable-ftp --with-gd
--with-mnogosearch=/usr/local/mnogosearch --with-mysql=/usr
--with-ncurses=/usr/libs/ncurses --without-iodbc --without-unixODBC
--without-openlink --without-pdflib --enable-session --enable-shmop
--enable-sockets --without-swf --enable-xml --enable-versioning
--enable-shared --disable-static --enable-memory-limit
make
Actual result:
--------------
gcc -I/root/php-4.3.2/ext/gd/libgd -DHAVE_LIBPNG -DHAVE_LIBJPEG
-DHAVE_XPM -DHAVE_LIBFREETYPE -Iext/gd/ -I/root/php-4.3.2/ext/gd/
-DPHP_ATOM_INC -I/root/php-4.3.2/include -I/root/php-4.3.2/main
-I/root/php-4.3.2 -I/root/php-4.3.2/Zend -I/usr/libs/openssl/include
-I/usr/libs/zlib/include -I/usr/libs/jpeg/include
-I/usr/libs/png/include -I/usr/X11R6/include
-I/usr/libs/freetype2/include -I/usr/libs/freetype2/include/freetype2
-I/usr/local/mnogosearch/include -I/usr/include/mysql
-I/usr/libs/ncurses/include -I/root/php-4.3.2/ext/xml/expat
-march=i686 -I/root/php-4.3.2/TSRM -march=i686
-I/usr/libs/ncurses/include/ncurses -c
/root/php-4.3.2/ext/gd/libgd/xbm.c -o ext/gd/libgd/xbm.o && echo >
ext/gd/libgd/xbm.lo
gcc -Iext/mnogosearch/ -I/root/php-4.3.2/ext/mnogosearch/
-DPHP_ATOM_INC -I/root/php-4.3.2/include -I/root/php-4.3.2/main
-I/root/php-4.3.2 -I/root/php-4.3.2/Zend -I/usr/libs/openssl/include
-I/usr/libs/zlib/include -I/usr/libs/jpeg/include
-I/usr/libs/png/include -I/usr/X11R6/include
-I/usr/libs/freetype2/include -I/usr/libs/freetype2/include/freetype2
-I/usr/local/mnogosearch/include -I/usr/include/mysql
-I/usr/libs/ncurses/include -I/root/php-4.3.2/ext/xml/expat
-march=i686 -I/root/php-4.3.2/TSRM -march=i686
-I/usr/libs/ncurses/include/ncurses -c
/root/php-4.3.2/ext/mnogosearch/php_mnogo.c -o
ext/mnogosearch/php_mnogo.o && echo > ext/mnogosearch/php_mnogo.lo
/root/php-4.3.2/ext/mnogosearch/php_mnogo.c: In function
`zif_udm_alloc_agent':
/root/php-4.3.2/ext/mnogosearch/php_mnogo.c:469: structure has no
member named `errcode'
/root/php-4.3.2/ext/mnogosearch/php_mnogo.c:520: structure has no
member named `errcode'
/root/php-4.3.2/ext/mnogosearch/php_mnogo.c: In function
`zif_udm_set_agent_param':
/root/php-4.3.2/ext/mnogosearch/php_mnogo.c:1002: structure has no
member named `vardir'
/root/php-4.3.2/ext/mnogosearch/php_mnogo.c:1002: structure has no
member named `vardir'
make: *** [ext/mnogosearch/php_mnogo.lo] Error 1
gcc -Iext/mnogosearch/ -I/root/php-4.3.2/ext/mnogosearch/
-DPHP_ATOM_INC -I/root/php-4.3.2/include -I/root/php-4.3.2/main
-I/root/php-4.3.2 -I/root/php-4.3.2/Zend -I/usr/libs/openssl/include
-I/usr/libs/zlib/include -I/usr/libs/jpeg/include
-I/usr/libs/png/include -I/usr/X11R6/include
-I/usr/libs/freetype2/include -I/usr/libs/freetype2/include/freetype2
-I/usr/local/mnogosearch/include -I/usr/include/mysql
-I/usr/libs/ncurses/include -I/root/php-4.3.2/ext/xml/expat
-march=i686 -I/root/php-4.3.2/TSRM -march=i686
-I/usr/libs/ncurses/include/ncurses -c
/root/php-4.3.2/ext/mnogosearch/php_mnogo.c -o
ext/mnogosearch/php_mnogo.o && echo > ext/mnogosearch/php_mnogo.lo
/root/php-4.3.2/ext/mnogosearch/php_mnogo.c: In function
`zif_udm_alloc_agent':
/root/php-4.3.2/ext/mnogosearch/php_mnogo.c:469: structure has no
member named `errcode'
/root/php-4.3.2/ext/mnogosearch/php_mnogo.c:520: structure has no
member named `errcode'
/root/php-4.3.2/ext/mnogosearch/php_mnogo.c: In function
`zif_udm_set_agent_param':
/root/php-4.3.2/ext/mnogosearch/php_mnogo.c:1002: structure has no
member named `vardir'
/root/php-4.3.2/ext/mnogosearch/php_mnogo.c:1002: structure has no
member named `vardir'
make: *** [ext/mnogosearch/php_mnogo.lo] Error 1
[root@localhost root]#
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24259&edit=1