Strigi svnhead does not compile with mingw4

Gert Kello gert.kello at gmail.com
Tue Nov 23 15:57:47 CET 2010


Hi.

Perhaps this is not a right place to complain but I'm not sure where I
should create the bug report?

Anyway, compilation complains about
[ 47%] Building CXX object
libstreamanalyzer/lib/CMakeFiles/streamanalyzerstatic.dir/endanalyzers/helperendanalyzer.cpp.obj
cd E:\Kde4\build\kdesupport\strigi-0.7.1.20100107\work\mingw4-RelWithDebInfo-svnHEAD\libstreamanalyzer\lib
&& e:\Kde4\mingw\bin\g++.exe   -D_REENTRANT -DHAVE_CONFIG_H
-DMAKE_STREAMANALYZER_LIB -O2 -g
-Ie:\Kde4\svn\trunk\kdesupport\strigi\libstreamanalyzer\..\libstreams\include
-IE:\Kde4\build\kdesupport\strigi-0.7.1.20100107\work\mingw4-RelWithDebInfo-svnHEAD\libstreamanalyzer\..\libstreams\include
-Ie:\Kde4\svn\trunk\kdesupport\strigi\libstreamanalyzer\include
-IE:\Kde4\build\kdesupport\strigi-0.7.1.20100107\work\mingw4-RelWithDebInfo-svnHEAD\libstreamanalyzer\include
-Ie:\Kde4\svn\trunk\kdesupport\strigi\libstreamanalyzer\lib
-IE:\Kde4\build\kdesupport\strigi-0.7.1.20100107\work\mingw4-RelWithDebInfo-svnHEAD\libstreamanalyzer\lib
-Ie:\Kde4\include   -fPIC -o
CMakeFiles\streamanalyzerstatic.dir\endanalyzers\helperendanalyzer.cpp.obj
-c e:\Kde4\svn\trunk\kdesupport\strigi\libstreamanalyzer\lib\endanalyzers\helperendanalyzer.cpp
e:\Kde4\svn\trunk\kdesupport\strigi\libstreamanalyzer\lib\endanalyzers\helperendanalyzer.cpp:1:
warning: -fPIC ignored for target (all code is position independent)
e:\Kde4\svn\trunk\kdesupport\strigi\libstreamanalyzer\lib\endanalyzers\helperendanalyzer.cpp:
In member function 'std::string
HelperEndAnalyzer::writeToTempFile(Strigi::InputStream*) const':
e:\Kde4\svn\trunk\kdesupport\strigi\libstreamanalyzer\lib\endanalyzers\helperendanalyzer.cpp:201:
error: 'mkstemp' was not declared in this scope

The file has commented out //#include "compat.h"
It was done by
------
Revision: 1104187
Author: vandenoever
Date: 1:47:37, 17.03.2010
Message:
Project reorder part 2

The files were adapted to the new directory layout.

Strigi has been split into 5 different projects that may be compiled
independently.

Ports other than linux may experience problems. We appologize for any
inconveniences.
------

Gert


More information about the Kde-windows mailing list