Hello,

Due to the complexity of building the Win32 FD, we do not give help or support 
on this.  About the only thing we can recommend is that at least 6 different 
developers have brought up build environments (one just recently) so if you 
follow the instructions to the letter and are sufficiently skilled with C++ 
to correct the minor compile problems with the Microsoft VSS code that we are 
not permitted to distribute, it *is* possible to get it working.

Best regards,

Kern

On Thursday 07 April 2011 20:24:10 acorn12 wrote:
> As I am having problems running the pre-compiled binaries for Win32
> directly, I am trying to compile them myself with the hope I might be
> able to trace and debug the problem directly.
>
> Anyhow. I am running Ubuntu 10.04 in a VmWare box under Windows Vista
> 64-bit. I have cloned the git repository in the Ubuntu box  and am
> following the README from .../bacula/src/win32/README.mingw.
>
> After installing all the packages recommended, I finally started
> compiling the cross tools
> 114  Build the 32 bit cross-tools and mingw32:
> 115
> 116 Once the source is on your system, change to the win32 directory
> 117       cd .../bacula/src/win32
> 118 Download and build the cross compiler tools
> 119         ./build-win32-cross-tools
>
> /All the packages seemed to download without problem, but it all came to
> a halt with:
> /home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/libibe
>rty/ternary.c:143: warning: 'ternary_recursivesearch' defined but not used
> cc1: warnings being treated as errors
> /home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binuti
>ls/bucomm.c: In function 'make_tempname':
> /home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binuti
>ls/bucomm.c:426: error: ignoring return value of 'mktemp', declared with
> attribute
> warn_unused_result
> /home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binuti
>ls/bucomm.c:433: error: ignoring return value of 'mktemp', declared with
> attribute
> warn_unused_result
> make[4]: *** [bucomm.o] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-binutils] Error 2
> make: *** [all] Error 2
> make of binutils failed - log available: binutils-mingw32/make.log
> user@ubuntu:~/git/bacula/bacula/src/win32$ /
>
> The make.log file from /binutils-mingw32/make.log/ concludes with:
> /make[4]: Entering directory
> `/home/user/git/bacula/cross-tools/binutils-mingw32/binutils'
> gcc -DHAVE_CONFIG_H -I.
> -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binu
>tils -I. -D_GNU_SOURCE -I.
> -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binu
>tils -I../bfd
> -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binu
>tils/../bfd
> -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binu
>tils/../include
> -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binu
>tils/../intl -I../intl
> -DLOCALEDIR="\"/home/user/git/bacula/cross-tools/mingw32/share/locale\""
> -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -fno-exceptions -c
> /home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binuti
>ls/size.c gcc -DHAVE_CONFIG_H -I.
> -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binu
>tils -I. -D_GNU_SOURCE -I.
> -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binu
>tils -I../bfd
> -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binu
>tils/../bfd
> -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binu
>tils/../include
> -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binu
>tils/../intl -I../intl
> -DLOCALEDIR="\"/home/user/git/bacula/cross-tools/mingw32/share/locale\""
> -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -fno-exceptions -c
> /home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binuti
>ls/bucomm.c make[4]: Leaving directory
> `/home/user/git/bacula/cross-tools/binutils-mingw32/binutils'
> make[3]: Leaving directory
> `/home/user/git/bacula/cross-tools/binutils-mingw32/binutils'
> make[2]: Leaving directory
> `/home/user/git/bacula/cross-tools/binutils-mingw32/binutils'
> make[1]: Leaving directory
> `/home/user/git/bacula/cross-tools/binutils-mingw32'/
>
> As I am not much of a Linux guru, I am stumped (and a bit frustrated) -
> at least for now.
> Any help will be most appreciated
>
> TIA



------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to