[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Bug 71550] New: kdepim module will not compile on PowerPC (no idea
From:       George Wright <george.wright () kdemail ! net>
Date:       2003-12-31 13:48:37
Message-ID: 20031231134837.22817.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=71550     
           Summary: kdepim module will not compile on PowerPC (no idea
                    whether related to local setup or kdepim sources)
           Product: kmail
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kmail-devel@kde.org
        ReportedBy: george.wright@kdemail.net


Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice) 
OS:          Linux

I put this in the kmail section because I couldn't see any other options in the menu \
that were close enough to kdepim :)

Anyway, I compiled using the following environment variables:

export QTDIR=/usr/qt/cvs
export KDEDIR=/usr/kde/cvs
export KDEDIRS=$KDEDIR
export WANT_AUTOCONF_2_5=1
export WANT_AUTOMAKE_1_5=1
export PATH=$PATH:/usr/X11R6/bin:$QTDIR/bin:$KDEDIR/bin
export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
export YACC='byacc -d'

and the usual make -f Makefile.cvs etc.

In folder "libkcal", I get the following before the module bombs out. I have *never* \
managed to compile kdepim from CVS on any of my PowerPC machines:

/bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..   \
-DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64  -ansi -W -Wall \
-Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings \
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2   -Wformat-security -Wmissing-format-attribute \
-c -o vcc.lo `test -f 'vcc.c' || echo './'`vcc.c In file included from vcc.y:108:
vcc.h:21: parse error before "VObject"
vcc.h:21: warning: no semicolon at end of struct or union
vcc.h:22: warning: type defaults to `int' in declaration of `YYSTYPE'
vcc.h:22: warning: data definition has no type or storage class
vcc.h:23: parse error before "mime_yylval"
vcc.h:23: warning: type defaults to `int' in declaration of `mime_yylval'
vcc.h:23: warning: data definition has no type or storage class
vcc.y:130: parse error before '*' token
vcc.y:130: warning: type defaults to `int' in declaration of `vObjList'
vcc.y:130: warning: data definition has no type or storage class
vcc.y:131: parse error before '*' token
vcc.y:131: warning: type defaults to `int' in declaration of `curProp'
vcc.y:131: warning: data definition has no type or storage class
vcc.y:132: parse error before '*' token
vcc.y:132: warning: type defaults to `int' in declaration of `curObj'
vcc.y:132: warning: data definition has no type or storage class
vcc.y:133: parse error before '*' token
vcc.y:133: warning: type defaults to `int' in declaration of `ObjStack'
vcc.y:133: warning: data definition has no type or storage class
vcc.y:164: parse error before '*' token
vcc.y:164: warning: type defaults to `int' in declaration of `popVObject'
vcc.y:164: warning: data definition has no type or storage class
vcc.y:183: parse error before "VObject"
vcc.y:183: warning: no semicolon at end of struct or union
vcc.y:184: warning: type defaults to `int' in declaration of `YYSTYPE'
vcc.y:184: warning: data definition has no type or storage class
vcc.c:400: parse error before '*' token
vcc.c:400: warning: type defaults to `int' in declaration of `mime_vsp'
vcc.c:400: warning: data definition has no type or storage class
vcc.c:401: parse error before "mime_yyval"
vcc.c:401: warning: type defaults to `int' in declaration of `mime_yyval'
vcc.c:401: warning: data definition has no type or storage class
vcc.c:402: parse error before "mime_yylval"
vcc.c:402: warning: type defaults to `int' in declaration of `mime_yylval'
vcc.c:402: warning: data definition has no type or storage class
vcc.c:404: parse error before "mime_vs"
vcc.c:404: warning: type defaults to `int' in declaration of `mime_vs'
vcc.c:404: warning: data definition has no type or storage class
vcc.y: In function `pushVObject':
vcc.y:379: `VObject' undeclared (first use in this function)
vcc.y:379: (Each undeclared identifier is reported only once
vcc.y:379: for each function it appears in.)
vcc.y:379: `newObj' undeclared (first use in this function)
vcc.y:381: `FALSE' undeclared (first use in this function)
vcc.y:386: warning: implicit declaration of function `addProp'
vcc.y:390: warning: implicit declaration of function `newVObject'
vcc.y:390: warning: assignment makes pointer from integer without a cast
vcc.y:392: `TRUE' undeclared (first use in this function)
vcc.y: At top level:
vcc.y:398: parse error before '*' token
vcc.y:399: warning: return type defaults to `int'
vcc.y:399: warning: no previous prototype for `popVObject'
vcc.y: In function `popVObject':
vcc.y:400: `VObject' undeclared (first use in this function)
vcc.y:400: `oldObj' undeclared (first use in this function)
vcc.y:402: warning: passing arg 1 of `mime_error' discards qualifiers from pointer \
                target type
vcc.y: In function `appendValue':
vcc.y:435: `fieldedProp' undeclared (first use in this function)
vcc.y:437: warning: implicit declaration of function `addPropValue'
vcc.y:443: warning: implicit declaration of function `vObjectUStringZValue'
vcc.y:444: warning: implicit declaration of function `fakeCString'
vcc.y:444: warning: assignment makes pointer from integer without a cast
vcc.y:447: warning: implicit declaration of function `deleteStr'
vcc.y:455: warning: implicit declaration of function `setVObjectUStringZValue_'
vcc.y:455: warning: implicit declaration of function `fakeUnicode'
vcc.y: In function `enterProps':
vcc.y:468: warning: implicit declaration of function `addGroup'
vcc.y:468: warning: assignment makes pointer from integer without a cast
vcc.y: In function `enterAttr':
vcc.y:475: warning: implicit declaration of function `lookupProp_'
vcc.y:475: warning: assignment makes pointer from integer without a cast
vcc.y:477: `VObject' undeclared (first use in this function)
vcc.y:477: `a' undeclared (first use in this function)
vcc.y:478: warning: assignment makes pointer from integer without a cast
vcc.y:480: warning: implicit declaration of function `setVObjectStringZValue'
vcc.y:484: `VCBase64Prop' undeclared (first use in this function)
vcc.y:486: `VCQuotedPrintableProp' undeclared (first use in this function)
vcc.y: In function `lexPushMode':
vcc.y:523: warning: passing arg 1 of `mime_error' discards qualifiers from pointer \
                target type
