Compiling Strigi fails
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Thu Apr 12 19:17:55 CEST 2007
Andreas Pakulat schrieb:
> On 12.04.07 18:19:13, Christian Ehrlicher wrote:
>> Andreas Pakulat schrieb:
>>> See <URL:http://www.mingw.org/bugs.shtml> for instructions.
>>> mingw32-make[2]: *** [src/streams/CMakeFiles/oletest.dir/oleinputstream.obj]
>>> Error 1
>>> mingw32-make[1]: *** [src/streams/CMakeFiles/oletest.dir/all] Error 2
>>> mingw32-make: *** [all] Error 2
>>> Am I alone with this?
>> No, fixed :)
>
> Thanks, didn't take long til the next problem:
>
> mingw32-make[2]: Entering directory `D:/MinGW/sources/strigi/build'
> Linking CXX shared library libstreamanalyzer.dll
> cd D:\MinGW\sources\strigi\build\src\streamanalyzer && D:\MinGW\CMake2.4\bin\cmake.exe -P CMakeFiles\streamanalyzer.dir\cmake_clean_target.cmake
> cd D:\MinGW\sources\strigi\build\src\streamanalyzer && D:\MinGW\CMake2.4\bin\cmake.exe -E cmake_link_script CMakeFiles\streamanalyzer.dir\link.txt --verbose=1
> D:\MinGW\bin\g++.exe -shared -o libstreamanalyzer.dll -Wl,--out-implib,libstreamanalyzer.dll.a -Wl,--major-image-version,0,--minor-image-version,3 "CMakeFiles/streamanalyzer.dir/analysisresult.obj" "CMakeFiles/streamanalyzer.dir/analyzerconfiguration.obj" "CMakeFiles/streamanalyzer.dir/analyzerloader.obj" "CMakeFiles/streamanalyzer.dir/digesteventanalyzer.obj" "CMakeFiles/streamanalyzer.dir/eventthroughanalyzer.obj" "CMakeFiles/streamanalyzer.dir/fieldproperties.obj" "CMakeFiles/streamanalyzer.dir/fieldpropertiesdb.obj" "CMakeFiles/streamanalyzer.dir/fieldtypes.obj" "CMakeFiles/streamanalyzer.dir/filelister.obj" "CMakeFiles/streamanalyzer.dir/htmlsaxanalyzer.obj" "CMakeFiles/streamanalyzer.dir/id3v2throughanalyzer.obj" "CMakeFiles/streamanalyzer.dir/lineeventanalyzer.obj" "CMakeFiles/streamanalyzer.dir/mimeeventanalyzer.obj" "CMakeFiles/streamanalyzer.dir/odfmimetypelineanalyzer.obj" "CMakeFiles/streamanalyzer.dir/odfsaxanalyzer.obj" "CMakeFiles/streamanalyzer.dir/oggth
roughanalyzer.obj" "CMakeFiles/streamanalyzer.dir/query.obj" "CMakeFiles/streamanalyzer.dir/saxeventanalyzer.obj" "CMakeFiles/streamanalyzer.dir/sha1.obj" "CMakeFiles/streamanalyzer.dir/streamanalyzer.obj" "CMakeFiles/streamanalyzer.dir/streamanalyzerfactory.obj" "CMakeFiles/streamanalyzer.dir/endanalyzers/arendanalyzer.obj" "CMakeFiles/streamanalyzer.dir/endanalyzers/bmpendanalyzer.obj" "CMakeFiles/streamanalyzer.dir/endanalyzers/bz2endanalyzer.obj" "CMakeFiles/streamanalyzer.dir/endanalyzers/cpioendanalyzer.obj" "CMakeFiles/streamanalyzer.dir/endanalyzers/gzipendanalyzer.obj" "CMakeFiles/streamanalyzer.dir/endanalyzers/helperendanalyzer.obj" "CMakeFiles/streamanalyzer.dir/endanalyzers/mailendanalyzer.obj" "CMakeFiles/streamanalyzer.dir/endanalyzers/pngendanalyzer.obj" "CMakeFiles/streamanalyzer.dir/endanalyzers/rpmendanalyzer.obj" "CMakeFiles/streamanalyzer.dir/endanalyzers/tarendanalyzer.obj" "CMakeFiles/streamanalyzer.dir/endanalyzers/textendanalyzer.obj" "CMakeFiles/stre
amanalyzer.dir/endanalyzers/zipendanalyzer.obj" "CMakeFiles/streamanalyzer.dir/endanalyzers/mpegendanalyzer.obj" -Ld:\MinGW\sources\strigi\build\src\streams -Ld:\MinGW\win32libs\lib -lstreams -lxml2 -lz -lbzip2 -Wl,-Bstatic -liconv -Wl,-Bdynamic
> D:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lxml2
> collect2: ld returned 1 exit status
> mingw32-make[2]: *** [src/streamanalyzer/libstreamanalyzer.dll] Error 1
> mingw32-make[2]: Leaving directory `D:/MinGW/sources/strigi/build'
> mingw32-make[1]: *** [src/streamanalyzer/CMakeFiles/streamanalyzer.dir/all] Error 2
> mingw32-make[1]: Leaving directory `D:/MinGW/sources/strigi/build'
> mingw32-make: *** [all] Error 2
>
> I do have libxml2.lib in d:\MinGW\win32libs\lib and I do have
> liblibxml2.a there too. After renaming that to libxml2.a linking works
> and the rest of strigi built fine.
>
libxml2.a is the correct one - where do you have liblibxml2.a from? From
kdewin-installer? I'll take a look
Christian
btw: I'm online with icq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20070412/df4ee802/attachment.pgp
More information about the Kde-windows
mailing list