[Kde-imaging] [Bug 254205] New: Compiling fails on SPARC platform because "qDNGBigEndian" macro is not defined.

jfc31 at free.fr jfc31 at free.fr
Thu Oct 14 23:11:41 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=254205

           Summary: Compiling fails on SPARC platform because
                    "qDNGBigEndian" macro is not defined.
           Product: kipiplugins
           Version: 1.5.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: DngConverter
        AssignedTo: kde-imaging at kde.org
        ReportedBy: jfc31 at free.fr


Version:           1.5.0 (using KDE 4.4.5) 
OS:                Linux

This is for SPARC platform only!!!

Compiling fails generating "Unable to figure out byte order." error...
The reason is that "qDNGBigEndian" is not defined when compiling for SPARC
architecture. This is because SPARC architecture is not managed at all in
"dng_flags.h"

Adding:
#elif defined(__sparc__)
#define qDNGBigEndian 1

on line 76 of "dng_flags.h" fixes the issue:
- Compiling now works OK.
- Compiled application works OK.


Reproducible: Always

Steps to Reproduce:
On SPARC machine:
- Compile from source as per kipi-plugins README recommendations. From
kipi-plugin root directory:
    cmake.
    make


Actual Results:  
At some point compilation stops with error: "Unable to figure out byte order."

Expected Results:  
Compilation finishes successfully!!!

On SPARC architecture (UltraSPARC-10 running debian "Squeeze").

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-imaging mailing list