View previous topic :: View next topic |
Author |
Message |
hairyfeet Tux's lil' helper
Joined: 07 Jan 2003 Posts: 118 Location: Århus, Denmark
|
Posted: Sat Nov 29, 2003 11:49 am Post subject: KDECVS Taglib compilation fails |
|
|
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 |
|
Back to top |
|
|
kgollwitzer n00b
Joined: 16 Aug 2002 Posts: 17
|
Posted: Sat Nov 29, 2003 12:07 pm Post subject: |
|
|
Same error for me ... i'm trying to compile this since allmost on week, day for day ..... |
|
Back to top |
|
|
jeg42 n00b
Joined: 26 Jun 2002 Posts: 4
|
Posted: Tue Dec 02, 2003 1:38 am Post subject: |
|
|
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 |
|
|
hairyfeet Tux's lil' helper
Joined: 07 Jan 2003 Posts: 118 Location: Århus, Denmark
|
Posted: Tue Dec 02, 2003 7:56 pm Post subject: |
|
|
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 |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Sat Dec 13, 2003 9:47 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|