Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3583 - Qtella doesnt compile with GCC 3.1
Summary: Qtella doesnt compile with GCC 3.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-10 11:59 UTC by Jason Givens
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Givens 2002-06-10 11:59:49 UTC
Qtella fails to compile using Gentoo 1.3a and GCC 3.1. 
 
Here is the error message: 
 
c++ -DPACKAGE=\"qtella\" -DVERSION=\"0.5.2\" -DHAVE_OGG_LIB=1 -DHAVE_STDINT_H=1 
-DPIXMAP_DIR=\"/usr/kde/3/share/qtella/pixmaps\" 
-DLANG_DIR=\"/usr/kde/3/share/qtella/language\"  -fexceptions -DKDE 
-DQT_THREAD_SUPPORT -I../include -I../ui -I/usr/qt/3/include  
-I/usr/kde/3/include -I/usr/include/vorbis    -mcpu=i686 -O2 -mno-mmx 
-mno-3dnow -pipe -c DownloadTo_moc.cpp 
c++ -DPACKAGE=\"qtella\" -DVERSION=\"0.5.2\" -DHAVE_OGG_LIB=1 -DHAVE_STDINT_H=1 
-DPIXMAP_DIR=\"/usr/kde/3/share/qtella/pixmaps\" 
-DLANG_DIR=\"/usr/kde/3/share/qtella/language\"  -fexceptions -DKDE 
-DQT_THREAD_SUPPORT -I../include -I../ui -I/usr/qt/3/include  
-I/usr/kde/3/include -I/usr/include/vorbis    -mcpu=i686 -O2 -mno-mmx 
-mno-3dnow -pipe -c BInterruptedFileSearch_moc.cpp 
c++ -DPACKAGE=\"qtella\" -DVERSION=\"0.5.2\" -DHAVE_OGG_LIB=1 -DHAVE_STDINT_H=1 
-DPIXMAP_DIR=\"/usr/kde/3/share/qtella/pixmaps\" 
-DLANG_DIR=\"/usr/kde/3/share/qtella/language\"  -fexceptions -DKDE 
-DQT_THREAD_SUPPORT -I../include -I../ui -I/usr/qt/3/include  
-I/usr/kde/3/include -I/usr/include/vorbis    -mcpu=i686 -O2 -mno-mmx 
-mno-3dnow -pipe -c InterruptedFileSearch_moc.cpp 
c++ -DPACKAGE=\"qtella\" -DVERSION=\"0.5.2\" -DHAVE_OGG_LIB=1 -DHAVE_STDINT_H=1 
-DPIXMAP_DIR=\"/usr/kde/3/share/qtella/pixmaps\" 
-DLANG_DIR=\"/usr/kde/3/share/qtella/language\"  -fexceptions -DKDE 
-DQT_THREAD_SUPPORT -I../include -I../ui -I/usr/qt/3/include  
-I/usr/kde/3/include -I/usr/include/vorbis    -mcpu=i686 -O2 -mno-mmx 
-mno-3dnow -pipe -c BAudioFile_moc.cpp 
c++ -DPACKAGE=\"qtella\" -DVERSION=\"0.5.2\" -DHAVE_OGG_LIB=1 -DHAVE_STDINT_H=1 
-DPIXMAP_DIR=\"/usr/kde/3/share/qtella/pixmaps\" 
-DLANG_DIR=\"/usr/kde/3/share/qtella/language\"  -fexceptions -DKDE 
-DQT_THREAD_SUPPORT -I../include -I../ui -I/usr/qt/3/include  
-I/usr/kde/3/include -I/usr/include/vorbis    -mcpu=i686 -O2 -mno-mmx 
-mno-3dnow -pipe -c AudioMp3.cpp 
In file included from AudioMp3.cpp:7: 
../include/AudioMp3.h:32: syntax error before `&' token 
../include/AudioMp3.h:33: parse error before `}' token 
In file included from /usr/include/g++-v31/backward/strstream:51, 
                 from AudioMp3.cpp:9: 
