ID: 32069
User updated by: leonardo1_rw at yahoo dot com
Reported By: leonardo1_rw at yahoo dot com
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: linux red hat 7
PHP Version: 4.3.10
New Comment:
In file included from
/usr/local/php-4.3.10/ext/mysql/libmysql/violite.h:12,
from
/usr/local/php-4.3.10/ext/mysql/libmysql/violite.c:17:
/usr/local/php-4.3.10/ext/mysql/libmysql/my_net.h:23: warning: `struct
in_addr'
declared inside parameter list
/usr/local/php-4.3.10/ext/mysql/libmysql/my_net.h:23: warning: its
scope is only
this definition or declaration, which is probably not what you want.
/usr/local/php-4.3.10/ext/mysql/libmysql/my_net.h:23: warning:
parameter has inc
omplete type
In file included from
/usr/local/php-4.3.10/ext/mysql/libmysql/violite.c:17:
/usr/local/php-4.3.10/ext/mysql/libmysql/violite.h:94: warning: `struct
in_addr'
declared inside parameter list
In file included from
/usr/local/php-4.3.10/ext/mysql/libmysql/violite.c:19:
/usr/local/php-4.3.10/ext/mysql/libmysql/my_net.h:23: warning: `struct
in_addr'
declared inside parameter list
/usr/local/php-4.3.10/ext/mysql/libmysql/my_net.h:23: warning:
parameter has inc
omplete type
/usr/local/php-4.3.10/ext/mysql/libmysql/my_net.h:23: conflicting types
for `my_
inet_ntoa'
/usr/local/php-4.3.10/ext/mysql/libmysql/my_net.h:23: previous
declaration of `m
y_inet_ntoa'
In file included from /usr/include/netinet/ip.h:25,
from
/usr/local/php-4.3.10/ext/mysql/libmysql/violite.c:33:
/usr/include/netinet/in.h:133: warning: redefinition of `u_int'
/usr/include/sys/types.h:35: warning: `u_int' previously declared here
/usr/local/php-4.3.10/ext/mysql/libmysql/violite.c: In function
`vio_peer_addr':
/usr/local/php-4.3.10/ext/mysql/libmysql/violite.c:390: type of formal
parameter
1 is incomplete
/usr/local/php-4.3.10/ext/mysql/libmysql/violite.c: At top level:
/usr/local/php-4.3.10/ext/mysql/libmysql/violite.c:398: conflicting
types for `v
io_in_addr'
/usr/local/php-4.3.10/ext/mysql/libmysql/violite.h:94: previous
declaration of `
vio_in_addr'
make: *** [ext/mysql/libmysql/violite.lo] Error 1
Previous Comments:
------------------------------------------------------------------------
[2005-02-23 00:23:07] [EMAIL PROTECTED]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2005-02-22 23:29:20] leonardo1_rw at yahoo dot com
Description:
------------
I'm working with red hat 7, i tried to compile php 4.3.10 but it
throughs a couple of errors when working with the file violite.c. The
errors seem to be absurds. Are related with the formal parameters of a
function.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32069&edit=1