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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alex at linuxhacker dot org
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 08:01:27 2025 UTC