>> In file included from midgard.c:23:
>> php_midgard.h:39:29: midgard/midgard.h: No such file or directory
> 
> Did you install a new midgard-lib? If it's not in a default location
 (/usr or /usr/local), try ./mkall /path/to/midgard-lib
I did. I also tried to 
ls -s /usr/local/midgard/include/midgard/* /usr/local/midgard/include/  

Then I got:
midgard.c: In function `php_if_mgd_auth_midgard':
midgard.c:724: `MGD_AUTH_NOT_CONNECTED' undeclared (first use in this 
function)
midgard.c:724: (Each undeclared identifier is reported only once
midgard.c:724: for each function it appears in.)
midgard.c:727: `MGD_AUTH_INVALID_NAME' undeclared (first use in this 
function)
midgard.c:730: `MGD_AUTH_SG_NOTFOUND' undeclared (first use in this 
function)
midgard.c:733: `MGD_AUTH_DUPLICATE' undeclared (first use in this function)
midgard.c:736: `MGD_AUTH_NOTFOUND' undeclared (first use in this function)
midgard.c:739: `MGD_AUTH_REAUTH' undeclared (first use in this function)
midgard.c:740: `MGD_AUTH_INVALID_PWD' undeclared (first use in this 
function)
midgard.c:725: warning: unreachable code at beginning of switch statement
make[1]: *** [midgard.slo] Error 1
make[1]: Leaving directory `/usr/src/apache/midgard-php4-1.4.1-7'
make: *** [all-recursive] Error 1

PS: Where should the midgard_user_func be defined? When I do
nm midgard.so |grep midgard I get:
00013fd0 T _midgard_getset_property
         U midgard_user_call_func
00039d58 T php_eval_midgard
.. (many mor but they are all T)
0003a4c8 T php_midgard_variable

I'm downlaoding a new cvs version now, how it works better.
Tarjei


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to