[Bug 240817] New: Jovie fails to build with linking errors

Robert Marmorstein rmmarm at sdf.lonestar.org
Sat Jun 5 16:45:57 BST 2010


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

           Summary: Jovie fails to build with linking errors
           Product: kde
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: rmmarm at sdf.lonestar.org


Created an attachment (id=47708)
 --> (http://bugs.kde.org/attachment.cgi?id=47708)
Port K3Process to QProcess

Version:           unspecified (using Devel) 
OS:                Linux

When trying to build latest kdeaccessibility trunk, the compile fails with:

Linking CXX executable jovie
CMakeFiles/jovie_bin.dir/jovie.o: In function `Jovie::showManagerDialog()':     
/var/abs/local/eth-os/sources/KDE/kdeaccessibility/jovie/jovie/jovie.cpp:455:
undefined reference to `KRun::runCommand(QString const&, QWidget*)'
CMakeFiles/jovie_bin.dir/ssmlconvert.o: In function
`SSMLConvert::transform(QString const&, QString const&)':
/var/abs/local/ethos/sources/KDE/kdeaccessibility/jovie/jovie/ssmlconvert.cpp:231:
undefined reference to `K3Process::K3Process(QObject*)'
/var/abs/local/ethos/sources/KDE/kdeaccessibility/jovie/jovie/ssmlconvert.cpp:232:
undefined reference to `K3Process::operator<<(char const*)'
/var/abs/local/ethos/sources/KDE/kdeaccessibility/jovie/jovie/ssmlconvert.cpp:233:
undefined reference to `K3Process::operator<<(char const*)'
/var/abs/local/ethos/sources/KDE/kdeaccessibility/jovie/jovie/ssmlconvert.cpp:233:
undefined reference to `K3Process::operator<<(QString const&)'
/var/abs/local/ethos/sources/KDE/kdeaccessibility/jovie/jovie/ssmlconvert.cpp:233:
undefined reference to `K3Process::operator<<(char const*)'
/var/abs/local/ethos/sources/KDE/kdeaccessibility/jovie/jovie/ssmlconvert.cpp:234:
undefined reference to `K3Process::operator<<(QString const&)'
/var/abs/local/ethos/sources/KDE/kdeaccessibility/jovie/jovie/ssmlconvert.cpp:234:
undefined reference to `K3Process::operator<<(QString const&)'
collect2: ld returned 1 exit status


Reproducible: Always

Steps to Reproduce:
Obtain latest trunk.
Try to build it.
Fail.

Actual Results:  
I see the errors described above.

Expected Results:  
Jovie compiles flawlessly.

There are two problems.  The first is that the CMakeLists.txt file does not
link against the KIO libraries.  This is trivial to fix.

The second problem is that K3Process is deprecated and the KDE3 compatibility
libraries have been commented out in the CMakelists.txt file.  Please see the
attached patch that ports K3Process to QProcess.

-- 
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 Unassigned-bugs mailing list