Mcal problems! Thanks in advance!!!
| From: | Eric Wang | Date: | Fri, 26 Nov 1999 20:50:41 +0000 |
| Subject: | Mcal problems! Thanks in advance!!! | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13156@lists.php.net to get a copy of this message | ||
Hi, man
dose anybody know the mcal ?
I have tried it for zillions times, and failed zillions
times.
I can't get mcal through.
I download the mcal 0.4 and driver 0.4
put the driver directory /icap and /mstore under the
/libmcal
1. go to /icap, make it. it is normal.
2. go to /mstore, make it, it has some warns.
gcc -O0 -Wall -g -I.. -c mstore.c -o mstore.o
mstore.c: In function `mstore_validuser':
mstore.c:103: warning: implicit declaration of function
`crypt'
mstore.c:103: warning: passing arg 1 of `strcmp' makes
pointer from integer with
out a cast
mstore.c: In function `mstore_snooze':
mstore.c:419: warning: too many arguments for format
ld -r -o mstore_driver.o mstore.o
touch bootstrap.in
3. go back to the /libmcal
./configure --with-icap --with-mstore
make
then I got the fatal error:
rm -f libmcal.a
ar r libmcal.a mcal.o datetime.o icap/icap_driver.o
mstore/mstore_driver.o
gcc -Wall -g -o tester tester.o libmcal.a
libmcal.a(mstore_driver.o): In function
`mstore_validuser':
/home/test/Libmcal/libmcal/mstore/mstore.c:103: undefined
reference to `crypt'
collect2: ld returned 1 exit status
make: *** [tester] Error 1
I have checked the mstore.c code, can't find anything
wrong with it.
could u tell me what is wrong with it, it drive me nuts.
anyway where can get more documents about it?
thanks millions!
Eric