vcc.y: In function `lexStr':
vcc.y:647: warning: implicit declaration of function `dupStr'
vcc.y:647: warning: return makes pointer from integer without a cast
vcc.y: At top level:
vcc.y:675: warning: no previous prototype for `lexPushLookahead'
vcc.y:799: warning: no previous prototype for `lexGetStrUntil'
vcc.y:827: warning: no previous prototype for `initLex'
vcc.y: In function `lexGetDataFromBase64':
vcc.y:930: warning: passing arg 1 of `mime_error' discards qualifiers from pointer \
target type vcc.y:946: warning: implicit declaration of function `setValueWithSize'
vcc.y: In function `match_begin_end_name':
vcc.y:970: request for member `str' in something not a structure or union
vcc.y: In function `mime_lex':
vcc.y:1064: request for member `str' in something not a structure or union
vcc.y:1079: request for member `str' in something not a structure or union
vcc.y:1121: request for member `str' in something not a structure or union
vcc.y: At top level:
vcc.y:1150: parse error before '*' token
vcc.y:1151: warning: return type defaults to `int'
vcc.y:1151: warning: no previous prototype for `Parse_MIMEHelper'
vcc.y:1166: parse error before '*' token
vcc.y:1167: warning: return type defaults to `int'
vcc.y:1167: warning: no previous prototype for `Parse_MIME'
vcc.y:1173: parse error before '*' token
vcc.y:1174: warning: return type defaults to `int'
vcc.y:1174: warning: no previous prototype for `Parse_MIME_FromFile'
vcc.y: In function `Parse_MIME_FromFile':
vcc.y:1175: `VObject' undeclared (first use in this function)
vcc.y:1175: `result' undeclared (first use in this function)
vcc.y: At top level:
vcc.y:1186: parse error before '*' token
vcc.y:1187: warning: return type defaults to `int'
vcc.y:1187: warning: no previous prototype for `Parse_MIME_FromFileName'
vcc.y: In function `Parse_MIME_FromFileName':
vcc.y:1190: `VObject' undeclared (first use in this function)
vcc.y:1190: `o' undeclared (first use in this function)
vcc.y: At top level:
vcc.y:1204: warning: no previous prototype for `YYDebug'
vcc.y: In function `YYDebug':
vcc.y:1205: warning: implicit declaration of function `Parse_Debug'
vcc.y: At top level:
vcc.y:1209: parse error before "mimeErrorHandler"
vcc.y:1209: warning: type defaults to `int' in declaration of `mimeErrorHandler'
vcc.y:1209: warning: data definition has no type or storage class
vcc.y:1211: parse error before "me"
vcc.y:1212: warning: no previous prototype for `registerMimeErrorHandler'
vcc.y: In function `registerMimeErrorHandler':
vcc.y:1213: `me' undeclared (first use in this function)
vcc.y: In function `mime_error':
vcc.y:1221: called object is not a function
vcc.y: In function `mime_error_':
vcc.y:1228: called object is not a function
vcc.c: At top level:
vcc.c:1270: warning: no previous prototype for `mime_parse'
vcc.c: In function `mime_parse':
vcc.c:1293: warning: suggest parentheses around assignment used as truth value
vcc.c:1337: warning: passing arg 1 of `mime_error' discards qualifiers from pointer \
target type vcc.y:213: warning: implicit declaration of function `addList'
vcc.y:213: request for member `vobj' in something not a structure or union
vcc.y:216: request for member `vobj' in something not a structure or union
vcc.y:227: `VCCardProp' undeclared (first use in this function)
vcc.y:232: request for member `vobj' in something not a structure or union
vcc.y:242: request for member `vobj' in something not a structure or union
vcc.y:265: request for member `str' in something not a structure or union
vcc.y:270: request for member `str' in something not a structure or union
vcc.y:283: request for member `str' in something not a structure or union
vcc.y:287: request for member `str' in something not a structure or union
vcc.y:287: request for member `str' in something not a structure or union
vcc.y:295: request for member `str' in something not a structure or union
vcc.y:297: request for member `str' in something not a structure or union
vcc.y:302: request for member `str' in something not a structure or union
vcc.y:307: `VCCalProp' undeclared (first use in this function)
vcc.y:310: request for member `vobj' in something not a structure or union
vcc.y:314: request for member `vobj' in something not a structure or union
vcc.y:331: `VCEventProp' undeclared (first use in this function)
vcc.y:355: `VCTodoProp' undeclared (first use in this function)
vcc.c:1614: warning: passing arg 1 of `mime_error' discards qualifiers from pointer \
target type vcc.c:1336: warning: label `yynewerror' defined but not used
/usr/include/ctype.h: At top level:
vcc.c:2: warning: `yysccsid' defined but not used
make[3]: *** [vcc.lo] Error 1
make[3]: Leaving directory `/home/george/KDE/kdepim/libkcal/versit'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/george/KDE/kdepim/libkcal'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/george/KDE/kdepim'
make: *** [all] Error 2

I presume it's failing because of all the parse errors. I haven't looked at the \
source code as of yet, but I'll take a look probably later today.

George
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic