Bug #60490 [Ana->Fbk]: PHP 5.3.x will not compile gcc3.3.4

From: Date: Wed, 05 Oct 2016 14:40:39 +0000
Subject: Bug #60490 [Ana->Fbk]: PHP 5.3.x will not compile gcc3.3.4
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-204484@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60490&edit=1 ID: 60490 Updated by: cmb@php.net Reported by: jeepee at gids dot nl Summary: PHP 5.3.x will not compile gcc3.3.4 -Status: Analyzed +Status: Feedback Type: Bug Package: *Compile Issues Operating System: Linux (Slackware 10) PHP Version: 5.3.8 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Do we still have to worry about GCC 3 nowadays? Previous Comments: ------------------------------------------------------------------------ [2013-11-25 19:56:28] jann+php at thejh dot net Seems like libowfat-dev might be causing it: $ grep -R DNS_T_SOA /usr/include /usr/include/diet/dns.h:#define DNS_T_SOA "\0\6" /usr/include/dns.h:#define DNS_T_SOA "\0\6" $ dpkg -S /usr/include/dns.h libowfat-dev: /usr/include/dns.h As a workaround, edit dns.c and add a "#undef HAVE_DNS_H" in front of "#if HAVE_SYS_SOCKET_H", that seems to work for me. ------------------------------------------------------------------------ [2013-11-25 17:42:47] jann+php at thejh dot net At git commit a37ff1fa4bb149dc81fc812d03cdf7685c499403 (2013-11-15), I have the same problem on a Debian wheezy box. ------------------------------------------------------------------------ [2013-10-17 23:16:40] bjori@php.net This is a very old bug report... Is this still a problem in currently maintained versions? ------------------------------------------------------------------------ [2012-01-27 14:22:25] jeepee at gids dot nl Unfortunately this is not in my configuration : libdjbdns It looks like the CASE switch is not compatible with gcc 3.3.4 anymore in 5.2.x it was.. ------------------------------------------------------------------------ [2012-01-26 14:12:32] andrew dot nimmo at gmail dot com I can duplicate this on Linux, Debian 5 (lenny). There appears to be a conflict with reassignment of #define's for, for example, DNS_T_A when libdjbdns is installed and /usr/include/dns.c contains non-integer defines. On Debian 5, removing the package libdjbdns-dev resolves the issue. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=60490 -- Edit this bug report at https://bugs.php.net/bug.php?id=60490&edit=1

« previous php.bugs (#204484) next »