Bug 160937 - KDEPIM 3.5.9: akregator metakit plugin fails to build on Linux/MIPS64EL because of missing __mips64 definition
Summary: KDEPIM 3.5.9: akregator metakit plugin fails to build on Linux/MIPS64EL becau...
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: metakit plugin (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-17 15:28 UTC by Sunil Amitkumar Janki
Modified: 2008-04-18 16:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sunil Amitkumar Janki 2008-04-17 15:28:26 UTC
Version:           included in kdepim 3.5.9 (using KDE 3.5.9)
Installed from:    Compiled From Sources
Compiler:          gcc 4.2.3  
OS:                Linux

I get the following error in the akregator/src/mk4storage/metakit directory while building kdepim 3.5.9 on Linux/mips64el:

In file included from header.h:191,
                 from field.cpp:9:
./../include/mk4.h:205: error: conflicting declaration 'typedef long int t4_i32'
header.h:143: error: 't4_i32' has a previous declaration as 'typedef int t4_i32'

This can be solved by applying the patch below:

--- kdepim-3.5.9-orig/akregator/src/mk4storage/metakit/include/mk4.h    2006-07-22 08:14:06.000000000 +0000
+++ kdepim-3.5.9/akregator/src/mk4storage/metakit/include/mk4.h 2008-04-17 12:53:50.000000000 +0000
@@ -101,7 +101,7 @@
     // and here's the other end of the scale...
 #if !defined (_WIN32) && !defined (q4_LONG64)
 #if (defined (_PA_RISC2_0) && defined(__hpux)) || defined (__powerpc64__) || defined(__sparcv9) || \
-    defined (__x86_64__) || defined (__s390x__) || defined (__alpha) || \
+    defined (__x86_64__) || defined (__s390x__) || defined (__alpha) || defined (__mips64) || \
     (defined (__ia64) && (!defined (__HP_aCC) || defined(__LP64__)))
 #define q4_LONG64 1
 #endif
Comment 1 Allen Winter 2008-04-18 16:31:33 UTC
SVN commit 798535 by winterz:

continue compile fix for mips64
BUGS: 160937


 M  +1 -1      mk4.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=798535