kdesupport not compiling

Matthew Dawson matthewjd at gmail.com
Fri Mar 27 07:29:37 GMT 2009


Hello,

When trying to compile a recent trunk, kdesupport fails to compile with:

kdesvn at mtab:~/kdesvn/build/kdesupport/taglib-extras/taglib-extras$ make
[  0%] Building CXX object taglib-extras/taglib-extras/CMakeFiles/tag-extras.dir/tfile_helper.cpp.o
/home/kdesvn/kdesvn/kdesupport/taglib-extras/taglib-extras/tfile_helper.cpp: In function ‘bool CheckExtensionImpl(const char*, const char*)’:
/home/kdesvn/kdesvn/kdesupport/taglib-extras/taglib-extras/tfile_helper.cpp:56: error: ‘stricmp’ was not declared in this scope
make[2]: *** [taglib-extras/taglib-extras/CMakeFiles/tag-extras.dir/tfile_helper.cpp.o] Error 1
make[1]: *** [taglib-extras/taglib-extras/CMakeFiles/tag-extras.dir/all] Error 2
make: *** [all] Error 2

It appears that HAVE_STRINGS_H is not defined further up in the file, and strcasecmp is being defined to stricmp, causing the above compile failure.  I'm not sure why its not being defined, because the CMakeCache.txt file gas HAVE_STRINGS_H set to 1.

Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090327/e7317348/attachment.sig>


More information about the kde-core-devel mailing list