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

Close

#10 'make' failing

open
nobody
None
5
2006-09-22
2006-09-22
Anonymous
No

./configure runs O.K, but 'make' bails out with

# make
make all-recursive
make[1]: Entering directory `/home/gmag/kionjb-0.2.4'
Making all in kionjb
make[2]: Entering directory `/home/gmag/kionjb-0.2.4/kionjb'
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -W -Wall -Werror -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT njb.lo -MD -MP -MF ".deps/njb.Tpo" \ -c -o njb.lo `test -f 'njb.cpp' || echo './'`njb.cpp; \ then mv -f ".deps/njb.Tpo" ".deps/njb.Plo"; \ else rm -f ".deps/njb.Tpo"; exit 1; \ fi
track.h:42: error: extra qualification 'Track::' on member 'getId'
track.h:43: error: extra qualification 'Track::' on member 'getSize'
track.h:44: error: extra qualification 'Track::' on member 'getDuration'
track.h:45: error: extra qualification 'Track::' on member 'getTrackNum'
track.h:46: error: extra qualification 'Track::' on member 'getYear'
track.h:47: error: extra qualification 'Track::' on member 'getGenre'
track.h:48: error: extra qualification 'Track::' on member 'getArtist'
track.h:49: error: extra qualification 'Track::' on member 'getAlbum'
track.h:50: error: extra qualification 'Track::' on member 'getTitle'
track.h:51: error: extra qualification 'Track::' on member 'getCodec'
track.h:52: error: extra qualification 'Track::' on member 'getFilename'
track.h:54: error: extra qualification 'Track::' on member 'setId'
track.h:55: error: extra qualification 'Track::' on member 'setSize'
track.h:56: error: extra qualification 'Track::' on member 'setDuration'
track.h:57: error: extra qualification 'Track::' on member 'setTrackNum'
track.h:58: error: extra qualification 'Track::' on member 'setYear'
track.h:59: error: extra qualification 'Track::' on member 'setGenre'
track.h:60: error: extra qualification 'Track::' on member 'setArtist'
track.h:61: error: extra qualification 'Track::' on member 'setAlbum'
track.h:62: error: extra qualification 'Track::' on member 'setTitle'
track.h:63: error: extra qualification 'Track::' on member 'setCodec'
track.h:64: error: extra qualification 'Track::' on member 'setFilename'
make[2]: *** [njb.lo] Error 1
make[2]: Leaving directory `/home/gmag/kionjb-0.2.4/kionjb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gmag/kionjb-0.2.4'
make: *** [all] Error 2

Any ideas?

Discussion

  • hmskrecik
    hmskrecik
    2007-09-30

    Logged In: YES
    user_id=1681380
    Originator: NO

    It looks like there's GCC3 vs. GCC4 incompatibility. I haven't tried every accessible version, yet 4.1 and 4.2 yield above symptom. 3.4 compiles just fine. I used:

    CC=gcc-3.4 CXX=g++-3.4 ./configure

    and then 'make'