Bug 236664

Summary: Cannot compile apr applications, apr-i386.h contains x86_64'ishs typedef
Product: Red Hat Enterprise Linux 4 Reporter: Chmouel Boudjnah <cboudjnah>
Component: aprAssignee: Joe Orton <jorton>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-17 08:19:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Type fixes on 32 none

Description Chmouel Boudjnah 2007-04-17 01:36:59 UTC
Description of problem:

Cannot compile apr applications, apr-i386 contains x86_64'ishs

Version-Release number of selected component (if applicable):

apr-devel-1.2.7-11

How reproducible:

compile PHP or anitything that require apr.h

Will just going to attach patch which should explain everything

Comment 1 Chmouel Boudjnah 2007-04-17 01:36:59 UTC
Created attachment 152734 [details]
Type fixes on 32

Comment 2 Joe Orton 2007-04-17 08:19:48 UTC
Thanks for contacting us.

This is not a bug; it's an expect part of LFS support in APR.

To build applications against APR, you need to pass the output of

 `apr-1-config --cppflags --cflags --includes`

to the compiler.  This will ensure the off64_t type is defined.  Recent versions
of PHP do this automatically.