Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#18 Unable to build

closed-out-of-date
nobody
None
5
2010-03-11
2005-12-10
mpgjunky
No

Hi,

Can't build either from src.rpm or from tarball. This
is the error:

[root@DevOne kprof]# make
make all-recursive
make[1]: Entering directory `/data/michael/kprof'
Making all in kprof
make[2]: Entering directory `/data/michael/kprof/kprof'
/usr/lib/qt-3.3/bin/uic -L
/usr/lib/kde3/plugins/designer -nounload -o
call-graph.h ./call-graph.ui
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde
-I/usr/lib/qt-3.3/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions
-fno-check-new -c ctidyup.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde
-I/usr/lib/qt-3.3/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions
-fno-check-new -c parseArguments.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde
-I/usr/lib/qt-3.3/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions
-fno-check-new -c kproffile.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde
-I/usr/lib/qt-3.3/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions
-fno-check-new -c Log.cpp
Log.cpp:43:2: warning: #warning "NDEBUG is not defined
(so debug + assert are enabled)"
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde
-I/usr/lib/qt-3.3/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions
-fno-check-new -c cprofileinfo.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde
-I/usr/lib/qt-3.3/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions
-fno-check-new -c parseprofile_pose.cpp
parseprofile_pose.h:30: error: expected `)' before ‘&’
token
parseprofile_pose.cpp:29: error: prototype for
‘CParseProfile_pose::CParseProfile_pose(QTextStream&,
QPtrVector<CProfileInfo>&)’ does not match any in class
‘CParseProfile_pose’
parseprofile_pose.h:28: error: candidates are:
CParseProfile_pose::CParseProfile_pose(const
CParseProfile_pose&)
parseprofile_pose.h:36: error:
CParseProfile_pose::CParseProfile_pose()
make[2]: *** [parseprofile_pose.o] Error 1
make[2]: Leaving directory `/data/michael/kprof/kprof'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/michael/kprof'
make: *** [all-recursive-am] Error 2

My system is:
- Redhat Fedora Core 4
- gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)
- glibc-kernheaders-2.4-9.1.94
- glibc-devel-2.3.90-18
- glibc-common-2.3.90-18
- glibc-profile-2.3.5-10.3
- glibc-headers-2.3.90-18
- glibc-utils-2.3.90-18
- glibc-2.3.90-18
- qt-devel-3.3.4-15.4
- qt-designer-3.3.4-15.4
- qt-3.3.4-15.4

Any ideas or am I doing something wrong?

Cheers,
Michael.

Discussion

  • Kai Hartmann
    Kai Hartmann
    2006-09-04

    Logged In: YES
    user_id=743500

    The same error here with Mandriva 2006.0

     
  • Erkki Ruohtula
    Erkki Ruohtula
    2008-05-23

    Logged In: YES
    user_id=838017
    Originator: NO

    CentOS 5.1, similar problem. Adding

    #include <qtextstream.h>

    to parseprofile.h helped. I guess KDE has
    moved declarations around.

     
    • status: open --> closed-out-of-date