Hi all,

When I compile the latest CVS, it gives the following error:

$ ./configure --with-mysql --with-apxs --with-midgard
[...]
$ make
[...]
make[1]: Entering directory
`/home/fery/download/cvs/midgard/php/midgard'
gcc -g -O2 -DLINUX=22 -DEAPI -DTARGET="apache" -I/usr/include/db1
-DDEV_RANDOM=/dev/random -DUSE_HSREGEX -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O1 -I.. -I. -I/usr/include/apache-1.3 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include  -I/usr/include/mysql  
-c -o midgard.o midgard.c
midgard/mgd_basic.c: In function `php3_mgd_auth_midgard':
midgard/mgd_basic.c:261: too few arguments to function `mgd_auth'
make[1]: *** [midgard.o] Error 1

The relevant code in midgard/mgd_basic.c:

     252         if (username->value.str.len)
     253                 u = ap_pstrdup(MGD_RCFG->pool,
username->value.str.val);
     254         else
     255                 u = "";
     256         if (password->value.str.len)
     257                 p = ap_pstrdup(MGD_RCFG->pool,
password->value.str.val);
     258         else
     259                 p = "";
     260
     261         rv = mgd_auth(MGD_ENV.mgd, u, p);
     262         if (rv >= 0 && sc) {

What to do?
Fery

PS: I think I will choose the .deb packages instead...


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

Reply via email to