php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8591 Build fails at main/main.c because XtOffset got defined to something bogus.
Submitted: 2001-01-08 05:41 UTC Modified: 2005-09-02 07:30 UTC
From: alex at linuxhacker dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: snapshot 4-200106111635 OS: ARM/Linux (Titan VI)
Private report: No CVE-ID: None
 [2001-01-08 05:41 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-12 17:13 UTC] 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-07-03 04:51 UTC] derick@php.net
No feedback
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 05:01:28 2024 UTC