php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47900 fileinfo build fails
Submitted: 2009-04-05 12:20 UTC Modified: 2009-04-06 17:40 UTC
From: besoleznyak at narod dot ru Assigned: pajoye (profile)
Status: Not a bug Package: Compile Failure
PHP Version: 5.3CVS-2009-04-05 (CVS) OS: linux gentoo
Private report: No CVE-ID: None
 [2009-04-05 12:20 UTC] besoleznyak at narod dot ru
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-05 13:23 UTC] pajoye@php.net
Please try buildconf first, then run configure --... make clean make
 [2009-04-06 17:37 UTC] bespoleznyak at narod dot ru
Yes, after buildconf biulding successfully completed.
Thank you. I'm sorry :( .
 [2009-04-06 17:40 UTC] pajoye@php.net
No bug > bogus
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 19:01:28 2024 UTC