Menu

#401 Build with gcc-4.5.0 not possible - kmymoney-1.0.5

closed-fixed
nobody
5
2010-06-03
2010-05-18
No

make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/build/src/kmymoney2-1.0.5/kmymoney2/templates/zh_HK'
Making all in zh_TW
make[5]: Entering directory `/build/src/kmymoney2-1.0.5/kmymoney2/templates/zh_TW'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/build/src/kmymoney2-1.0.5/kmymoney2/templates/zh_TW'
make[5]: Entering directory `/build/src/kmymoney2-1.0.5/kmymoney2/templates'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/build/src/kmymoney2-1.0.5/kmymoney2/templates'
make[4]: Leaving directory `/build/src/kmymoney2-1.0.5/kmymoney2/templates'
Making all in plugins
make[4]: Entering directory `/build/src/kmymoney2-1.0.5/kmymoney2/plugins'
/opt/qt/bin/moc ./kmymoneyplugin.h -o kmymoneyplugin.moc
/bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I. -I../.. -I. -DQT_THREAD_SUPPORT -D_REENTRANT -DKMM_DEBUG=0 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -MT kmymoneyplugin.lo -MD -MP -MF .deps/kmymoneyplugin.Tpo -c -o kmymoneyplugin.lo kmymoneyplugin.cpp
In file included from /opt/kde/include/kinstance.h:31:0,
from kmymoneyplugin.cpp:24:
/opt/qt/include/qstring.h: In member function 'char QChar::latin1() const':
/opt/qt/include/qstring.h:194:58: warning: conversion to 'char' from 'int' may alter its value
/opt/qt/include/qstring.h: In member function 'void QChar::setCell(uchar)':
/opt/qt/include/qstring.h:219:57: warning: conversion to 'ushort' from 'int' may alter its value
/opt/qt/include/qstring.h: In member function 'void QChar::setRow(uchar)':
/opt/qt/include/qstring.h:220:69: warning: conversion to 'ushort' from 'int' may alter its value
/opt/qt/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
/opt/qt/include/qstring.h:264:61: warning: conversion to 'ushort' from 'int' may alter its value
/opt/qt/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)':
/opt/qt/include/qstring.h:362:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
/opt/qt/include/qstring.h:362:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
In file included from /opt/kde/include/kaboutdata.h:24:0,
from kmymoneyplugin.cpp:25:
/opt/qt/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/opt/qt/include/qimage.h:58:61: warning: suggest parentheses around '&&' within '||'
In file included from /opt/qt/include/qobject.h:45:0,
from /opt/kde/include/kaction.h:30,
from kmymoneyplugin.cpp:26:
/opt/qt/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&, const QPoint&, int)':
/opt/qt/include/qevent.h:429:33: warning: conversion to 'unsigned char' from 'uint' may alter its value
/opt/qt/include/qevent.h: In member function 'void QDropEvent::setAction(QDropEvent::Action)':
/opt/qt/include/qevent.h:520:46: warning: conversion to 'unsigned char' from 'uint' may alter its value
mv -f .deps/kmymoneyplugin.Tpo .deps/kmymoneyplugin.Plo
/opt/qt/bin/moc ./pluginloader.h -o pluginloader.moc
/bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I. -I../.. -I. -DQT_THREAD_SUPPORT -D_REENTRANT -DKMM_DEBUG=0 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -MT pluginloader.lo -MD -MP -MF .deps/pluginloader.Tpo -c -o pluginloader.lo pluginloader.cpp
In file included from /opt/qt/include/qtextstream.h:43:0,
from /opt/qt/include/qtl.h:43,
from /opt/qt/include/qvaluelist.h:42,
from /opt/qt/include/qstringlist.h:42,
from pluginloader.cpp:21:
/opt/qt/include/qstring.h: In member function 'char QChar::latin1() const':
/opt/qt/include/qstring.h:194:58: warning: conversion to 'char' from 'int' may alter its value
/opt/qt/include/qstring.h: In member function 'void QChar::setCell(uchar)':
/opt/qt/include/qstring.h:219:57: warning: conversion to 'ushort' from 'int' may alter its value
/opt/qt/include/qstring.h: In member function 'void QChar::setRow(uchar)':
/opt/qt/include/qstring.h:220:69: warning: conversion to 'ushort' from 'int' may alter its value
/opt/qt/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
/opt/qt/include/qstring.h:264:61: warning: conversion to 'ushort' from 'int' may alter its value
/opt/qt/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)':
/opt/qt/include/qstring.h:362:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
/opt/qt/include/qstring.h:362:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
In file included from /opt/qt/include/qobject.h:45:0,
from /opt/qt/include/qwidget.h:43,
from /opt/qt/include/qbutton.h:42,
from /opt/qt/include/qcheckbox.h:42,
from pluginloader.cpp:22:
/opt/qt/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&, const QPoint&, int)':
/opt/qt/include/qevent.h:429:33: warning: conversion to 'unsigned char' from 'uint' may alter its value
/opt/qt/include/qevent.h: In member function 'void QDropEvent::setAction(QDropEvent::Action)':
/opt/qt/include/qevent.h:520:46: warning: conversion to 'unsigned char' from 'uint' may alter its value
mv -f .deps/pluginloader.Tpo .deps/pluginloader.Plo
/opt/qt/bin/moc ./viewinterface.h -o viewinterface.moc
/bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I. -I../.. -I. -DQT_THREAD_SUPPORT -D_REENTRANT -DKMM_DEBUG=0 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -MT viewinterface.lo -MD -MP -MF .deps/viewinterface.Tpo -c -o viewinterface.lo viewinterface.cpp
In file included from /opt/qt/include/qwindowdefs.h:44:0,
from /opt/qt/include/qobject.h:43,
from viewinterface.h:28,
from viewinterface.cpp:27:
/opt/qt/include/qstring.h: In member function 'char QChar::latin1() const':
/opt/qt/include/qstring.h:194:58: warning: conversion to 'char' from 'int' may alter its value
/opt/qt/include/qstring.h: In member function 'void QChar::setCell(uchar)':
/opt/qt/include/qstring.h:219:57: warning: conversion to 'ushort' from 'int' may alter its value
/opt/qt/include/qstring.h: In member function 'void QChar::setRow(uchar)':
/opt/qt/include/qstring.h:220:69: warning: conversion to 'ushort' from 'int' may alter its value
/opt/qt/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
/opt/qt/include/qstring.h:264:61: warning: conversion to 'ushort' from 'int' may alter its value
/opt/qt/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)':
/opt/qt/include/qstring.h:362:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
/opt/qt/include/qstring.h:362:94: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
In file included from /opt/qt/include/qobject.h:45:0,
from viewinterface.h:28,
from viewinterface.cpp:27:
/opt/qt/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&, const QPoint&, int)':
/opt/qt/include/qevent.h:429:33: warning: conversion to 'unsigned char' from 'uint' may alter its value
/opt/qt/include/qevent.h: In member function 'void QDropEvent::setAction(QDropEvent::Action)':
/opt/qt/include/qevent.h:520:46: warning: conversion to 'unsigned char' from 'uint' may alter its value
In file included from /opt/qt/include/qmap.h:45:0,
from /opt/qt/include/qmime.h:43,
from /opt/qt/include/qevent.h:45,
from /opt/qt/include/qobject.h:45,
from viewinterface.h:28,
from viewinterface.cpp:27:
/opt/qt/include/qpair.h: At global scope:
/opt/qt/include/qpair.h: In instantiation of 'QPair<MyMoneyTransaction, MyMoneySplit>':
viewinterface.moc:166:32: instantiated from here
/opt/qt/include/qpair.h:66:8: error: 'QPair<T1, T2>::first' has incomplete type
../../kmymoney/mymoneyaccount.h:43:7: error: forward declaration of 'struct MyMoneyTransaction'
/opt/qt/include/qpair.h:67:8: error: 'QPair<T1, T2>::second' has incomplete type
../../kmymoney/mymoneyaccount.h:45:7: error: forward declaration of 'struct MyMoneySplit'
make[4]: *** [viewinterface.lo] Error 1
make[4]: Leaving directory `/build/src/kmymoney2-1.0.5/kmymoney2/plugins'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/src/kmymoney2-1.0.5/kmymoney2'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/build/src/kmymoney2-1.0.5/kmymoney2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/kmymoney2-1.0.5'
make: *** [all] Error 2

Discussion

  • Anonymous

    Anonymous - 2010-05-18
    • summary: Build with gcc-4.. --> Build with gcc-4.5.0 not possible - v1.0.5
     
  • Anonymous

    Anonymous - 2010-05-18

    Build fails with submitted message.

    gcc-4.5.0
    qt3-3.3.8
    kdelibs3-3.5.10

     
  • Anonymous

    Anonymous - 2010-05-18
    • summary: Build with gcc-4.5.0 not possible - v1.0.5 --> Build with gcc-4.5.0 not possible - kmymoney-1.0.5
     
  • Alvaro Soliverez

    I have gcc 4.5.0 and it compiles just fine, so the problem is somewhere else.
    Can you be more specific about your particular setup?

     
  • Alvaro Soliverez

    • summary: Build with gcc-4.5.0 not possible - kmymoney-1.0.5 --> Build with gcc-4.5.0 not possible - v1.0.5
     
  • Alvaro Soliverez

    patch that might help with the problem

     
  • Anonymous

    Anonymous - 2010-05-19

    Building on Arch Linux with the most recent packages in a clean chroot. The first error message comes from an i686 system, building on x86_64 architecture shows the same error.

    Packages additionally installed in the build environment:
    libxml++-2.30.1-1 [0.39 MB] glibmm-2.24.2-1 [3.74 MB]
    libsigc++2.0-2.2.7-1 [1.29 MB] libofx-0.9.0-2 [8.30 MB]
    opensp-1.5.2-1 [9.22 MB] curl-7.20.1-1 [1.58 MB]
    kdelibs3-3.5.10-10 [71.95 MB]
    ca-certificates-20090814-3 [0.66 MB] run-parts-3.2.2-1 [0.04 MB]
    openexr-1.6.1-1 [5.80 MB] ilmbase-1.0.1-1 [1.67 MB]
    libxslt-1.1.26-1 [3.27 MB] libxml2-2.7.7-1 [11.81 MB]
    libidn-1.16-1 [0.93 MB] libcups-1.4.3-2 [0.91 MB]
    libtiff-3.9.2-2 [3.35 MB] heimdal-1.3.2-1 [12.37 MB]
    sqlite3-3.6.23.1-1 [0.99 MB] gnutls-2.8.6-1 [6.03 MB]
    libtasn1-2.6-1 [0.46 MB] avahi-0.6.25-3 [3.41 MB]
    libdaemon-0.14-1 [0.12 MB] dbus-1.2.24-1 [0.11 MB]
    libart-lgpl-2.3.21-1 [0.50 MB] jasper-1.900.1-5 [1.16 MB]
    freeglut-2.6.0-1 [0.96 MB] libxi-1.3-2 [0.17 MB]
    inputproto-2.0-1 [0.11 MB] aspell-0.60.6-4 [3.79 MB]
    alsa-lib-1.0.23-1 [1.95 MB] qt3-3.3.8-17 [33.81 MB]
    mesa-7.7.1-1 [3.73 MB] libgl-7.7.1-1 [3.26 MB]
    libxxf86vm-1.1.0-1 [0.12 MB] xf86vidmodeproto-2.3-1 [0.04 MB]
    libxdamage-1.1.2-1 [0.02 MB] damageproto-1.2.0-1 [0.07 MB]
    libdrm-2.4.19-2 [1.04 MB] dri2proto-2.1-2 [0.06 MB]
    libxrandr-1.3.0-1 [0.22 MB] randrproto-1.3.1-1 [0.12 MB]
    libxmu-1.0.5-1 [0.26 MB] libxt-1.0.8-1 [1.86 MB]
    libsm-1.1.1-1 [0.16 MB] libice-1.0.6-1 [0.36 MB]
    libxinerama-1.1-1 [0.05 MB] libxext-1.1.1-1 [0.45 MB]
    xineramaproto-1.2-1 [0.02 MB] libxft-2.1.14-1 [0.15 MB]
    fontconfig-2.8.0-1 [3.78 MB] freetype2-2.3.12-1 [2.58 MB]
    libxcursor-1.1.10-1 [0.30 MB] libxfixes-4.0.4-1 [0.05 MB]
    fixesproto-4.1.1-1 [0.05 MB] xextproto-7.1.1-1 [0.20 MB]
    libxrender-0.9.5-1 [0.09 MB] libx11-1.3.3-1 [15.93 MB]
    libxcb-1.6-1 [3.95 MB] xcb-proto-1.6-1 [0.54 MB]
    libxdmcp-1.0.3-1 [0.04 MB] xproto-7.0.16-1 [0.42 MB]
    libxau-1.0.5-1 [0.12 MB] kbproto-1.0.4-1 [0.17 MB]
    renderproto-0.11-1 [0.07 MB] libpng-1.4.1-1 [0.74 MB]
    libmng-1.0.10-3 [1.34 MB] libjpeg-8.0.1-1 [0.84 MB]

     
  • Alvaro Soliverez

    Did you try the patch I uploaded?

     
  • Anonymous

    Anonymous - 2010-05-20

    I didn't see the patch yesterday, sorry. It helps, it can be now built on both architectures! Thanks.

     
  • Anonymous

    Anonymous - 2010-05-20
    • summary: Build with gcc-4.5.0 not possible - v1.0.5 --> Build with gcc-4.5.0 not possible - kmymoney-1.0.5
    • status: open --> open-works-for-me
     
  • Alvaro Soliverez

    • status: open-works-for-me --> pending-fixed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 7 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed