[PHP-DEV] Bug #8591 Updated: Build fails at main/main.c because XtOffset got defined to something bogus. From: alex <email protected>
Date: 07/03/01

ID: 8591
User Update by: alex <email protected>
Old-Status: Closed
Status: Open
Bug Type: Compile Failure
Operating system: ARM/Linux (Titan VI)
PHP Version: snapshot 4-200106111635
Description: Build fails at main/main.c because XtOffset got defined to something bogus.

I just tried it with what appears to be the latest snapshot available at snaps.php.net (4-200106111635)- 6th of July? It still has the bug, my original description applies exactly. Sorry for not replying earlier but I didn't have access to the machine at the time, then I forgot about it until you sent the reminder just now.

Previous Comments:
---------------------------------------------------------------------------

[2001-07-03 04:51:48] derick <email protected>

No feedback

---------------------------------------------------------------------------

[2001-06-12 17:13:23] sniper <email protected>

Could you please try the latest CVS snapshot from
http://snaps.php.net/ to see if this is fixed or not?

--Jani

---------------------------------------------------------------------------

[2001-05-23 13:53:24] sniper <email protected>

Could you please try the latest CVS snapshot from
http://snaps.php.net/ to see if this is fixed now.

--Jani

---------------------------------------------------------------------------

[2001-01-08 05:41:49] alex <email protected>

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.

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=8591

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>