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/libiberty/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/binutils/bucomm.c: In function 'make_tempname': /home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binutils/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/binutils/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/binutils -I. -D_GNU_SOURCE -I. -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binutils -I../bfd -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binutils/../bfd -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binutils/../include -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binutils/../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/binutils/size.c gcc -DHAVE_CONFIG_H -I. -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binutils -I. -D_GNU_SOURCE -I. -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binutils -I../bfd -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binutils/../bfd -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binutils/../include -I/home/user/git/bacula/cross-tools/source/binutils-2.16.91-20060119-1/binutils/../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/binutils/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

--
Fight Spam - report it with wxSR
http://www.columbinehoney.net/wxSR.shtml

------------------------------------------------------------------------------
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