Menu

RE: Problems compiling...

Help
sparky
2006-06-22
2013-01-15
  • sparky

    sparky - 2006-06-22

    Boy I hate to be such a pain.  :(

    This is on my laptop again, a i386 architecture that I asked about first.

    I replaced the line, the compilation goes along farther then stops again.

    make[3]: Entering directory `/home/asparks/Packages/rkward-0.3.6/rkward/misc'
    /usr/lib/qt3/bin/moc ./rkerrordialog.h -o rkerrordialog.moc
    source='rkerrordialog.cpp' object='rkerrordialog.o' libtool=no \ depfile='.deps/rkerrordialog.Po' tmpdepfile='.deps/rkerrordialog.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o rkerrordialog.o `test -f 'rkerrordialog.cpp' || echo './'`rkerrordialog.cpp
    /usr/lib/qt3/bin/moc ./rkspinbox.h -o rkspinbox.moc
    source='rkspinbox.cpp' object='rkspinbox.o' libtool=no \ depfile='.deps/rkspinbox.Po' tmpdepfile='.deps/rkspinbox.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o rkspinbox.o `test -f 'rkspinbox.cpp' || echo './'`rkspinbox.cpp
    /usr/lib/qt3/bin/moc ./getfilenamewidget.h -o getfilenamewidget.moc
    source='getfilenamewidget.cpp' object='getfilenamewidget.o' libtool=no \ depfile='.deps/getfilenamewidget.Po' tmpdepfile='.deps/getfilenamewidget.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o getfilenamewidget.o `test -f 'getfilenamewidget.cpp' || echo './'`getfilenamewidget.cpp
    /usr/lib/qt3/bin/moc ./rkobjectlistview.h -o rkobjectlistview.moc
    source='rkobjectlistview.cpp' object='rkobjectlistview.o' libtool=no \ depfile='.deps/rkobjectlistview.Po' tmpdepfile='.deps/rkobjectlistview.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o rkobjectlistview.o `test -f 'rkobjectlistview.cpp' || echo './'`rkobjectlistview.cpp
    rkobjectlistview.cpp:284: error: no ‘int RKListViewItem::width(const QFontMetrics&, const QListView*, int) const’ member function declared in class ‘RKListViewItem’
    make[3]: *** [rkobjectlistview.o] Error 1
    make[3]: Leaving directory `/home/asparks/Packages/rkward-0.3.6/rkward/misc'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/asparks/Packages/rkward-0.3.6/rkward'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/asparks/Packages/rkward-0.3.6'
    make: *** [all] Error 2

     
    • Thomas Friedrichsmeier

      Hm, maybe you removed a little too much? The line should be

          int width (const QFontMetrics &fm, const QListView * lv, int c) const;

      instead of the shipped

          int RKListViewItem::width (const QFontMetrics &fm, const QListView * lv, int c) const;

      i.e. only the string "RKListViewItem::" should be removed and nothing else.

      If you feel a little more adventurous, you might instead try the testing version of a few days ago http://rkward.sourceforge.net/temp/rkward-0.3.7pre1.tar.gz which has this bug fixed (bug probably new bugs instead).

       
    • sparky

      sparky - 2006-06-22

      Ah, I did remove too much.  I misunderstood.  My mistake.

       
    • sparky

      sparky - 2006-06-22

      The pre 0.3.7 version compiled nicely, I just launched it.

      Ok, I got this far.  Working to learn R now too.  :)