Home  |  Linux  | Mysql  | PHP  | XML
From:besoleznyak at narod dot ru Date:Sun Apr  5 12:20:40 2009
Subject:#47900 [NEW]: fileinfo build fails
From: besoleznyak at narod dot ru
Operating system: linux gentoo
PHP version: 5.3CVS-2009-04-05 (CVS)
PHP Bug Type: Compile Failure
Bug description: fileinfo build fails

Description:
------------
In some last cvs-revisions (brunch PHP_5_3) I get build error. GCC
4.1.2

Reproduce code:
---------------
$ cvs up

$ ./configure --prefix=/mnt/hde2/php/build --enable-debug --enable-bcmath
--enable-ftp --enable-intl --enable-mbstring --enable-pcntl --enable-shmop
--enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem
--enable-sysvshm --enable-wddx --enable-zip --with-apxs2=/usr/sbin/apxs
--with-zlib --with-bz2 --with-curl --with-curlwrappers --with-gd
--with-t1lib --with-gettext --with-gmp --with-mhash --with-mysql
--with-pdo-pgsql --with-pdo-mysql --with-pgsql --with-readline
--with-xsl --with-pear

$ make

Actual result:
--------------
ext/fileinfo/libmagic/.libs/apprentice.o: In function
`set_test_type':
/mnt/hde2/php/php5/ext/fileinfo/libmagic/apprentice.c:567: undefined
reference to `file_looks_utf8'
ext/fileinfo/libmagic/.libs/ascmagic.o: In function `file_ascmagic':
/mnt/hde2/php/php5/ext/fileinfo/libmagic/ascmagic.c:90: undefined
reference to `file_encoding'
ext/fileinfo/libmagic/.libs/funcs.o: In function `file_buffer':
/mnt/hde2/php/php5/ext/fileinfo/libmagic/funcs.c:185: undefined
reference to `file_encoding'
/mnt/hde2/php/php5/ext/fileinfo/libmagic/funcs.c:224: undefined
reference to `file_trycdf'
ext/mbstring/libmbfl/mbfl/.libs/mbfl_convert.o:(.data+0x204):
undefined reference to `vtbl_cp850_wchar'
ext/mbstring/libmbfl/mbfl/.libs/mbfl_convert.o:(.data+0x208):
undefined reference to `vtbl_wchar_cp850'
ext/mbstring/libmbfl/mbfl/.libs/mbfl_encoding.o:(.data+0x128):
undefined reference to `mbfl_encoding_cp850'
ext/mbstring/libmbfl/mbfl/.libs/mbfl_ident.o:(.data+0x9c): undefined
reference to `vtbl_identify_cp850'
Zend/.libs/zend_execute_API.o: In function `init_executor':
/mnt/hde2/php/php5/Zend/zend_execute_API.c:127: undefined reference
to `zend_init_fpu'
Zend/.libs/zend_execute_API.o: In function `shutdown_executor':
/mnt/hde2/php/php5/Zend/zend_execute_API.c:338: undefined reference
to `zend_shutdown_fpu'
collect2: ld returned 1 exit status


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

Navigate in group php.bugs at sever news.php.net
Previous Next


Your recent visits
#36066 [Com]: Allowing member variables in interfaces



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants