PHP 4.something with modules -- compile failes

Stephen Evanchik <[email protected]>
Newsgroups gmane.linux.aurora.devel
Message-ID <[email protected]>
Hello everyone,


I have Aurora 0.42 on my U10 here and am having trouble compiling some of the 
items in the ext/ directory of my PHP 4.something source dir. A sample of the 
errors:

php-4.3.0/ext/pam/pam.c:75: `zif_pam_getenvlist' undeclared here (not in a 
function)
php-4.3.0/ext/pam/pam.c:75: initializer element is not constant
php-4.3.0/ext/pam/pam.c:75: (near initialization for 
`pam_functions[13].handler')

is emitted for the following code:

function_entry pam_functions[] = {
    PHP_FE(pam_getenvlist, NULL) /* This line here */
    {NULL,NULL,NULL}
};


Can anyone else confirm this behavior with the other modules. php_pam isn't a 
standard module, but I tried compiling the imap module in ext/imap with the 
same results.

I remember seeing some other posts about PHP ( I think...) .

Stephen Evanchik
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.