php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56519 Compilation failure in apc_cache.c
Submitted: 2005-09-02 02:27 UTC Modified: 2005-09-02 03:48 UTC
From: gamr at gamrdev dot com Assigned:
Status: Suspended Package: APC (PECL)
PHP Version: 5_1 CVS-2005-09-02 (dev) OS: Gentoo Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
4 + 8 = ?
Subscribe to this entry?

 
 [2005-09-02 02:27 UTC] gamr at gamrdev dot com
Description:
------------
this is using apc AND php both from cvs inside the last hour, php is also a threadsafe build incase that helps

apc configured with
./configure --enable-apc=shared --enable-apc-sem

compile results
 gcc -I. -I/tmp/recompile_webserver/apc -DPHP_ATOM_INC -I/tmp/recompile_webserver/apc/include -I/tmp/recompile_webserver/apc/main -I/tmp/recompile_webserver/apc -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -Os -march=athlon-xp -pipe -c /tmp/recompile_webserver/apc/apc_cache.c  -fPIC -DPIC -o .libs/apc_cache.o
/tmp/recompile_webserver/apc/apc_cache.c: In function `apc_cache_user_insert':
/tmp/recompile_webserver/apc/apc_cache.c:424: warning: initialization makes integer from pointer without a cast
/tmp/recompile_webserver/apc/apc_cache.c:436: error: `tsrm_ls' undeclared (first use in this function)
/tmp/recompile_webserver/apc/apc_cache.c:436: error: (Each undeclared identifier is reported only once
/tmp/recompile_webserver/apc/apc_cache.c:436: error: for each function it appears in.)
/tmp/recompile_webserver/apc/apc_cache.c:462: warning: comparison between pointer and integer
gmake: *** [apc_cache.lo] Error 1

php -v results
PHP 5.1.0-dev (cgi-fcgi) (built: Oct  3 2005 16:17:57)
Copyright (c) 1997-2005 The PHP Group
Zend Engine v2.1.0-dev, Copyright (c) 1998-2005 Zend Technologies

this system was working fine about a week ago until i went to upgrade things today again.


Cameron


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-02 03:48 UTC] rasmus@php.net
I have no plans to support ZTS-mode builds on UNIX.  If someone else wants to do it, great, but I don't have the cycles to support this.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 05:01:29 2024 UTC