Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27834 - php-4.3.3 fails to compile with 2.6.x (issue with signal.h)
Summary: php-4.3.3 fails to compile with 2.6.x (issue with signal.h)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-02 20:47 UTC by SpanKY
Modified: 2003-10-28 22:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2003-09-02 20:47:11 UTC
ext/mysql/php_mysql.c: In function `_close_mysql_link':
ext/mysql/php_mysql.c:288: `SIGPIPE' undeclared (first use in this function)
ext/mysql/php_mysql.c:288: (Each undeclared identifier is reported only once
ext/mysql/php_mysql.c:288: for each function it appears in.)
ext/mysql/php_mysql.c:288: `SIG_IGN' undeclared (first use in this function)
ext/mysql/php_mysql.c:288: warning: assignment makes pointer from integer
without a cast
ext/mysql/php_mysql.c: In function `_close_mysql_plink':
ext/mysql/php_mysql.c:303: `SIGPIPE' undeclared (first use in this function)
ext/mysql/php_mysql.c:303: `SIG_IGN' undeclared (first use in this function)
ext/mysql/php_mysql.c:303: warning: assignment makes pointer from integer
without a cast

in php_mysql.c the include file is contained by a '#ifdef HAVE_SIGNAL_H' but the
main/php_config.h has '/* #undef HAVE_SIGNAL_H */' ?

the config.log has this:
configure:13328: checking for signal.h
configure:13338: gcc -E  conftest.c >/dev/null 2>conftest.out
In
Comment 1 SpanKY gentoo-dev 2003-09-02 20:47:11 UTC
ext/mysql/php_mysql.c: In function `_close_mysql_link':
ext/mysql/php_mysql.c:288: `SIGPIPE' undeclared (first use in this function)
ext/mysql/php_mysql.c:288: (Each undeclared identifier is reported only once
ext/mysql/php_mysql.c:288: for each function it appears in.)
ext/mysql/php_mysql.c:288: `SIG_IGN' undeclared (first use in this function)
ext/mysql/php_mysql.c:288: warning: assignment makes pointer from integer
without a cast
ext/mysql/php_mysql.c: In function `_close_mysql_plink':
ext/mysql/php_mysql.c:303: `SIGPIPE' undeclared (first use in this function)
ext/mysql/php_mysql.c:303: `SIG_IGN' undeclared (first use in this function)
ext/mysql/php_mysql.c:303: warning: assignment makes pointer from integer
without a cast

in php_mysql.c the include file is contained by a '#ifdef HAVE_SIGNAL_H' but the
main/php_config.h has '/* #undef HAVE_SIGNAL_H */' ?

the config.log has this:
configure:13328: checking for signal.h
configure:13338: gcc -E  conftest.c >/dev/null 2>conftest.out
In·file·included from /usr/include/asm/sigcontext.h:4,
                 from /usr/include/bits/sigcontext.h:28,
                 from /usr/include/signal.h:307,
                 from configure:13334:
/usr/include/linux/compiler.h:56: warning: `__attribute_used__' redefined
/usr/include/sys/cdefs.h:169: warning: this is the location of the previous
definition
configure: failed program was:
#line 13333 "configure"
#include "confdefs.h"
#include <signal.h>
Comment 2 SpanKY gentoo-dev 2003-10-28 22:35:20 UTC
thought i closed this already ...