Matthias Gelbhardt wrote:
>
> Hi!
>
> Is there a solution for the following error I got compiling the PHP4-Module?
>
> gcc -I. -I/home/mad/midgard/midgard-php4-1.4.1-1/
> -I/home/mad/midgard/midgard-php4-1.4.1-1/main
> -I/home/mad/midgard/midgard-php4-1.4.1-1 -I/usr/include/php4
> -I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM
> -I/usr/include/apache-1.3 -g -O2 -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -ggdb -Wall -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -c article.c -fPIC -DPIC -o article.lo
> article.c: In function `php_if_mgd_is_article_owner':
> article.c:27: warning: implicit declaration of function `mgd_rcfg'
Does php_config.h define HAVE_MIDGARD as 1?
> article.c:27: warning: implicit declaration of function `mgd_set_errno'
There's something not going right with inclusion. article.c includes
mgd_internal.h,
which includes php_midgard.h, which includes php_config.h and
midgard/midgard.h.
Try 'gcc -E article.c > tmpfile'. You'll see a couple of include files
missing
(php and apache include files) but the resulting file should declare
`mgd_rcfg'
and `mgd_set_errno' before they're used.
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]