Hi all,
I need to get the latest/master v1.1 code working on Ubuntu 10.04 to support connections to Windows 2012 servers. I've successfully build from the source on Ubuntu 14 both 32 bit and 64 bit but not on Ubuntu 10. The main reason is that there is no gcc-mingw-w64 package available. Is/are there any alternative(s) packages that do the same job and run on Ubuntu 10?
Cheers very much
Kev/.
Last edit: KevP 2014-11-03
gcc-mingw32 mingw-w64
I have them installed, and the configure doesn't complain:
Checking for program i386-mingw32-gcc,i386-mingw32msvc-gcc,i386-w64-mingw32-gcc,i586-mingw32-gcc,i586-mingw32msvc-gcc,i586-w64-mingw32-gcc,i686-mingw32-gcc,i686-mingw32msvc-gcc,i686-w64-mingw32-gcc : /usr/bin/i586-mingw32msvc-gcc
Checking for program x86_64-mingw32-gcc,x86_64-mingw32msvc-gcc,x86_64-w64-mingw32-gcc,amd64-mingw32-gcc,amd64-mingw32msvc-gcc,amd64-w64-mingw32-gcc : /usr/bin/amd64-mingw32msvc-gcc
'configure' finished successfully (0.492s)
But the actual build fails:
Waf: Entering directory
/home/xxx/winexe-build/winexe-waf/source/build' [ 6/16] cprogram: build/winexesvc_launch.c.2.o build/winexesvc_loop.c.2.o -> build/winexesvc64.exe /usr/lib/gcc/amd64-mingw32msvc/4.4.2/../../../../amd64-mingw32msvc/bin/ld: cannot find -lgcc collect2: ld returned 1 exit status Waf: Leaving directory
/home/xxx/winexe-build/winexe-waf/source/build'Build failed
-> task in 'winexesvc64.exe' failed (exit status 1):
{task 172092428: cprogram winexesvc_launch.c.2.o,winexesvc_loop.c.2.o -> winexesvc64.exe}
['/usr/bin/amd64-mingw32msvc-gcc', '-s', 'winexesvc_launch.c.2.o', 'winexesvc_loop.c.2.o', '-o', '/home/xxx/winexe-build/winexe-waf/source/build/winexesvc64.exe', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-luserenv']
It seems Ubuntu 10 have broken mingw 64bit compiler. Have you tried advices from this thread: http://ubuntuforums.org/showthread.php?t=1705566&p=10561430#post10561430