# ext/mysqli broken

- Thread: https://externals.io/message/8820
- Original archive: https://news-web.php.net/php.internals/8820
- Started by Adam Maccabee Trachtenberg on 2004-03-29T14:28:06+00:00
- Messages: 6
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #8820 — Adam Maccabee Trachtenberg — 2004-03-29T14:28:06+00:00

URL: https://externals.io/message/8820#8820

> ccache gcc -Iext/mysqli/ -I/usr/src/php/php5/ext/mysqli/ -DPHP_ATOM_INC
> -I/usr/src/php/php5/include -I/usr/src/php/php5/main -I/usr/src/php/php5
> -I/usr/src/php/php5/Zend -I/usr/include/libxml2 -I/usr/X11R6/include
> -I/usr/include/freetype2 -I/usr/local/mysql/include/mysql
> -I/usr/src/php/php5/TSRM -g -Wall -c
> /usr/src/php/php5/ext/mysqli/mysqli_prop.c  -fPIC -DPIC -DPIC -o
> ext/mysqli/mysqli_prop.o
> /usr/src/php/php5/ext/mysqli/mysqli_prop.c: In function `stmt_num_rows_read':
> /usr/src/php/php5/ext/mysqli/mysqli_prop.c:191: error: invalid type
> argument of `->'
> /usr/src/php/php5/ext/mysqli/mysqli_prop.c:191: error: invalid type
> argument of `->'
> /usr/src/php/php5/ext/mysqli/mysqli_prop.c:191: error: invalid type
> argument of `->'
> make: *** [ext/mysqli/mysqli_prop.lo] Error 1

Try upgrading to the latest MySQL 4.1.x snapshot. There were some
changes made in the last week or two to the MySQL source, so Georg
modified the extension.

-adam

-- 
adam@trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!

---

## #8821 — Sebastian Bergmann — 2004-03-29T15:00:08+00:00

URL: https://externals.io/message/8820#8821 · In reply to: #8820

Adam Maccabee Trachtenberg wrote:
> Try upgrading to the latest MySQL 4.1.x snapshot.

  The log I posted was from a build against today's BitKeeper checkout.

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/

---

## #8822 — Christian Stocker — 2004-03-29T19:05:11+00:00

URL: https://externals.io/message/8820#8822

> Adam Maccabee Trachtenberg wrote:
> 
> > […]
> 
> 
>   The log I posted was from a build against today's BitKeeper checkout.

Do you have any "older" mysql header/libraries lying around in /usr/ or 
the other usual places? I had the same problem a few days ago. 
(re)moving them helped...

chregu

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  chregu@bitflux.ch  |  gnupg-keyid 0x5CE1DECB

---

## #8823 — Sebastian Bergmann — 2004-03-29T19:24:46+00:00

URL: https://externals.io/message/8820#8823 · In reply to: #8822

Christian Stocker wrote:
> Do you have any "older" mysql header/libraries lying around in /usr/ or
> the other usual places?

  No, but Georg told me that the ext/mysqli is not yet patched to reflect
  recent changes in libmysqli. He will commit these patches soonish.

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/

---

## #8827 — John Coggeshall — 2004-03-30T10:35:06+00:00

URL: https://externals.io/message/8820#8827 · In reply to: #8820

> Try upgrading to the latest MySQL 4.1.x snapshot. There were some
> changes made in the last week or two to the MySQL source, so Georg
> modified the extension.

Nope. Tonight's snapshot doesn't work, either.

John


-- 
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-
John Coggeshall                   http://www.coggeshall.org/
The PHP Developer's Handbook    http://www.php-handbook.com/
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=

---

## #8828 — Sebastian Bergmann — 2004-03-30T10:38:49+00:00

URL: https://externals.io/message/8820#8828 · In reply to: #8827

John Coggeshall wrote:
> Nope. Tonight's snapshot doesn't work, either.

  Georg will commit the changes (with which everything builds fine here)
  after MySQL 4.1.2 was released.

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/
