Re: Mcal problems! Thanks in advance!!!
| From: | Mark Musone | Date: | Fri, 26 Nov 1999 23:02:09 +0000 |
| Subject: | Re: Mcal problems! Thanks in advance!!! | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-13161@lists.php.net to get a copy of this message | ||
What platform are you running on?
The latest CVS of the libmcal sources
(specifically, the mstore driver)
should not have those warnings anymore..
Regardless, all those errors and warnings are not fatal.
The first set of warnings for mstore are strictly
warnings.
The second set of error in the libmcal directory are
for compiling the tester program, which is not necessary.
The only important thing is that you end up with libmcal.a,
which you should have.
Once libmcal.a is there, you can just compile php with the configure
argument of --with-mcal=/path/to/libmcal
Mark
>
> 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
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>