# 5.1.0 PDO fails to make

- Thread: https://externals.io/message/18768
- Original archive: https://news-web.php.net/php.internals/18768
- Started by Kevin Waterson on 2005-09-11T06:44:16+00:00
- Messages: 5
- 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

---

## #18768 — Kevin Waterson — 2005-09-11T06:44:16+00:00

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

FC1 and FC4
Using php5-200509110430
gcc-3.3.2

/home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c: In function `pdo_mysql_stmt_execute':
/home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:121: error: `STMT_ATTR_UPDATE_MAX_LENGTH' undeclared (first use in this function)
/home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:121: error: (Each undeclared identifier is reported only once
/home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:121: error: for each function it appears in.)
/home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:126: error: `MAX_MEDIUMINT_WIDTH' undeclared (first use in this function)
/home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:129: error: `MAX_INT_WIDTH' undeclared (first use in this function)
/home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:132: error: `MAX_BIGINT_WIDTH' undeclared (first use in this function)
/home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:135: error: `MAX_TINYINT_WIDTH' undeclared (first use in this function)
/home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:138: error: `MAX_SMALLINT_WIDTH' undeclared (first use in this function)
/home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c: In function `pdo_mysql_stmt_param_hook':
/home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:311: warning: assignment from incompatible pointer type
/home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:316: warning: assignment from incompatible pointer type
make: *** [ext/pdo_mysql/mysql_statement.lo] Error 1


-- 
"Democracy is two wolves and a lamb voting on what to have for lunch. 
Liberty is a well-armed lamb contesting the vote."

---

## #18769 — Wez Furlong — 2005-09-11T07:20:29+00:00

URL: https://externals.io/message/18768#18769 · In reply to: #18768

What version of the mysql libraries do you have?

--Wez.


> FC1 and FC4
> Using php5-200509110430
> gcc-3.3.2
> 
> /home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c: In function `pdo_mysql_stmt_execute':
> /home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:121: error: `STMT_ATTR_UPDATE_MAX_LENGTH' undeclared (first use in this function)
> /home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:121: error: (Each undeclared identifier is reported only once
> /home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:121: error: for each function it appears in.)
> /home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:126: error: `MAX_MEDIUMINT_WIDTH' undeclared (first use in this function)
> /home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:129: error: `MAX_INT_WIDTH' undeclared (first use in this function)
> /home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:132: error: `MAX_BIGINT_WIDTH' undeclared (first use in this function)
> /home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:135: error: `MAX_TINYINT_WIDTH' undeclared (first use in this function)
> /home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:138: error: `MAX_SMALLINT_WIDTH' undeclared (first use in this function)
> /home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c: In function `pdo_mysql_stmt_param_hook':
> /home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:311: warning: assignment from incompatible pointer type
> /home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c:316: warning: assignment from incompatible pointer type
> make: *** [ext/pdo_mysql/mysql_statement.lo] Error 1
> 
> 
> --
> "Democracy is two wolves and a lamb voting on what to have for lunch.
> Liberty is a well-armed lamb contesting the vote."

---

## #18770 — Kevin Waterson — 2005-09-11T07:25:51+00:00

URL: https://externals.io/message/18768#18770 · In reply to: #18769

This one time, at band camp, Wez Furlong <kingwez@gmail.com> wrote:

> What version of the mysql libraries do you have?

MySQL 5.0.0-dev

Kevin
-- 
"Democracy is two wolves and a lamb voting on what to have for lunch. 
Liberty is a well-armed lamb contesting the vote."

---

## #18771 — Wez Furlong — 2005-09-11T07:32:14+00:00

URL: https://externals.io/message/18768#18771 · In reply to: #18770

PDO_MYSQL only supports up to version 4 (the stable releases).
I've had a long day, so I don't feel particularly motivated to add
mysql 5 support, and probably won't for PHP 5.1.

--Wez.



> This one time, at band camp, Wez Furlong <kingwez@gmail.com> wrote:
> 
> > […]
> 
> MySQL 5.0.0-dev
> 
> Kevin
> --
> "Democracy is two wolves and a lamb voting on what to have for lunch.
> Liberty is a well-armed lamb contesting the vote."

---

## #18772 — Kevin Waterson — 2005-09-11T08:17:01+00:00

URL: https://externals.io/message/18768#18772 · In reply to: #18771

This one time, at band camp, Wez Furlong <kingwez@gmail.com> wrote:

> PDO_MYSQL only supports up to version 4 (the stable releases).
> I've had a long day, so I don't feel particularly motivated to add
> mysql 5 support, and probably won't for PHP 5.1.

sounds good to me

Kevin

-- 
"Democracy is two wolves and a lamb voting on what to have for lunch. 
Liberty is a well-armed lamb contesting the vote."
