qmbmp3file.cpp: In member function `virtual int
QMBMP3File::Output(int, QString, QString, bool)':
qmbmp3file.cpp:270: error: `errno' undeclared (first
use this function)
qmbmp3file.cpp:270: error: (Each undeclared identifier
is reported only once for each function it appears in.)
qmbmp3file.cpp:270: error: `EXDEV' undeclared (first
use this function)
make[2]: *** [qmbmp3file.o] Error 1
make[2]: Leaving directory `/share/qmbtagger-0.07/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/share/qmbtagger-0.07'
make: *** [all] Error 2
[steve@ishtar /share/qmbtagger-0.07]$ gcc --version
gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
[steve@ishtar /share/qmbtagger-0.07]$ cat
/etc/redhat-release
Fedora Core release 3 (Heidelberg)
using libmusicbrainz-devel 2.0.2 release 11
Logged In: NO
qmbmp3file.cpp and qmbflacfile.cpp need a #include <errno.h>
added at the beginning. I think this is a gcc 3.4 issue.
Logged In: YES
user_id=602092
I experienced this problem, too.
It went away after adding
#include <errno.h>
at the start of src/qmbmp3file.cpp .
Logged In: YES
user_id=602092
And a gcc 4.0 issue as well. I haven't tested with 3.3.