kdesupport not compiling
matthewjd at gmail.com
Fri Mar 27 07:29:37 GMT 2009
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: *** [taglib-extras/taglib-extras/CMakeFiles/tag-extras.dir/tfile_helper.cpp.o] Error 1
make: *** [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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: This is a digitally signed message part.
More information about the kde-core-devel