Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDECVS Taglib compilation fails
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
hairyfeet
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 118
Location: Århus, Denmark

PostPosted: Sat Nov 29, 2003 11:49 am    Post subject: KDECVS Taglib compilation fails Reply with quote

I haven't successfully compiled taglib yet. I keep getting this error.

Code:

rm: cannot remove `': Invalid argument
rm: cannot remove `': Invalid argument
rm: cannot remove `': Invalid argument
rm: cannot remove `': Invalid argument
rm: cannot remove `': Invalid argument
rm: cannot remove `': Invalid argument
rm: cannot remove `': Invalid argument
tstring.cpp: In instantiation of `std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]':
tstring.cpp:642:   instantiated from here
tstring.cpp:642: explicit instantiation of `std::basic_ostream<_CharT,
   _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
   std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits =
   std::char_traits<char>, _Alloc = std::allocator<char>]' but no definition
   available
tstring.cpp: In instantiation of `std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]':
tstring.cpp:642:   instantiated from here
tstring.cpp:642: explicit instantiation of `std::basic_ostream<_CharT,
   _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
   std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits =
   std::char_traits<char>, _Alloc = std::allocator<char>]' but no definition
   available
tstring.cpp: In instantiation of `std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]':
tstring.cpp:642:   instantiated from here
tstring.cpp:642: explicit instantiation of `std::basic_ostream<_CharT,
   _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
   std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits =
   std::char_traits<char>, _Alloc = std::allocator<char>]' but no definition
   available
tstring.cpp: In instantiation of `std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]':
tstring.cpp:642:   instantiated from here
tstring.cpp:642: explicit instantiation of `std::basic_ostream<_CharT,
   _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
   std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits =
   std::char_traits<char>, _Alloc = std::allocator<char>]' but no definition
   available
make[3]: *** [tstring.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/taglib-5/work/kdeextragear-2/taglib/toolkit'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/taglib-5/work/kdeextragear-2/taglib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/taglib-5/work/kdeextragear-2'
make: *** [all] Error 2

!!! ERROR: media-libs/taglib-5 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make


If anyone have any idea of how to fix this it would be greatly appreciated. I would just love to get Juk rolling again :D
Back to top
View user's profile Send private message
kgollwitzer
n00b
n00b


Joined: 16 Aug 2002
Posts: 17

PostPosted: Sat Nov 29, 2003 12:07 pm    Post subject: Reply with quote

Same error for me ... i'm trying to compile this since allmost on week, day for day .....
Back to top
View user's profile Send private message
jeg42
n00b
n00b


Joined: 26 Jun 2002
Posts: 4

PostPosted: Tue Dec 02, 2003 1:38 am    Post subject: Reply with quote

I got it to compile with gcc 3.2.3 by just turning off most of my usual optimization flags. I was able to leave on:
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"

You might be able to turn on more optimizations, but I'm too lazy to check exactly what is breaking it. Note, your mileage may vary with your gcc version.
Back to top
View user's profile Send private message
hairyfeet
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 118
Location: Århus, Denmark

PostPosted: Tue Dec 02, 2003 7:56 pm    Post subject: Reply with quote

YES. That did it!

Changed the -O3 option to -O2 and it worked.

Thank you for the tip!

Is this a specific Athlon-xp problem or is it just not possible to compile taglib with -O3?
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Sat Dec 13, 2003 9:47 pm    Post subject: Reply with quote

I just got it to work using the -02 option on a P3 and P4, so it does not seem to be athlon specific.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum