From:             
Operating system: AIX 6.1
PHP version:      5.3.9
Package:          Compile Failure
Bug Type:         Bug
Bug description:compilation of main/main.c stops: 'zend_stream' has no member 
named 'mmap64'

Description:
------------
Compilation of main/main.c fails, the error message is:

/usr/local/src/php-5.3.9/main/main.c:1230: error: 'zend_stream' has no
member named 'mmap64'
/usr/local/src/php-5.3.9/main/main.c:1230: error: 'zend_stream' has no
member named 'mmap64'
/usr/local/src/php-5.3.9/main/main.c:1239: error: 'zend_stream' has no
member named 'mmap64'
/usr/local/src/php-5.3.9/main/main.c:1240: error: 'zend_stream' has no
member named 'mmap64'

The compilation went with largefile support (-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES), which caused sys/mman.h to define
mmap as mmap64; I suppose it would work, if 

1. I compiled without largefile support (I don't like this idea)
2. The member 'mmap' of 'struct _zend_stream' had a less problematic name
('zmmap' for example)
3. Header 'zend_stream.h' included 'sys/mman.h'
4. I predefined 'mmap' as 'mmap64': -Dmmap=mmap64
5. I compiled in 64 bits (I'm afraid to do so, to be frank)

Platform: AIX 6.1 (oslevel -r = 6100-05); gcc (gcc --version = 4.4.5)


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60740&edit=1
-- 
Try a snapshot (PHP 5.4):            
https://bugs.php.net/fix.php?id=60740&r=trysnapshot54
Try a snapshot (PHP 5.3):            
https://bugs.php.net/fix.php?id=60740&r=trysnapshot53
Try a snapshot (trunk):              
https://bugs.php.net/fix.php?id=60740&r=trysnapshottrunk
Fixed in SVN:                        
https://bugs.php.net/fix.php?id=60740&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60740&r=needdocs
Fixed in release:                    
https://bugs.php.net/fix.php?id=60740&r=alreadyfixed
Need backtrace:                      
https://bugs.php.net/fix.php?id=60740&r=needtrace
Need Reproduce Script:               
https://bugs.php.net/fix.php?id=60740&r=needscript
Try newer version:                   
https://bugs.php.net/fix.php?id=60740&r=oldversion
Not developer issue:                 
https://bugs.php.net/fix.php?id=60740&r=support
Expected behavior:                   
https://bugs.php.net/fix.php?id=60740&r=notwrong
Not enough info:                     
https://bugs.php.net/fix.php?id=60740&r=notenoughinfo
Submitted twice:                     
https://bugs.php.net/fix.php?id=60740&r=submittedtwice
register_globals:                    
https://bugs.php.net/fix.php?id=60740&r=globals
PHP 4 support discontinued:          
https://bugs.php.net/fix.php?id=60740&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=60740&r=dst
IIS Stability:                       
https://bugs.php.net/fix.php?id=60740&r=isapi
Install GNU Sed:                     
https://bugs.php.net/fix.php?id=60740&r=gnused
Floating point limitations:          
https://bugs.php.net/fix.php?id=60740&r=float
No Zend Extensions:                  
https://bugs.php.net/fix.php?id=60740&r=nozend
MySQL Configuration Error:           
https://bugs.php.net/fix.php?id=60740&r=mysqlcfg

Reply via email to