Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002714Doomseeker[All Projects] Bugpublic2016-04-30 06:572018-09-29 14:31
ReporterMatt 
Assigned ToZalewa 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionunable to reproduce 
PlatformLinuxOSopenSUSEOS VersionTumbleweed
Product Version1.0 
Target Version1.1Fixed in Version1.1 
Summary0002714: Wadseeker won't compile during the Doomseeker compilation
DescriptionI am trying to package Doomseeker for openSUSE games. Can't solve the compilation problems
Steps To ReproduceSee'https://build.opensuse.org/package/show/home:Mailaender:branches:games:tools/doomseeker [^]'
Additional InformationCMakeFiles/doomseeker.dir/versiondump.cpp.o CMakeFiles/doomseeker.dir/doomseeker_automoc.cpp.o -o ../../doomseeker -rdynamic -lQtGui -lQtCore -lQtNetwork -lQtXml ../../libwadseeker.so -ldl -lQtCore -lQtNetwork -lz -lbz2 ../wadseeker/lzma/liblzma.so
[ 364s] ../wadseeker/lzma/liblzma.so: undefined reference to `Event_Reset'
[ 364s] ../wadseeker/lzma/liblzma.so: undefined reference to `AutoResetEvent_CreateNotSignaled'
[ 364s] ../wadseeker/lzma/liblzma.so: undefined reference to `CriticalSection_Init'
[ 364s] ../wadseeker/lzma/liblzma.so: undefined reference to `Semaphore_Close'
[ 364s] ../wadseeker/lzma/liblzma.so: undefined reference to `Semaphore_Wait'
[ 364s] ../wadseeker/lzma/liblzma.so: undefined reference to `Thread_Wait'
[ 364s] ../wadseeker/lzma/liblzma.so: undefined reference to `Event_Close'
[ 364s] ../wadseeker/lzma/liblzma.so: undefined reference to `Thread_Create'
[ 364s] ../wadseeker/lzma/liblzma.so: undefined reference to `Event_Set'
[ 364s] ../wadseeker/lzma/liblzma.so: undefined reference to `Event_Wait'
[ 364s] ../wadseeker/lzma/liblzma.so: undefined reference to `Semaphore_ReleaseN'
[ 364s] ../wadseeker/lzma/liblzma.so: undefined reference to `Semaphore_Create'
[ 364s] ../wadseeker/lzma/liblzma.so: undefined reference to `Thread_Close'
[ 364s] collect2: error: ld returned 1 exit status
Attached Files

- Relationships

-  Notes
User avatar (0014770)
Zalewa (developer)
2016-04-30 07:37
edited on: 2016-04-30 07:38

Interesting. If you point me how to replicate your setup I'll try to build a VM when I have some time and check out what might be wrong. I might be able to devise a proper, permanent solution then.

For now:

Your logs say that Wadseeker is unable to link against some functions in liblzma. liblzma code is attached in Doomseeker's repo. These functions are in "src\wadseeker\lzma\C\Threads.c" file but if you look into "src\wadseeker\lzma\CMakeLists.txt" you will notice that there's an if in line 25 that enables compilation of this file only on Windows. Delete this if/endif pair and see what happens.

User avatar (0014776)
Zalewa (developer)
2016-04-30 18:32

I just installed newest OpenSUSE and compiled Wadseeker without any problems.
User avatar (0014799)
Matt (reporter)
2016-05-02 20:58

Where did you grab the source code and do you have a patch prepared to make version 1.0 compile on non-Windows systems?
User avatar (0014801)
Zalewa (developer)
2016-05-02 20:59

I cloned the official repository and compiled the newest revision with Qt5:'https://bitbucket.org/Doomseeker/doomseeker [^]'
User avatar (0014980)
Zalewa (developer)
2016-05-25 17:29

Seeing that you managed to get the package accepted I suppose you don't need any more help, right?
User avatar (0014982)
Matt (reporter)
2016-05-25 18:25

Not using the %cmake macro therefore building without $RPM_OPT_FLAGS seemed to have solved it. This probably indicates some linker problems in your make files, but I don't know enough to fix them. I also switched from source code ZIP to the bitbucket tarball.
User avatar (0014983)
Zalewa (developer)
2016-05-25 20:39

We don't have "make files" per say. Our make files are generated by CMake basing on the dependencies defined in CMakeLists.txt. These dependencies are resolved to concrete system paths by cmake program which then generates appropriate Makefiles.

This is cool because it also works on Windows.

Anyway, because I cannot reproduce the problem on a clean system using the newest source-code checkout and because your problem is essentially resolved I'm closing this request as "unable to reproduce". Perhaps there was an error that got fixed on the way to Doomseeker 1.1.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2016-04-30 06:57 Matt New Issue
2016-04-30 07:37 Zalewa Note Added: 0014770
2016-04-30 07:38 Zalewa Note Edited: 0014770 View Revisions
2016-04-30 18:32 Zalewa Note Added: 0014776
2016-05-02 20:58 Matt Note Added: 0014799
2016-05-02 20:59 Zalewa Note Added: 0014801
2016-05-25 17:29 Zalewa Note Added: 0014980
2016-05-25 18:25 Matt Note Added: 0014982
2016-05-25 20:39 Zalewa Note Added: 0014983
2016-05-25 20:39 Zalewa Status new => closed
2016-05-25 20:39 Zalewa Assigned To => Zalewa
2016-05-25 20:39 Zalewa Resolution open => unable to reproduce
2016-05-25 20:39 Zalewa Fixed in Version => 1.1
2018-09-29 14:30 WubTheCaptain Target Version => 1.1
2018-09-29 14:31 WubTheCaptain Severity major => block






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker