I am going to try cross-building AlephOne using the Debian.
In the past, there was a page that looks like the following AlephWiki,but it has gone.
Cross-build Instructions
I would be able similar in MinGW cross environment, but it is an error in os_win.c.
When build for Windows, what you use environment? and how to create it?
How to cross build AlephOne?
Here's the script I use to configure Aleph One with MXE:
Make sure to edit it to fit your own setup.
Code: Select all
#!/bin/bash
PREFIX=/home/ghs/Development/mxe/usr
TARGET=i686-pc-mingw32
PATH="$PREFIX/bin:$PREFIX/$TARGET/bin:$PATH"
if [ -f "$PREFIX/$TARGET/bin/$TARGET-sdl-config" ]; then
SDL_CONFIG="$PREFIX/$TARGET/bin/$TARGET-sdl-config"
export SDL_CONFIG
fi
export PATH
LDFLAGS=-Wl,-S LIBS="-lfreetype -ltiff -ljpeg -lpng -lz -lbz2 -lstdc++ -lws2_32 -liphlpapi" ../trunk/configure --host=$TARGET --build=i386-linux --disable-vorbis --disable-smpeg --disable-mad
The one I use is very close to Treellama's, but I'll post it anyway as an example of cross-compiling from SVN instead of a release tarball. In this case, autogen.sh is needed to create the configure script.
Code: Select all
#!/bin/bash
MINGW_ROOT=/usr/src/apps/mxe-git-stable
MINGW_PREFIX=$MINGW_ROOT/usr
MINGW_TARGET=i686-pc-mingw32
MINGW_PATH="$MINGW_PREFIX/$MINGW_TARGET/bin:$MINGW_PREFIX/bin"
PATH="$MINGW_PATH:$PATH" SDL_CONFIG="$MINGW_PREFIX/$MINGW_TARGET/bin/sdl-config" ACLOCAL_FLAGS="-I$MINGW_PREFIX/$MINGW_TARGET/share/aclocal" LDFLAGS=-Wl,-S LIBS="-lfreetype -ltiff -ljpeg -lpng -lz -lstdc++ -lws2_32 -lbz2 -liphlpapi" ./autogen.sh --prefix=$MINGW_PREFIX --target=$MINGW_TARGET --host=$MINGW_TARGET --build=x86_64-linux --disable-mad --disable-sndfile --disable-vorbis --disable-smpeg
PATH="$MINGW_PATH:$PATH" make
Thanks,
I was able to build.
I was able to build.
I built my build environment with Mingw cross env for the first time in a while. but the following link error occurs. Can I get an image of the build environment used by JIRA?
Code: Select all
i686-w64-mingw32.static-g++ -std=gnu++11 -g -O2 -Wl,-subsystem,windows -o AlephOne.exe shell.o shell_misc.o CSeries/libcseries.a Files/libfiles.a FFmpeg/libffmpeg.a GameWorld/libgameworld.a Input/libinput.a Lua/liba1lua.a Misc/libmisc.a ModelView/libmodelview.a Network/libnetwork.a Network/Metaserver/libmetaserver.a RenderMain/librendermain.a RenderOther/librenderother.a Sound/libsound.a XML/libxml.a CSeries/libcseries.a Files/libfiles.a FFmpeg/libffmpeg.a GameWorld/libgameworld.a Input/libinput.a Lua/liba1lua.a Misc/libmisc.a ModelView/libmodelview.a Network/libnetwork.a Network/Metaserver/libmetaserver.a RenderMain/librendermain.a RenderOther/librenderother.a Sound/libsound.a TCPMess/libtcpmess.a XML/libxml.a LibNAT/libnat.a -lexpat alephone-resources.o -lpng16 -lz -lzzip -lz -lcurl -lssh2 -lgcrypt -lgpg-error -lintl -lgnutls -lhogweed -lnettle -lidn2 -latomic -lcrypt32 -lgmp -lunistring -liconv -lcharset -lwldap32 -lz -lws2_32 -lpthread -lspeexdsp -lm -lspeex -lm -lvorbisfile -lvorbis -logg -lm -lsndfile -lFLAC -lvorbisenc -lvorbis -logg -lm -lmad -lavformat -lbluray -lxml2 -lharfbuzz -lcairo -lgobject-2.0 -lfontconfig -lfreetype -lusp10 -lmsimg32 -lpixman-1 -L/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib -lffi -lexpat -lbz2 -lpng16 -lharfbuzz_too -lfreetype_too -lglib-2.0 -lwinmm -lshlwapi -lpcre -lintl -lgdi32 -lgnutls -lhogweed -lnettle -lidn2 -latomic -lcrypt32 -lgmp -lunistring -lcharset -lws2_32 -lavcodec -lvpx -lpthread -liconv -llzma -lopencore-amrwb -lz -lmp3lame -lopencore-amrnb -lopus -lspeex -ltheoraenc -ltheoradec -lvo-amrwbenc -lvorbisenc -lvorbis -logg -lx264 -lxvidcore -lole32 -lswresample -lswscale -lavutil -lm -luser32 -lbcrypt -lSDL2_image -ltiff -lpng16 -lwebp -lmingw32 -lSDL2main -lSDL2 -mwindows -Wl,--no-undefined -lsamplerate -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lsetupapi -lversion -luuid -static-libgcc -llzma -ljpeg -lz -lm -lz -lSDL2_net -lmingw32 -lSDL2main -lSDL2 -mwindows -Wl,--no-undefined -lm -lsamplerate -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lsetupapi -lversion -luuid -static-libgcc -lSDL2_ttf -lmingw32 -lSDL2main -lSDL2 -mwindows -Wl,--no-undefined -lsamplerate -ldinput8 -ldxguid -ldxerr8 -luser32 -limm32 -loleaut32 -lshell32 -lsetupapi -lversion -luuid -static-libgcc -lharfbuzz -lcairo -lgobject-2.0 -lfontconfig -lfreetype -lm -lusp10 -lmsimg32 -lgdi32 -lpixman-1 -L/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib -lffi -lexpat -lbz2 -lpng16 -lz -lharfbuzz_too -lfreetype_too -lglib-2.0 -lws2_32 -lole32 -lwinmm -lshlwapi -lpcre -lintl -liconv -lboost_filesystem-mt -lboost_system-mt -ldsound -lwsock32 -lmingw32 -lSDL2main -lSDL2 -mwindows -Wl,--no-undefined -lm -lsamplerate -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lsetupapi -lversion -luuid -static-libgcc -lstdc++ -lGLEW -lopengl32 -lglu32
/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib/libswscale.a(utils.o):utils.c:(.text.unlikely+0x1f1): undefined reference to `av_malloc_array'
/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib/libswscale.a(utils.o):utils.c:(.text.unlikely+0x260): undefined reference to `av_mallocz_array'
/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib/libswscale.a(utils.o):utils.c:(.text.unlikely+0x2c6): undefined reference to `av_malloc_array'
/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib/libswscale.a(utils.o):utils.c:(.text.unlikely+0x37a): undefined reference to `av_malloc_array'
/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib/libswscale.a(utils.o):utils.c:(.text.unlikely+0x632): undefined reference to `av_malloc_array'
/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib/libswscale.a(utils.o):utils.c:(.text.unlikely+0x1269): undefined reference to `av_mallocz_array'
/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib/libswscale.a(utils.o):utils.c:(.text.unlikely+0x1686): undefined reference to `av_malloc_array'
/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib/libswscale.a(utils.o):utils.c:(.text.unlikely+0x1a09): undefined reference to `av_mallocz_array'
/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib/libswscale.a(vscale.o):vscale.c:(.text+0xa1d): undefined reference to `av_mallocz_array'
/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib/libswscale.a(slice.o):slice.c:(.text+0x7fa): undefined reference to `av_mallocz_array'
/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib/libswscale.a(slice.o):slice.c:(.text+0x81e): undefined reference to `av_mallocz_array'
/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib/libswscale.a(slice.o):slice.c:(.text+0x86e): undefined reference to `av_mallocz_array'
/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib/libswscale.a(slice.o):slice.c:(.text+0x93c): more undefined references to `av_mallocz_array' follow
/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib/libSDL2_net.a(SDLnet.o): In function `SDLNet_GetLocalAddresses':
/home/logue/mxe/tmp-sdl2_net-i686-w64-mingw32.static/SDL2_net-2.0.0/SDLnet.c:238: undefined reference to `[email protected]'
/home/logue/mxe/tmp-sdl2_net-i686-w64-mingw32.static/SDL2_net-2.0.0/SDLnet.c:243: undefined reference to `[email protected]'
collect2: error: ld returned 1 exit status
Makefile:547: recipe for target 'AlephOne.exe' failed
make[3]: *** [AlephOne.exe] Error 1
make[3]: ディレクトリ '/mnt/hgfs/Share/alephone/Source_Files' から出ます
Makefile:598: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: ディレクトリ '/mnt/hgfs/Share/alephone/Source_Files' から出ます
Makefile:554: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: ディレクトリ '/mnt/hgfs/Share/alephone' から出ます
Makefile:448: recipe for target 'all' failed
make: *** [all] Error 2
Well. It does not complete.
After all, there is a link error around ffmpeg.
After all, there is a link error around ffmpeg.
Code: Select all
$ ./configure --host=i686-w64-mingw32.static
$ make
Code: Select all
i686-w64-mingw32.static-g++ -std=gnu++11 -g -O2 -Wl,-subsystem,windows -o AlephOne.exe shell.o shell_misc.o CSeries/libcseries.a Files/libfiles.a FFmpeg/libffmpeg.a GameWorld/libgameworld.a Input/libinput.a Lua/liba1lua.a Misc/libmisc.a ModelView/libmodelview.a Network/libnetwork.a Network/Metaserver/libmetaserver.a RenderMain/librendermain.a RenderOther/librenderother.a Sound/libsound.a XML/libxml.a CSeries/libcseries.a Files/libfiles.a FFmpeg/libffmpeg.a GameWorld/libgameworld.a Input/libinput.a Lua/liba1lua.a Misc/libmisc.a ModelView/libmodelview.a Network/libnetwork.a Network/Metaserver/libmetaserver.a RenderMain/librendermain.a RenderOther/librenderother.a Sound/libsound.a TCPMess/libtcpmess.a XML/libxml.a LibNAT/libnat.a -lexpat alephone-resources.o -lpng16 -lz -lzzip -lz -lcurl -lssh2 -lgcrypt -lgpg-error -lintl -lgnutls -lhogweed -lnettle -lidn2 -latomic -lcrypt32 -lgmp -lunistring -liconv -lcharset -lwldap32 -lz -lws2_32 -lpthread -lspeexdsp -lm -lspeex -lm -lvorbisfile -lvorbis -logg -lm -lavformat -lws2_32 -lz -lavcodec -lvpx -lpthread -liconv -lvorbisenc -lvorbis -logg -lswscale -lavutil -lm -luser32 -lbcrypt -lSDL2_image -ltiff -lpng16 -lmingw32 -lSDL2main -lSDL2 -mwindows -Wl,--no-undefined -lsamplerate -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lsetupapi -lversion -luuid -static-libgcc -lwebp -llzma -ljpeg -lz -lm -lz -lSDL2_net -lmingw32 -lSDL2main -lSDL2 -mwindows -Wl,--no-undefined -lm -lsamplerate -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lsetupapi -lversion -luuid -static-libgcc -lSDL2_ttf -lmingw32 -lSDL2main -lSDL2 -mwindows -Wl,--no-undefined -lsamplerate -ldinput8 -ldxguid -ldxerr8 -luser32 -limm32 -loleaut32 -lshell32 -lsetupapi -lversion -luuid -static-libgcc -lharfbuzz -lcairo -lgobject-2.0 -lfontconfig -lfreetype -lm -lusp10 -lmsimg32 -lgdi32 -lpixman-1 -L/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib -lffi -lexpat -lbz2 -lpng16 -lz -lharfbuzz_too -lfreetype_too -lglib-2.0 -lws2_32 -lole32 -lwinmm -lshlwapi -lpcre -lintl -liconv -lboost_filesystem-mt -lboost_system-mt -ldsound -lwsock32 -lmingw32 -lSDL2main -lSDL2 -mwindows -Wl,--no-undefined -lm -lsamplerate -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lsetupapi -lversion -luuid -static-libgcc -lstdc++ -lGLEW -lopengl32 -lglu32
Files/libfiles.a(FileHandler.o): In function `ZN13FileSpecifier4OpenER10OpenedFileb':
/mnt/hgfs/Share/alephone/Source_Files/Files/FileHandler.cpp:373: undefined reference to `SDL_RWFromZZIP'
Files/libfiles.a(WadImageCache.o): In function `ZNK13WadImageCache12resize_imageEP11SDL_Surfaceii':
/mnt/hgfs/Share/alephone/Source_Files/Files/WadImageCache.cpp:115: undefined reference to `SDL_Resize(SDL_Surface*, int, int, bool, int)'
Misc/libmisc.a(interface.o): In function `Z10show_movies':
/mnt/hgfs/Share/alephone/Source_Files/Misc/interface.cpp:3097: undefined reference to `SDL_ffmpegOpen'
/mnt/hgfs/Share/alephone/Source_Files/Misc/interface.cpp:3101: undefined reference to `SDL_ffmpegSelectVideoStream'
/mnt/hgfs/Share/alephone/Source_Files/Misc/interface.cpp:3102: undefined reference to `SDL_ffmpegGetVideoStream'
/mnt/hgfs/Share/alephone/Source_Files/Misc/interface.cpp:3104: undefined reference to `SDL_ffmpegSelectAudioStream'
/mnt/hgfs/Share/alephone/Source_Files/Misc/interface.cpp:3105: undefined reference to `SDL_ffmpegGetAudioStream'
/mnt/hgfs/Share/alephone/Source_Files/Misc/interface.cpp:3107: undefined reference to `SDL_ffmpegCreateVideoFrame'
/mnt/hgfs/Share/alephone/Source_Files/Misc/interface.cpp:3123: undefined reference to `SDL_ffmpegGetAudioSpec'
/mnt/hgfs/Share/alephone/Source_Files/Misc/interface.cpp:3129: undefined reference to `SDL_ffmpegCreateAudioFrame'
/mnt/hgfs/Share/alephone/Source_Files/Misc/interface.cpp:3130: undefined reference to `SDL_ffmpegGetAudioFrame'
/mnt/hgfs/Share/alephone/Source_Files/Misc/interface.cpp:3165: undefined reference to `SDL_ffmpegGetAudioFrame'
/mnt/hgfs/Share/alephone/Source_Files/Misc/interface.cpp:3212: undefined reference to `SDL_ffmpegFreeAudioFrame'
/mnt/hgfs/Share/alephone/Source_Files/Misc/interface.cpp:3219: undefined reference to `SDL_ffmpegFreeVideoFrame'
/mnt/hgfs/Share/alephone/Source_Files/Misc/interface.cpp:3220: undefined reference to `SDL_ffmpegFree'
/mnt/hgfs/Share/alephone/Source_Files/Misc/interface.cpp:3177: undefined reference to `SDL_ffmpegGetVideoFrame'
/mnt/hgfs/Share/alephone/Source_Files/Misc/interface.cpp:3114: undefined reference to `SDL_ffmpegFreeVideoFrame'
Network/libnetwork.a(network.o): In function `Z7NetExitv':
/mnt/hgfs/Share/alephone/Source_Files/Network/network.cpp:1337: undefined reference to `LNat_Upnp_Remove_Port_Mapping'
/mnt/hgfs/Share/alephone/Source_Files/Network/network.cpp:1338: undefined reference to `LNat_Upnp_Remove_Port_Mapping'
/mnt/hgfs/Share/alephone/Source_Files/Network/network.cpp:1339: undefined reference to `LNat_Upnp_Controller_Free'
Network/libnetwork.a(network.o): In function `Z8NetEnterv':
/mnt/hgfs/Share/alephone/Source_Files/Network/network.cpp:1177: undefined reference to `MessageInflater::learnPrototypeForType(unsigned short, Message const&)'
Network/libnetwork.a(network.o): In function `ZN15MessageInflater14learnPrototypeERK7Message':
/mnt/hgfs/Share/alephone/Source_Files/Network/../../Source_Files/TCPMess/MessageInflater.h:40: undefined reference to `MessageInflater::learnPrototypeForType(unsigned short, Message const&)'
/mnt/hgfs/Share/alephone/Source_Files/Network/../../Source_Files/TCPMess/MessageInflater.h:40: undefined reference to `MessageInflater::learnPrototypeForType(unsigned short, Message const&)'
/mnt/hgfs/Share/alephone/Source_Files/Network/../../Source_Files/TCPMess/MessageInflater.h:40: undefined reference to `MessageInflater::learnPrototypeForType(unsigned short, Message const&)'
/mnt/hgfs/Share/alephone/Source_Files/Network/../../Source_Files/TCPMess/MessageInflater.h:40: undefined reference to `MessageInflater::learnPrototypeForType(unsigned short, Message const&)'
Network/libnetwork.a(network.o):/mnt/hgfs/Share/alephone/Source_Files/Network/../../Source_Files/TCPMess/MessageInflater.h:40: more undefined references to `MessageInflater::learnPrototypeForType(unsigned short, Message const&)' follow
Network/libnetwork.a(network.o): In function `Z9NetGatherPvsS_sb':
/mnt/hgfs/Share/alephone/Source_Files/Network/network.cpp:1504: undefined reference to `LNat_Upnp_Discover'
/mnt/hgfs/Share/alephone/Source_Files/Network/network.cpp:1507: undefined reference to `LNat_Upnp_Get_Public_Ip'
/mnt/hgfs/Share/alephone/Source_Files/Network/network.cpp:1510: undefined reference to `LNat_Upnp_Set_Port_Mapping'
/mnt/hgfs/Share/alephone/Source_Files/Network/network.cpp:1513: undefined reference to `LNat_Upnp_Set_Port_Mapping'
Network/libnetwork.a(network_dialogs.o): In function `ZN30JoinerSeekingGathererAnnouncerD4Ev':
/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialogs.cpp:159: undefined reference to `SSLP_Stop_Locating_Service_Instances(char const*)'
Network/libnetwork.a(network_dialogs.o): In function `ZN26GathererAvailableAnnouncerC2Ev':
/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialogs.cpp:130: undefined reference to `SSLP_Allow_Service_Discovery(SSLP_ServiceInstance const*)'
Network/libnetwork.a(network_dialogs.o): In function `ZN26GathererAvailableAnnouncerD2Ev':
/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialogs.cpp:135: undefined reference to `SSLP_Disallow_Service_Discovery(SSLP_ServiceInstance const*)'
Network/libnetwork.a(network_dialogs.o): In function `ZN30JoinerSeekingGathererAnnouncerC2Eb':
/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialogs.cpp:153: undefined reference to `SSLP_Locate_Service_Instances(char const*, void (*)(SSLP_ServiceInstance const*), void (*)(SSLP_ServiceInstance const*), void (*)(SSLP_ServiceInstance const*))'
Network/libnetwork.a(network_dialogs.o): In function `ZN30JoinerSeekingGathererAnnouncer4pumpEv':
/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialogs.cpp:165: undefined reference to `SSLP_Pump()'
Network/libnetwork.a(network_dialogs.o): In function `ZN26GathererAvailableAnnouncerD4Ev':
/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialogs.cpp:135: undefined reference to `SSLP_Disallow_Service_Discovery(SSLP_ServiceInstance const*)'
/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialogs.cpp:135: undefined reference to `SSLP_Disallow_Service_Discovery(SSLP_ServiceInstance const*)'
Network/libnetwork.a(network_dialogs.o): In function `ZN26GathererAvailableAnnouncer4pumpEv':
/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialogs.cpp:141: undefined reference to `SSLP_Pump()'
Network/libnetwork.a(network_dialogs.o):/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialogs.cpp:136: undefined reference to `SSLP_Pump()'
Network/libnetwork.a(network_dialogs.o): In function `ZN30JoinerSeekingGathererAnnouncer4pumpEv':
/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialogs.cpp:165: undefined reference to `SSLP_Pump()'
Network/libnetwork.a(network_dialog_widgets_sdl.o): In function `ZNK18w_players_in_game228draw_player_names_separatelyEP11SDL_SurfaceR16TextLayoutHelper':
/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialog_widgets_sdl.cpp:473: undefined reference to `TextLayoutHelper::reserveSpaceFor(int, unsigned int, int, unsigned int)'
Network/libnetwork.a(network_dialog_widgets_sdl.o): In function `ZNK18w_players_in_game225draw_player_names_clumpedEP11SDL_SurfaceR16TextLayoutHelper':
/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialog_widgets_sdl.cpp:503: undefined reference to `TextLayoutHelper::reserveSpaceFor(int, unsigned int, int, unsigned int)'
Network/libnetwork.a(network_dialog_widgets_sdl.o): In function `ZNK18w_players_in_game215draw_bar_labelsEP11SDL_SurfaceRKSt6vectorI8bar_infoSaIS3_EER16TextLayoutHelper':
/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialog_widgets_sdl.cpp:751: undefined reference to `TextLayoutHelper::reserveSpaceFor(int, unsigned int, int, unsigned int)'
Network/libnetwork.a(network_dialog_widgets_sdl.o): In function `ZNK18w_players_in_game24drawEP11SDL_Surface':
/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialog_widgets_sdl.cpp:775: undefined reference to `TextLayoutHelper::TextLayoutHelper()'
/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialog_widgets_sdl.cpp:775: undefined reference to `TextLayoutHelper::~TextLayoutHelper()'
/mnt/hgfs/Share/alephone/Source_Files/Network/network_dialog_widgets_sdl.cpp:775: undefined reference to `TextLayoutHelper::~TextLayoutHelper()'
Network/Metaserver/libmetaserver.a(network_metaserver.o): In function `ZNKSt14default_deleteI15MessageInflaterEclEPS0_':
/home/logue/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/bits/unique_ptr.h:76: undefined reference to `MessageInflater::~MessageInflater()'
Network/Metaserver/libmetaserver.a(network_metaserver.o): In function `ZN15MessageInflater14learnPrototypeERK7Message':
/mnt/hgfs/Share/alephone/Source_Files/Network/Metaserver/../../../Source_Files/TCPMess/MessageInflater.h:40: undefined reference to `MessageInflater::learnPrototypeForType(unsigned short, Message const&)'
/mnt/hgfs/Share/alephone/Source_Files/Network/Metaserver/../../../Source_Files/TCPMess/MessageInflater.h:40: undefined reference to `MessageInflater::learnPrototypeForType(unsigned short, Message const&)'
/mnt/hgfs/Share/alephone/Source_Files/Network/Metaserver/../../../Source_Files/TCPMess/MessageInflater.h:40: undefined reference to `MessageInflater::learnPrototypeForType(unsigned short, Message const&)'
/mnt/hgfs/Share/alephone/Source_Files/Network/Metaserver/../../../Source_Files/TCPMess/MessageInflater.h:40: undefined reference to `MessageInflater::learnPrototypeForType(unsigned short, Message const&)'
/mnt/hgfs/Share/alephone/Source_Files/Network/Metaserver/../../../Source_Files/TCPMess/MessageInflater.h:40: undefined reference to `MessageInflater::learnPrototypeForType(unsigned short, Message const&)'
Network/Metaserver/libmetaserver.a(network_metaserver.o):/mnt/hgfs/Share/alephone/Source_Files/Network/Metaserver/../../../Source_Files/TCPMess/MessageInflater.h:40: more undefined references to `MessageInflater::learnPrototypeForType(unsigned short, Message const&)' follow
Network/Metaserver/libmetaserver.a(network_metaserver.o): In function `ZNKSt14default_deleteI15MessageInflaterEclEPS0_':
/home/logue/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/bits/unique_ptr.h:76: undefined reference to `MessageInflater::~MessageInflater()'
XML/libxml.a(QuickSave.o): In function `build_map_preview':
/mnt/hgfs/Share/alephone/Source_Files/XML/QuickSave.cpp:529: undefined reference to `SDL_RWFromOStream(std::ostream&)'
TCPMess/libtcpmess.a(CommunicationsChannel.o): In function `ZN21CommunicationsChannel15_receiveMessageEv':
/mnt/hgfs/Share/alephone/Source_Files/TCPMess/CommunicationsChannel.cpp:280: undefined reference to `MessageInflater::inflate(UninflatedMessage const&)'
/home/logue/mxe/usr/i686-w64-mingw32.static/lib/../lib/libSDL2_net.a(SDLnet.o): In function `SDLNet_GetLocalAddresses':
/home/logue/mxe/tmp-sdl2_net-i686-w64-mingw32.static/SDL2_net-2.0.0/SDLnet.c:238: undefined reference to `[email protected]'
/home/logue/mxe/tmp-sdl2_net-i686-w64-mingw32.static/SDL2_net-2.0.0/SDLnet.c:243: undefined reference to `[email protected]'
collect2: error: ld returned 1 exit status
Makefile:547: recipe for target 'AlephOne.exe' failed
make[3]: *** [AlephOne.exe] Error 1
make[3]: ディレクトリ '/mnt/hgfs/Share/alephone/Source_Files' から出ます
Makefile:598: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: ディレクトリ '/mnt/hgfs/Share/alephone/Source_Files' から出ます
Makefile:554: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: ディレクトリ '/mnt/hgfs/Share/alephone' から出ます
Makefile:448: recipe for target 'all' failed
make: *** [all] Error 2
That one Chance used afaik dark magick's to get working, but I can ask him about it. That does remind me though that I need to make a proper post about that here.logue wrote:I built my build environment with Mingw cross env for the first time in a while. but the following link error occurs. Can I get an image of the build environment used by JIRA?
Marathon Speedrun Times: Discord
M1A1 - 26:44 - PB
M2 - 33:52 - PB
M2 - XBLA - 33:00 - WR
M2 - Coop with ApertureGrillz - 27:17 IGT/29:09 RTA - WR
MInf - 13:22 - PB
Minf all main levels - 27:49 - PB

M1A1 - 26:44 - PB
M2 - 33:52 - PB
M2 - XBLA - 33:00 - WR
M2 - Coop with ApertureGrillz - 27:17 IGT/29:09 RTA - WR
MInf - 13:22 - PB
Minf all main levels - 27:49 - PB

-
- Spazeroid
- Posts: 2
- Joined: Mar 21st '19, 23:01
Yeah, MXE is literally held together with duct tape and bailing wire. We've already had to recompile it once to get due to it randomly deciding "Oh, I'm not going to properly link anything."TBCR wrote:That one Chance used afaik dark magick's to get working, but I can ask him about it. That does remind me though that I need to make a proper post about that here.logue wrote:I built my build environment with Mingw cross env for the first time in a while. but the following link error occurs. Can I get an image of the build environment used by JIRA?
Our documentation for the Bamboo server is at https://marathonspeedrun.atlassian.net/ ... /MXE+Setup, but YMMV.
Sysadmin for MarathonRuns.net Bamboo/JIRA/Confluence
Discord: hyp3rdriv3#7593
IRC: ccallahan on Freenode and DarkMyst, hyp3rdriv3 on Snoonet
Discord: hyp3rdriv3#7593
IRC: ccallahan on Freenode and DarkMyst, hyp3rdriv3 on Snoonet
I think you still need to include some of the libraries in the flags when running configure. Try using Hopper's configure script (which is also here)logue wrote:Well. It does not complete.
After all, there is a link error around ffmpeg.Code: Select all
$ ./configure --host=i686-w64-mingw32.static $ make
-
- Spazeroid
- Posts: 2
- Joined: Mar 21st '19, 23:01
Yeah, in theory, you should just be able to specify your target host and call it a day. In reality, it's MXE.treellama wrote:I think you still need to include some of the libraries in the flags when running configure. Try using Hopper's configure script (which is also here)logue wrote:Well. It does not complete.
After all, there is a link error around ffmpeg.Code: Select all
$ ./configure --host=i686-w64-mingw32.static $ make
Sysadmin for MarathonRuns.net Bamboo/JIRA/Confluence
Discord: hyp3rdriv3#7593
IRC: ccallahan on Freenode and DarkMyst, hyp3rdriv3 on Snoonet
Discord: hyp3rdriv3#7593
IRC: ccallahan on Freenode and DarkMyst, hyp3rdriv3 on Snoonet
hyp3rdriv3 wrote:Yeah, MXE is literally held together with duct tape and bailing wire. We've already had to recompile it once to get due to it randomly deciding "Oh, I'm not going to properly link anything."TBCR wrote:That one Chance used afaik dark magick's to get working, but I can ask him about it. That does remind me though that I need to make a proper post about that here.logue wrote:I built my build environment with Mingw cross env for the first time in a while. but the following link error occurs. Can I get an image of the build environment used by JIRA?
Our documentation for the Bamboo server is at https://marathonspeedrun.atlassian.net/ ... /MXE+Setup, but YMMV.
![marathon [MUp]](./images/smilies/13.png)
Thanks,
I recompiled the environment.
It works.