#1 Compilation fails

closed
nobody
5
2002-10-21
2002-10-20
Anonymous
No

Hi there, guipod looks great (i'm currently using
ephpod with wine but now guipod seems to be the best
solution) but... I can't compile it !

I'm running Linux Mandrake 9.0 (with the last cooker
updates for gcc, kde and perl) but I get the following
output when running make :

make all-recursive
make[1]: Entre dans le répertoire
`/home/champi/Build/guipod-0.1'
Making all in guipod
make[2]: Entre dans le répertoire
`/home/champi/Build/guipod-0.1/guipod'
/usr/lib/qt3/bin/uic -L
/usr/local/kde/lib/kde3/plugins/designer -nounload -o
log.h ./log.ui
/usr/lib/qt3/bin/uic -L
/usr/local/kde/lib/kde3/plugins/designer -nounload -o
setup.h ./setup.ui
/usr/lib/qt3/bin/uic -L
/usr/local/kde/lib/kde3/plugins/designer -nounload -o
playlist.h ./playlist.ui
/usr/lib/qt3/bin/uic -L
/usr/local/kde/lib/kde3/plugins/designer -nounload -o
taginput.h ./taginput.ui
/usr/lib/qt3/bin/uic -L
/usr/local/kde/lib/kde3/plugins/designer -nounload -o
myform.h ./myform.ui
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include
-I/usr/X11R6/include -DQT_THREAD_SUPPORT
-D_REENTRANT -O2 -fno-exceptions -fno-check-new
-fexceptions -c gtunes.cpp
In file included from
/usr/include/c++/3.2/backward/iostream.h:31,
from gtunes.cpp:21:
/usr/include/c++/3.2/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.
In file included from gtunes.cpp:31:
gtunes.h:27:17: stl.h: No such file or directory
In file included from gtunes.cpp:31:
gtunes.h:53: syntax error before `;' token
gtunes.h:54: `string' was not declared in this scope
gtunes.h:54: syntax error before `;' token
gtunes.h:55: `string' was not declared in this scope
gtunes.h:55: `SongList' was not declared in this scope
gtunes.h:55: parse error before `,' token
gtunes.h:57: `less' was not declared in this scope
gtunes.h:57: parse error before `>' token
gtunes.h:67: ISO C++ forbids declaration of `SongList'
with no type
gtunes.h:67: parse error before `*' token
gtunes.h:70: ISO C++ forbids declaration of `SongList'
with no type
gtunes.h:70: declaration of `const int GTunes::SongList'
gtunes.h:67: conflicts with previous declaration `const
int GTunes::SongList'
gtunes.h:70: parse error before `*' token
gtunes.h:73: ISO C++ forbids declaration of `SongList'
with no type
gtunes.h:73: declaration of `const int GTunes::SongList'
gtunes.h:67: conflicts with previous declaration `const
int GTunes::SongList'
gtunes.h:73: parse error before `*' token
gtunes.h:76: ISO C++ forbids declaration of
`SongListHash' with no type
gtunes.h:76: parse error before `&' token
gtunes.h:77: ISO C++ forbids declaration of
`SongListHash' with no type
gtunes.h:77: declaration of `const int
GTunes::SongListHash'
gtunes.h:76: conflicts with previous declaration `const
int GTunes::SongListHash'
gtunes.h:77: parse error before `&' token
gtunes.h:78: ISO C++ forbids declaration of `IdHash'
with no type
gtunes.h:78: parse error before `&' token
gtunes.h:129: 'SongList' is used as a type, but is not
defined as a type.
gtunes.h:130: 'SongListHash' is used as a type, but is
not defined as a type.
gtunes.h:131: 'SongListHash' is used as a type, but is
not defined as a type.
gtunes.h:132: 'IdHash' is used as a type, but is not
defined as a type.
gtunes.h:70: duplicate member `GTunes::SongList'
gtunes.h:73: duplicate member `GTunes::SongList'
gtunes.h:77: duplicate member `GTunes::SongListHash'
gtunes.h:154: 'SongList' is used as a type, but is not
defined as a type.
gtunes.cpp:116: syntax error before `*' token
gtunes.cpp:124: syntax error before `&' token
gtunes.cpp:129: syntax error before `&' token
gtunes.cpp:133: syntax error before `&' token
gtunes.cpp: In member function `bool
GTunes::load(QString)':
gtunes.cpp:156: `slist' undeclared (first use this
function)
gtunes.cpp:156: (Each undeclared identifier is reported
only once for each function it appears in.)
gtunes.cpp:219: `artistHash' undeclared (first use this
function)
gtunes.cpp:219: `string' undeclared (first use this
function)
gtunes.cpp:222: parse error before `(' token
gtunes.cpp:237: `allsongs' undeclared (first use this
function)
gtunes.cpp:238: `idHash' undeclared (first use this
function)
gtunes.cpp:261: `playlistHash' undeclared (first use
this function)
gtunes.cpp:271: parse error before `(' token
make[2]: *** [gtunes.o] Erreur 1
make[2]: Quitte le répertoire
`/home/champi/Build/guipod-0.1/guipod'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire
`/home/champi/Build/guipod-0.1'
make: *** [all-recursive-am] Erreur 2

ANY IDEA ???

Thx :-)

Discussion

  • Chandan Kudige

    Chandan Kudige - 2002-10-21

    Logged In: YES
    user_id=567681

    Okay, I seem to have forgotten that one of the requirements for
    compilation is the STL (which for me, came along with g++)

    Hmm .. let me look into how to auto-configure for STL, but do
    you know if you have stl installed ? Which version of gcc do
    you use ?

     
  • Chandan Kudige

    Chandan Kudige - 2002-10-21

    Logged In: YES
    user_id=567681

    I have fixed this in the new release guipod-0.101
    Please let me know if this
    1. Either compiles successfully
    2. Or fails at configure saying it could not detect STL

    Thanks,
    Chandan

     
  • Chandan Kudige

    Chandan Kudige - 2002-10-21
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks