[openmamba-users-it] problema compilazione libmcal

Silvan Calarco silvan.calarco a mambasoft.it
Mer 27 Giu 2007 10:01:50 CEST


Ciao Tiziana,
prova ad applicare la patch allegata, l'ho trovata qua:

http://ftp.riken.go.jp/Linux/gentoo/dev-libs/libmcal/files/

Silvan

Alle martedì 26 giugno 2007, Titti a Gmail ha scritto:
> Incollo l'ultima parte dell'output risultato dalla compilazione di
> libmcal 0.7 ... avete idea di come posso risolvere?
>
> creating Makefile
> + CFLAGS='-O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro'
> + export CFLAGS
> + CXXFLAGS='-O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro'
> + export CXXFLAGS
> + FFLAGS='-O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro'
> + export FFLAGS
> + /usr/bin/make
> gcc -O0 -Wall -g  -I.    -c -o mcal.o mcal.c
> gcc -O0 -Wall -g  -I.    -c -o datetime.o datetime.c
> flex icalscanner.lex
> gcc -O0 -Wall -g  -I.    -c -o lex.ical_yy.o lex.ical_yy.c
> icalscanner.lex: In function 'ical_usebuf':
> icalscanner.lex:39: error: 'INITIAL' undeclared (first use in this
> function) icalscanner.lex:39: error: (Each undeclared identifier is
> reported only once icalscanner.lex:39: error: for each function it appears
> in.)
> make: *** [lex.ical_yy.o] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.3618 (%build)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.3618 (%build)
> ERROR: rpmbuild è terminato con il codice d'errore `1'



-- 
mambaSoft di Silvan Calarco - http://www.mambasoft.it
openmamba GNU/Linux development - http://www.openmamba.org
-------------- parte successiva --------------
--- libmcal/icalscanner.lex	2003-01-28 09:45:21.000000000 -0800
+++ libmcal/icalscanner.lex.new	2006-04-01 22:47:58.515410944 -0800
@@ -32,13 +32,6 @@
  */
 
 #include "icalroutines.h"
-
-void
-ical_usebuf(const char *buf, size_t size)
-{
-	BEGIN(INITIAL);
-	yy_scan_bytes(buf, size);
-}
 %}
 
 
@@ -68,3 +61,12 @@
 {LF}				BEGIN(INITIAL); return ICALTOK_LF;
 .				return ICALTOK_JUNK;
 <<EOF>>				return ICALTOK_EOF;
+
+%%
+
+void
+ical_usebuf(const char *buf, size_t size)
+{
+	BEGIN(INITIAL);
+	yy_scan_bytes(buf, size);
+}
-------------- parte successiva --------------
Un allegato non testuale è stato rimosso....
Nome:        non disponibile
Tipo:        application/pgp-signature
Dimensione:  189 bytes
Descrizione: This is a digitally signed message part.
Url:         http://tao/pipermail/openmamba-users-it/attachments/20070627/dbc8c39a/attachment.bin 


Maggiori informazioni sulla lista openmamba-users-it