php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56734 compile error
Submitted: 2005-12-19 05:01 UTC Modified: 2006-02-14 15:44 UTC
From: m dot islam at accesstel dot net Assigned:
Status: Not a bug Package: Fileinfo (PECL)
PHP Version: 4.3.11 OS: Redhat Enterise Linux ES3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: m dot islam at accesstel dot net
New email:
PHP Version: OS:

 

 [2005-12-19 05:01 UTC] m dot islam at accesstel dot net
Description:
------------
running: make
/bin/sh /var/tmp/pear-build-root/Fileinfo-1.0.2/libtool --mode=compile gcc  -I. -I/tmp/tmp20l7cD/Fileinfo-1.0.2 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/Fileinfo-1.0.2/include -I/var/tmp/pear-build-root/Fileinfo-1.0.2/main -I/tmp/tmp20l7cD/Fileinfo-1.0.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend  -DHAVE_CONFIG_H  -g -O2   -c /tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c -o fileinfo.lo
gcc -I. -I/tmp/tmp20l7cD/Fileinfo-1.0.2 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/Fileinfo-1.0.2/include -I/var/tmp/pear-build-root/Fileinfo-1.0.2/main -I/tmp/tmp20l7cD/Fileinfo-1.0.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -DHAVE_CONFIG_H -g -O2 -c /tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c  -fPIC -DPIC -o fileinfo.lo
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c: In function `zm_startup_finfo':
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c:196: `MAGIC_PRESERVE_ATIME' undeclared (first use in this function)
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c:196: (Each undeclared identifier is reported only once
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c:196: for each function it appears in.)
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c:197: `MAGIC_RAW' undeclared (first use in this function)
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c: In function `zif_finfo_set_flags':
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c:328: void value not ignored as it ought to be
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c: In function `_php_finfo_get_type':
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c:358: void value not ignored as it ought to be
/tmp/tmp20l7cD/Fileinfo-1.0.2/fileinfo.c:402: void value not ignored as it ought to be
make: *** [fileinfo.lo] Error 1
`make' failed



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-14 15:44 UTC] mike@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PECL.

Dup of bug #6284
 [2007-05-28 10:06 UTC] janjaap at forest dot com
Hi there!

I am having the same issue!

<stefan> hm.. i dont know why its returning this error
 <stefan> [16:54] <stefan> /root/Fileinfo-1.0.4/fileinfo.c: In function `zif_finfo_set_flags':
 <stefan> [16:54] <stefan> /root/Fileinfo-1.0.4/fileinfo.c:339: error: void value not ignored as it ought to be
 <stefan> [16:54] <stefan> /root/Fileinfo-1.0.4/fileinfo.c: In function `_php_finfo_get_type':
 <stefan> [16:54] <stefan> /root/Fileinfo-1.0.4/fileinfo.c:369: error: void value not ignored as it ought to be
 <stefan> [16:54] <stefan> /root/Fileinfo-1.0.4/fileinfo.c:413: error: void value not ignored as it ought to be

http://www.forest.com/?page=phpinfo

Best Regards,
Jan Jaap
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 08:01:29 2024 UTC