Problem in MCAL.

Pablo Sabatino pablos@elsitio.net
Thu, 8 Mar 2001 11:17:36 -0300


---------------------- multipart/alternative attachment
Hi!

 I'm trying to compile MCAL libraries on a Solaris 2.7
 I downloaded the following files:
 mcaldrivers-08.tar.gz
 libmcal-06.tar.gz

This versions are the Correct? for horde 1.3.3 !!!


 And I get the following error message trying to execute make:

 =
-------------------------------------------------------------------------=
--

 maitena:/export/home/pablo/borrar/libmcal/icap$ gmake
 flex icapscanner.lex
 gcc -O0 -Wall -g -I..   -c lex.icap_yy.c -o lex.icap_yy.o
 ld -r -o icap_driver.o icap.o icaproutines.o lex.icap_yy.o
 touch bootstrap.in
 =
-------------------------------------------------------------------------=
--
-
 ----
 maitena:/export/home/pablo/borrar/libmcal/mstore$ make
 gcc -O0 -Wall -g -I..  -c  mstore.c
 ld -r -o mstore_driver.o mstore.o
 touch bootstrap.in

 =
-------------------------------------------------------------------------=
--
-
 ----
 maitena:/export/home/pablo/borrar/libmcal$
 ./configure --with-mstore --with-icap
 rm: illegal option -- -
 rm: illegal option -- o
 rm: illegal option -- c
 rm: illegal option -- e
 usage: rm [-fiRr] file ...
 checking for driver mstore... yes
 checking for driver icap... yes
 creating cache ./config.cache
 checking for flex... flex
 checking for yywrap in -lfl... no
 checking for gcc... gcc
 checking whether the C compiler (gcc  ) works... yes
 checking whether the C compiler (gcc  ) is a cross-compiler... no
 checking whether we are using GNU C... yes
 checking whether gcc accepts -g... yes
 checking how to run the C preprocessor... gcc -E
 checking for ANSI C header files... yes
 checking for unistd.h... yes
 checking for working const... yes
 checking for size_t... yes
 checking whether struct tm is in sys/time.h or time.h... time.h
 checking for vprintf... yes
 checking for socket... no
 checking for strdup... yes
 checking for strtoul... yes
 updating cache ./config.cache
 creating ./config.status
 creating Makefile
 maitena:/export/home/pablo/borrar/libmcal$
 maitena:/export/home/pablo/borrar/libmcal$
 maitena:/export/home/pablo/borrar/libmcal$ make
 gcc -O0 -Wall -g -Iicap -Imstore    -I.  -c  mcal.c
 In file included from mcal.c:37:
 drivers.c:1: parse error before `-'
 drivers.c:1: stray '\' in program
 drivers.c:1: stray '\' in program
 mcal.c: In function `cal_getdriver':
 mcal.c:68: `driver_registry' undeclared (first use in this function)
 mcal.c:68: (Each undeclared identifier is reported only once
 mcal.c:68: for each function it appears in.)
 *** Error code 1
 make: Fatal error: Command failed for target `mcal.o'
 =
-------------------------------------------------------------------------=
--
-
 ----


 How can I solve this problem??



Pablo Sabatino
ICQ: 68737002

---------------------- multipart/alternative attachment--