Menu

#30 [ 57%] Building CXX object src/CMakeFiles/pt.dir/taginfo.o

V2
open
nobody
5
2009-09-19
2009-09-19
Anonymous
No

Make fails building taginfo.cpp

[ 57%] Building CXX object src/CMakeFiles/pt.dir/taginfo.o
/var/tmp/portage/media-sound/pinkytagger-2.2.3/work/pinkytagger-2.2.3/src/taginfo.cpp: In member function »QString TagInfo::read_tracknr_internal() const«:
/var/tmp/portage/media-sound/pinkytagger-2.2.3/work/pinkytagger-2.2.3/src/taginfo.cpp:152: Fehler: »sprintf« wurde in diesem Gültigkeitsbereich nicht definiert
make[2]: *** [src/CMakeFiles/pt.dir/taginfo.o] Fehler 1
make[1]: *** [src/CMakeFiles/pt.dir/all] Fehler 2
make: *** [all] Fehler 2

I am trying to build pinkytagger-2.2.3 on gentoo with gcc-4.4.1

Discussion

  • René Fritz

    René Fritz - 2009-10-06

    I have the same problem with Ubuntu Karmic building 2.2.2 or 2.2.3. Taglib is 1.6.0.

    btw libmusicbrainz4 was not detected by cmake. I had to install version 3. Detecting ffmpeg didn't work too but lame was.

     
  • Anonymous

    Anonymous - 2009-11-11

    This bug affect me to on Ubuntu 9.10 karmic i386. The build will continue if i comment line 152.

     
  • Pusherman

    Pusherman - 2010-05-22

    You can fix this by adding an include file in src/taginfo.cpp:

    20 ***************************************************************************/
    21 #include "taginfo.h"
    22 #include <stdio.h> /* add this line */
    23
    24#include <iostream>

    Don't forget to do a "make clean" and the a normal "make".
    Works for me on Ubuntu Lucid x86_64

     

Log in to post a comment.