project-navigation
Personal tools

Author Topic: [MinGW] Link problem with testall.exe  (Read 3856 times)

Offline MarcoBi

  • Rookie
  • ***
  • Posts: 19
    • View Profile
[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?



Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: [MinGW] Link problem with testall.exe
« Reply #1 on: October 06, 2010, 10:57:43 am »
have you "make clean"?

Offline MarcoBi

  • Rookie
  • ***
  • Posts: 19
    • View Profile
Re: [MinGW] Link problem with testall.exe
« Reply #2 on: October 06, 2010, 11:08:22 am »
have you "make clean"?

Yes, I think I'll redo a complete checkout of repository just to be sure!

Offline MarcoBi

  • Rookie
  • ***
  • Posts: 19
    • View Profile
Re: [MinGW] Link problem with testall.exe
« Reply #3 on: October 07, 2010, 09:30:16 am »
Yes, I think I'll redo a complete checkout of repository just to be sure!

I've also re-compiled my toolchain but nothing changed... which git command should I use to revert back to a specific revision to test where is the problem?

Thanks!
« Last Edit: October 07, 2010, 05:33:39 pm by MarcoBi »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: [MinGW] Link problem with testall.exe
« Reply #4 on: October 07, 2010, 05:15:26 pm »
let me know whether it's fixed for you in the latest revision please

Offline MarcoBi

  • Rookie
  • ***
  • Posts: 19
    • View Profile
Re: [MinGW] Link problem with testall.exe
« Reply #5 on: October 08, 2010, 09:52:59 am »
let me know whether it's fixed for you in the latest revision please

YES!  ;D