|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-02-22 23:29 UTC] 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 11:00:01 2025 UTC |
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