Problems compiling APC statically
| From: | Kevin Menard, Jr. | Date: | Fri, 12 Sep 2003 23:30:11 +0000 |
| Subject: | Problems compiling APC statically | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-7777@lists.php.net to get a copy of this message | ||
Hi,
I've been having problems compiling APC statically with both PHP 4.3.2 and 4.3.3, tested on an x86 Gentoo Linux system and a MacOS X 10.2.6 system. When I run make, I get the following:
main/internal_functions.c:50: error: `phpext_apc_ptr' undeclared here (not in a function)
main/internal_functions.c:50: error: initializer element is not constant
main/internal_functions.c:50: error: (near initialization for `php_builtin_extensions[9]')
make: *** [main/internal_functions.lo] Error 1
with a whole bunch of similar errors for other extensions above the APC one here. If I don't compile with APC, they all go away.
Has anyone else seen errors such as this and know how to fix them? Any help would be appreciated.
Thanks,
Kevin