Summary: | php-4.3.3 fails to compile with 2.6.x (issue with signal.h) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | SpanKY <vapier> |
Component: | [OLD] Server | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
SpanKY
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> thought i closed this already ... |