/usr/include/g++-v31/backward/backward_warning.h:32:2: warning: #warning This 
file includes at least one deprecated or antiquated header. Please consider 
using one of the 32 headers found in section 17.4.1.2 of the C++ standard. 
Examples include substituting the <X> header for the <X.h> header for C++ 
includes, or <sstream> instead of the deprecated header <strstream.h>. To 
disable this warning use -Wno-deprecated. 
AudioMp3.cpp:30: `ifstream' was not declared in this scope 
AudioMp3.cpp:30: `file' was not declared in this scope 
AudioMp3.cpp:30: invalid data member initialization 
AudioMp3.cpp:30: (use `=' to initialize static data members) 
AudioMp3.cpp:102: 'ifstream' is used as a type, but is not defined as a type. 
AudioMp3.cpp: In member function `bool mp3info::get_mp3_info(int, int)': 
AudioMp3.cpp:164: `streampos' undeclared (first use this function) 
AudioMp3.cpp:164: (Each undeclared identifier is reported only once for each 
function it appears in.) 
AudioMp3.cpp:164: parse error before `,' token 
AudioMp3.cpp:167: `file' undeclared (first use this function) 
AudioMp3.cpp:167: `ios' undeclared (first use this function) 
AudioMp3.cpp:167: parse error before `::' token 
AudioMp3.cpp:171: parse error before `::' token 
AudioMp3.cpp:210: `data_start' undeclared (first use this function) 
AudioMp3.cpp:214: `sample_pos' undeclared (first use this function) 
AudioMp3.cpp: In member function `int mp3info::get_first_header(long int)': 
AudioMp3.cpp:245: parse error before `::' token 
AudioMp3.cpp:256: parse error before `::' token 
AudioMp3.cpp:263: parse error before `::' token 
AudioMp3.cpp:267: parse error before `::' token 
AudioMp3.cpp: In member function `int mp3info::get_next_header()': 
AudioMp3.cpp:304: parse error before `::' token 
AudioMp3.cpp: At global scope: 
AudioMp3.cpp:325: `ifstream' was not declared in this scope 
AudioMp3.cpp:326: `int mp3header::get_header' is not a static member of `class 
mp3header' 
AudioMp3.cpp:326: syntax error before `{' token 
AudioMp3.cpp:330: parse error before `if' 
AudioMp3.cpp:335: ISO C++ forbids declaration of `sync' with no type 
AudioMp3.cpp:335: `buffer' was not declared in this scope 
AudioMp3.cpp:335: `buffer' was not declared in this scope 
AudioMp3.cpp:336: parse error before `if' 
AudioMp3.cpp:340: ISO C++ forbids declaration of `layer' with no type 
AudioMp3.cpp:340: `buffer' was not declared in this scope 
AudioMp3.cpp:341: parse error before `if' 
AudioMp3.cpp:346: ISO C++ forbids declaration of `crc' with no type 
AudioMp3.cpp:346: `buffer' was not declared in this scope 
AudioMp3.cpp:347: ISO C++ forbids declaration of `bitrate' with no type 
AudioMp3.cpp:347: `buffer' was not declared in this scope 
AudioMp3.cpp:348: ISO C++ forbids declaration of `freq' with no type 
AudioMp3.cpp:348: `buffer' was not declared in this scope 
AudioMp3.cpp:349: ISO C++ forbids declaration of `padding' with no type 
AudioMp3.cpp:349: `buffer' was not declared in this scope 
AudioMp3.cpp:350: ISO C++ forbids declaration of `extension' with no type 
AudioMp3.cpp:350: `buffer' was not declared in this scope 
AudioMp3.cpp:351: ISO C++ forbids declaration of `mode' with no type 
AudioMp3.cpp:351: `buffer' was not declared in this scope 
AudioMp3.cpp:352: ISO C++ forbids declaration of `mode_extension' with no type 
AudioMp3.cpp:352: `buffer' was not declared in this scope 
AudioMp3.cpp:353: ISO C++ forbids declaration of `copyright' with no type 
AudioMp3.cpp:353: `buffer' was not declared in this scope 
AudioMp3.cpp:354: ISO C++ forbids declaration of `original' with no type 
AudioMp3.cpp:354: `buffer' was not declared in this scope 
AudioMp3.cpp:355: ISO C++ forbids declaration of `emphasis' with no type 
AudioMp3.cpp:355: `buffer' was not declared in this scope 
AudioMp3.cpp:357: parse error before `return' 
AudioMp3.cpp: In member function `int mp3info::get_id3()': 
AudioMp3.cpp:421: parse error before `::' token 
AudioMp3.cpp:437: parse error before `::' token 
AudioMp3.cpp: At global scope: 
AudioMp3.cpp:456: parse error before `return' 
AudioMp3.cpp: In member function `int mp3info::write_tag()': 
AudioMp3.cpp:512: parse error before `::' token 
make[1]: *** [AudioMp3.o] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/qtella-0.5.2/work/qtella-0.5.2/src' 
make: *** [all-recursive] Error 1 
 
!!! ERROR: The ebuild did not complete successfully. 
!!! Function kde_src_compile, Line -3700, Exitcode 2 
!!! died running emake, kde_src_compile:make 
 
!!! emerge aborting on  /usr/portage/net-misc/qtella/qtella-0.5.2.ebuild .
Comment 1 Tom Collins 2002-06-16 00:45:05 UTC
Qtella v0.5.3 fixes this compile problem.  Could the ebuild be 
updated? 
Comment 2 tobias 2002-06-19 12:47:25 UTC
you can create a qtella-0.5.3 ebuild w/o problems: 
just  
> cp $PORTDIR/net-misc/qtella/qtella-0.5.2.ebuild to 
$PORTDIR/net-misc/qtella/qtella-0.5.3.ebuild. 
> emerge -f qtella 
> ebuild $PORTDIR/net-misc/qtella/qtella-0.5.2.ebuild digest 
> emerge qtella 
 
and make some coffee... 
and start qtella. 
 
(he gentoo-devels, its not that hard. provide this damned easy ebuild in the 
main cvs tree!!!) 
 
~tooobi 
Comment 3 Chris Sorisio 2002-07-01 20:37:33 UTC
I'm having a problem with qtella-0.5.3.ebuild.  Sure, it builds okay, but when I
try to run it..

WARNING: KLocale: trying to look up "" in catalouge. Fix the program
WARNING: KLocale: trying to look up "" in catalouge. Fix the program
WARNING: KLocale: trying to look up "" in catalouge. Fix the program
/usr/qt/3/plugins/styles/dotnet.so: Feature dotNET already defined in
/usr/qt/3/plugins//st  yles/dotnet.so!
/usr/qt/3/plugins/styles/highcolor.so: Feature HighColor already defined in
/usr/qt/3/plugi  ns//styles/highcolor.so!
/usr/qt/3/plugins/styles/highcolor.so: Feature Default already defined in
/usr/qt/3/plugins  //styles/highcolor.so!
/usr/qt/3/plugins/styles/highcolor.so: Feature B3 already defined in
/usr/qt/3/plugins//sty  les/highcolor.so!
/usr/qt/3/plugins/styles/kthemestyle.so: Feature marble already defined in
/usr/qt/3/plugin  s//styles/kthemestyle.so!
/usr/qt/3/plugins/styles/kthemestyle.so: Feature riscos already defined in
/usr/qt/3/plugin  s//styles/kthemestyle.so!
/usr/qt/3/plugins/styles/kthemestyle.so: Feature system already defined in
/usr/qt/3/plugin  s//styles/kthemestyle.so!
/usr/qt/3/plugins/styles/kthemestyle.so: Feature systemalt already defined in
/usr/qt/3/plu  gins//styles/kthemestyle.so!
/usr/qt/3/plugins/styles/light.so: Feature Light, 2nd revision already defined
in /usr/qt/3  /plugins//styles/light.so!
/usr/qt/3/plugins/styles/light.so: Feature Light, 3rd revision already defined
in /usr/qt/3  /plugins//styles/light.so!
/usr/qt/3/plugins/styles/liquid.so: Feature Liquid already defined in
/usr/qt/3/plugins//st  yles/liquid.so!
Cannot rename configuration file.
KCrash: crashing.... crashRecursionCounter = 2
KCrash: Application Name = qtella path = <unknown> pid = 32620
Comment 4 Brandon Low (RETIRED) gentoo-dev 2002-07-09 09:10:16 UTC
ebuild appears to be updated, merging and marking fixed.