User Tools

Site Tools


user:draugthewhopper:windowsbuild-server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
user:draugthewhopper:windowsbuild-server [2025/02/22 22:31] draugthewhopperuser:draugthewhopper:windowsbuild-server [2025/04/18 13:08] (current) – external edit 127.0.0.1
Line 221: Line 221:
  
 Forcing it to use specific paths still works: ''$ crossfire-server.exe -conf /c/autobuild.server/cfsource/cfserver/lib/config -data /c/autobuild.server/cfsource/cfserver/lib'' Forcing it to use specific paths still works: ''$ crossfire-server.exe -conf /c/autobuild.server/cfsource/cfserver/lib/config -data /c/autobuild.server/cfsource/cfserver/lib''
 +
 +If everything is loaded, but the server exits early with exit code 0 (to check: issue ''echo $?''), try purging var/crossfire/accounts, or all of var/crossfire.
 +
 +If it exits with exit code 3, the cause is unknown, but a TCP socket stuck in TIME_WAIT is a possible culprit.
 +
 +====== More work on python: ======
 +
 +The libtool message about symbols is preventing an actual .dll file from being created. We can override libtool by editing libtool:7478 to read ''allow_undefined=no''.
 +
 +Now, the cfpython.dll is built, but cfanim fails:
 +
 + make[3]: Entering directory '/c/autobuild.server/cfsource/cfserver/plugins/cfanim'
 + CXXLD    cfanim.la
 + C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe
 + : .libs/cfanim.o: in function `find_by_name':
 + C:/autobuild.server/cfsource/cfserver/plugins/cfanim/cfanim.cpp:847:(.text+0x208c): undefined refere
 + nce to `map_space(mapstruct const*, int, int)'
 + collect2.exe: error: ld returned 1 exit status
 + make[3]: *** [Makefile:497: cfanim.la] Error 1
 + make[3]: Leaving directory '/c/autobuild.server/cfsource/cfserver/plugins/cfanim'
 + make[2]: *** [Makefile:554: all-recursive] Error 1
 + make[2]: Leaving directory '/c/autobuild.server/cfsource/cfserver/plugins/cfanim'
 + make[1]: *** [Makefile:395: all-recursive] Error 1
 + make[1]: Leaving directory '/c/autobuild.server/cfsource/cfserver/plugins'
 + make: *** [Makefile:434: all-recursive] Error 1
 +
 +The server looks for plugins in ''/usr/lib/crossfire/plugins'', so we need to manually put this into ''C:\msys64\usr\lib\crossfire\plugins''. Maybe make install would do it for us.
 +
 +But, the server uses ''PLUGIN_SUFFIX'' to know what files to load as plugins. According to include/win32.h, this should be ''.dll'', but I guess the ''server/Makefile.am'' takes precedence. So, we rename the file to have an extension of ''.so''.
 +
 +However, when the server tries to load it, we get ''25/02/26 14:45:17 [EE] Plugin error while requesting /usr/lib/crossfire/plugins/cfpython.dll.so.initPlugin: No such process''
user/draugthewhopper/windowsbuild-server.1740285064.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki