project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - MarcoBi

Pages: [1]
1
Linux / [MinGW] Link problem with testall.exe
« on: October 06, 2010, 10:25:07 am »
After recent commits and after a complete recompilation of my toolchain, while x-compiling I get
Code: [Select]
$ make
===> LD [testall.exe]
release-mingw32-i386/testall/client/cl_language.c.o: In function `CL_LanguageTryToSet':
/opt/src/ufoai-GIT/src/client/cl_language.c:316: undefined reference to `_Sys_SetLocale'
release-mingw32-i386/testall/client/cl_language.c.o: In function `CL_LanguageInit':
/opt/src/ufoai-GIT/src/client/cl_language.c:233: undefined reference to `_Sys_GetLocale'
release-mingw32-i386/testall/client/cl_main.c.o: In function `CL_Frame':
/opt/src/ufoai-GIT/src/client/cl_main.c:1172: undefined reference to `_Sys_SetAffinityAndPriority'
collect2: ld returned 1 exit status
make: *** [testall.exe] Errore 1

Something wrong as usual on my side?



2
Linux / [GIT] issue with "make installer" v2.2
« on: October 04, 2010, 06:34:07 pm »
With latest GIT revision I can't create a win installer because of this line:
Code: [Select]
build/install_windows.mk:wininstaller-ufoai: ufoai ufoded installer-prebut now ufoai and ufoded doesn't seem to be defined anywhere, right?

3
Linux / [GIT] issue with "make installer" v2.1
« on: October 01, 2010, 10:04:47 am »
There is no INSTALL file present in latest GIT... and one more note: is it reallypossible to compile a pdf from the included manual tex file? my pdflatex outputs a huge amount of errors!

Anyway, I have a perfect windows installer now :-)

4
Linux / [GIT] issue with "make installer" v2.0
« on: September 29, 2010, 02:32:26 pm »
I think that :

Makefile.in
configure.ac
config.h.in
config.sub
config.guess
install-sh
INSTALL

should not be present in ufoai.nsi, they doesn't exist in latest GIT revision...

5
Linux / [GIT] issue with "make installer"
« on: September 29, 2010, 01:46:54 pm »
I think that "PRODUCT_VERSION" is defined twice, I've commented line 4 in my ./contrib/installer/windows/ufoai.nsi

Code: [Select]
make installer
MakeNSIS v24-Sep-2010.cvs - Copyright 1995-2009 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Command line defined: "PRODUCT_VERSION=2.4-dev"
Processing config:
Processing plugin dlls: "/opt/mingw/usr/i686-pc-mingw32/share/nsis/Plugins/*.dll"
 - AdvSplash::show
 - Banner::destroy
 - Banner::getWindow
 - Banner::show
 - BgImage::AddImage
 - BgImage::AddText
 - BgImage::Clear
 - BgImage::Destroy
 - BgImage::Redraw
 - BgImage::SetBg
 - BgImage::SetReturn
 - BgImage::Sound
 - Dialer::AttemptConnect
 - Dialer::AutodialHangup
 - Dialer::AutodialOnline
 - Dialer::AutodialUnattended
 - Dialer::GetConnectedState
 - InstallOptions::dialog
 - InstallOptions::initDialog
 - InstallOptions::show
 - LangDLL::LangDialog
 - Math::Script
 - NSISdl::download
 - NSISdl::download_quiet
 - Splash::show
 - StartMenu::Init
 - StartMenu::Select
 - StartMenu::Show
 - System::Alloc
 - System::Call
 - System::Copy
 - System::Free
 - System::Get
 - System::Int64Op
 - System::Store
 - TypeLib::GetLibVersion
 - TypeLib::Register
 - TypeLib::UnRegister
 - UserInfo::GetAccountType
 - UserInfo::GetName
 - UserInfo::GetOriginalAccountType
 - VPatch::GetFileCRC32
 - VPatch::GetFileMD5
 - VPatch::vpatchfile
 - nsDialogs::Create
 - nsDialogs::CreateControl
 - nsDialogs::CreateItem
 - nsDialogs::CreateTimer
 - nsDialogs::GetUserData
 - nsDialogs::KillTimer
 - nsDialogs::OnBack
 - nsDialogs::OnChange
 - nsDialogs::OnClick
 - nsDialogs::OnNotify
 - nsDialogs::SelectFileDialog
 - nsDialogs::SelectFolderDialog
 - nsDialogs::SetRTL
 - nsDialogs::SetUserData
 - nsDialogs::Show
 - nsExec::Exec
 - nsExec::ExecToLog
 - nsExec::ExecToStack

!define: "MUI_INSERT_NSISCONF"=""

Changing directory to: "/opt/src/ufoai-GIT/contrib/installer/windows"

Processing script file: "contrib/installer/windows/ufoai.nsi"
!define: "PRODUCT_NAME"="UFO:Alien Invasion"
!define: "SHORT_PRODUCT_NAME"="UFO:AI"
!define: "PRODUCT_NAME_DEDICATED"="UFO:Alien Invasion Dedicated Server"
!define: "PRODUCT_VERSION" already defined!
Error in script "contrib/installer/windows/ufoai.nsi" on line 4 -- aborting creation process
make: *** [wininstaller-ufoai] Errore 1



