#8591 [Opn->Csd]: Build fails at main/main.c because XtOffset got defined to something bogus.

From: Date: Fri, 02 Sep 2005 05:30:42 +0000
Subject: #8591 [Opn->Csd]: Build fails at main/main.c because XtOffset got defined to something bogus.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-84351@lists.php.net to get a copy of this message
ID: 8591 Updated by: sniper@php.net Reported By: alex at linuxhacker dot org -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: ARM/Linux (Titan VI) PHP Version: snapshot 4-200106111635 Previous Comments: ------------------------------------------------------------------------ [2001-07-03 04:51:48] derick@php.net No feedback ------------------------------------------------------------------------ [2001-06-12 17:13:23] sniper@php.net Could you please try the latest CVS snapshot from http://snaps.php.net/ to see if this is fixed or not? --Jani ------------------------------------------------------------------------ [2001-01-08 05:41:49] alex at linuxhacker dot org I believe the problem is that __arm is defined but LINUX is not, so main/php.h #defines XtOffset(p_type,field) to _Offsetof(p_type,field), and _Offsetof() is not defined on Linux, which causes lots of parse errors and a build failure. Simply commenting out the offending part of php.h allows the build to succeed, but this probably isn't the correct fix. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=8591&edit=1

« previous php.bugs (#84351) next »