php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24259 gcc error while building ext/mnogosearch/php_mnogo.o
Submitted: 2003-06-19 11:53 UTC Modified: 2003-06-20 01:30 UTC
From: christian at freemails dot at Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.2 OS: Linux 2.4.16 (RedHat 7.3)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: christian at freemails dot at
New email:
PHP Version: OS:

 

 [2003-06-19 11:53 UTC] 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]#


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-20 01:30 UTC] gluke@php.net
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.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jan 14 23:00:01 2026 UTC