6
Linux / [GIT] Small issues in build/models.mk and build/data.mk Makefiles
« on: September 29, 2010, 12:05:13 pm »
After successully compiling Git version, I've found two issues in two makefiles:

a) in build/models.mk I had to change UFOMODEL = ./ufomodel to UFOMODEL = ./ufomodel$(EXE_EXT) while crosscompiling (but maybe a sym link shoud be enough)

b) in build/data.mk I always get a too long command line while packing, this issue doesn't happen with latest SVN version (make output attached)

I'm wrong as usual?

 


7
Linux / [RESOLVED] Crosscompiling from Linux for Windows
« on: September 20, 2010, 03:11:50 pm »
Hi Devs,
I'm currently attempting to cross compile latest git version (20/09/2010) from a custom Linux toolchain (MinGW-Cross-Env) to Windows.

with a

Code: [Select]
SDL_LIBS="`/opt/mingw/usr/i686-pc-mingw32/bin/sdl-config --libs` -lrtmp -lz -lws2_32 -lwinmm -lssl -lgdi32 -lcrypto -lws2_32 -lgdi32 -lcrypt32 -lz -lfreetype -lwinmm" ./configure --host='i686-pc-mingw32' --with-curl-config=/opt/mingw/usr/i686-pc-mingw32/bin/curl-config
I get this error while linking:

Code: [Select]
* [GAM] ... linking  ()
 * [UFO] ... linking   (-L/opt/mingw/usr/i686-pc-mingw32/lib -lvorbis -lm -logg       -lz  -L/opt/mingw/usr/i686-pc-mingw32/lib -lcurl -L/opt/mingw/usr/i686-pc-mingw32/lib -L/opt/mingw/usr/i686-pc-mingw32/lib -lidn -lwldap32 -lws2_32 -lgcrypt -liconv -L/opt/mingw/usr/i686-pc-mingw32/lib -lgpg-error -lz -lgnutls -lws2_32 -lgcrypt -liconv -L/opt/mingw/usr/i686-pc-mingw32/lib -lgpg-error -ljpeg  -L/opt/mingw/usr/i686-pc-mingw32/lib -lpng14 -lz   -L/opt/mingw/usr/i686-pc-mingw32/lib -lmingw32 -lSDLmain -lSDL -lwinmm -mwindows -liconv -lm -luser32 -lgdi32 -lwinmm -ldxguid -lrtmp -lz -lws2_32 -lwinmm -lssl -lgdi32 -lcrypto -lws2_32 -lgdi32 -lcrypt32 -lz -lfreetype -lwinmm -mwindows -L/opt/mingw/usr/i686-pc-mingw32/lib -lSDL_image -ltiff -ljpeg -lmingw32 -lSDLmain -lSDL -liconv -lm -luser32 -lgdi32 -lwinmm -ldxguid -lpng14 -lz   -mwindows -L/opt/mingw/usr/i686-pc-mingw32/lib -lSDL_mixer -lmikmod -lpthread -lsmpeg -lstdc++ -lmingw32 -lSDLmain -lSDL -liconv -luser32 -lgdi32 -lwinmm -ldxguid -lvorbisfile -lvorbis -lm -logg   -lSDL_ttf  -logg  -lxvidcore  -L/opt/mingw/usr/i686-pc-mingw32/lib -ltheora -logg   -lintl -lxvidcore  -lws2_32 -lwinmm -lgdi32 -lopengl32 -L/opt/mingw/usr/i686-pc-mingw32/lib -lmingw32 -lSDLmain -lSDL -lwinmm -mwindows -liconv -lm -luser32 -lgdi32 -lwinmm -ldxguid -lrtmp -lz -lws2_32 -lwinmm -lssl -lgdi32 -lcrypto -lws2_32 -lgdi32 -lcrypt32 -lz -lfreetype -lwinmm)
Warning: resolving _timeBeginPeriod by linking to _timeBeginPeriod@4
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
 * [DED] ... linking   (-lz  -L/opt/mingw/usr/i686-pc-mingw32/lib -lcurl -L/opt/mingw/usr/i686-pc-mingw32/lib -L/opt/mingw/usr/i686-pc-mingw32/lib -lidn -lwldap32 -lws2_32 -lgcrypt -liconv -L/opt/mingw/usr/i686-pc-mingw32/lib -lgpg-error -lz -lgnutls -lws2_32 -lgcrypt -liconv -L/opt/mingw/usr/i686-pc-mingw32/lib -lgpg-error -lws2_32 -lwinmm -lgdi32 -L/opt/mingw/usr/i686-pc-mingw32/lib -lmingw32 -lSDLmain -lSDL -lwinmm -mwindows -liconv -lm -luser32 -lgdi32 -lwinmm -ldxguid -lrtmp -lz -lws2_32 -lwinmm -lssl -lgdi32 -lcrypto -lws2_32 -lgdi32 -lcrypt32 -lz -lfreetype -lwinmm)
debug-mingw32-i386/server/ports/windows/win_main.o: In function `Sys_Init':
/opt/src/ufoai/src/ports/windows/win_main.c:48: undefined reference to `_timeBeginPeriod'
collect2: ld returned 1 exit status
make: *** [ufoded] Errore 1

Ehm... to tell the truth I have _timeBeginPeriod@4 defined in winmm.a, anyway do I need to put -lwinmm in a particular place?

Thanks!

Pages: [1]