Windows Cross Compiling on Ubuntu 10.10

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Windows Cross Compiling on Ubuntu 10.10

Post by NRoach44 »

Hi all, whenever i try to compile the windows installer version of wz2100, I get the following output:

Code: Select all

nroach44@Samsung-N150p-Ubuntu:~$ cd ~/
nroach44@Samsung-N150p-Ubuntu:~$ cd ~/nroach44/warzone2100_source
bash: cd: /home/nroach44/nroach44/warzone2100_source: No such file or directory
nroach44@Samsung-N150p-Ubuntu:~$ cd ~/nroach44/wz2100_source
bash: cd: /home/nroach44/nroach44/wz2100_source: No such file or directory
nroach44@Samsung-N150p-Ubuntu:~$ cd ~/wz2100_source
nroach44@Samsung-N150p-Ubuntu:~/wz2100_source$ cd /237/win32
bash: cd: /237/win32: No such file or directory
nroach44@Samsung-N150p-Ubuntu:~/wz2100_source$ cd /237
bash: cd: /237: No such file or directory
nroach44@Samsung-N150p-Ubuntu:~/wz2100_source$ cd 237
nroach44@Samsung-N150p-Ubuntu:~/wz2100_source/237$ cd 237/win32
bash: cd: 237/win32: No such file or directory
nroach44@Samsung-N150p-Ubuntu:~/wz2100_source/237$ cd win32
nroach44@Samsung-N150p-Ubuntu:~/wz2100_source/237/win32$ ./__BUILD_SCRIPT
/usr/bin/i586-mingw32msvc-gcc
+ make -j3 -C libs HOST_TRIPLET=i586-mingw32msvc
make: Entering directory `/home/nroach44/wz2100_source/237/win32/libs'
make -C dejavu TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/dejavu'
cp -p dejavu-fonts-ttf-2.32/ttf/DejaVuSans.ttf ../../build/libs/etc/fonts/DejaVuSans.ttf
cp -p dejavu-fonts-ttf-2.32/ttf/DejaVuSans-Bold.ttf ../../build/libs/etc/fonts/DejaVuSans-Bold.ttf
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/dejavu'
make -C devpkg TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/devpkg'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/devpkg'
make -C expat TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/expat'
make -C expat-2.0.1 installlib
make[2]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1'
/bin/bash ./conftools/mkinstalldirs /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/lib /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/include
/bin/bash ./libtool --mode=install /usr/bin/install -c libexpat.la /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/lib/libexpat.la
/usr/bin/install -c .libs/libexpat.lai /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/lib/libexpat.la
/usr/bin/install -c .libs/libexpat.a /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/lib/libexpat.a
chmod 644 /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/lib/libexpat.a
i586-mingw32msvc-ranlib /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/lib/libexpat.a
----------------------------------------------------------------------
Libraries have been installed in:
   /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-LLIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
for FN in ./lib/expat.h ./lib/expat_external.h ; do /usr/bin/install -c -m 644 $FN /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/include ; done
make[2]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1'
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/expat'
make -C freetype2 TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/freetype2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/freetype2'
make -C gettext TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/gettext'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/gettext'
make -C iconv TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/iconv'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/iconv'
make -C zlib TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/zlib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/zlib'
make -C fontconfig TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig'
cp -p ../../../pkg/nsis/fonts.conf.wd_enable ../../build/libs/etc/fonts/fonts.conf.wd_enable
cp -p ../../../pkg/nsis/fonts.conf.wd_disable ../../build/libs/etc/fonts/fonts.conf.wd_disable
make -C fontconfig-2.8.0 all || make -C fontconfig-2.8.0 all
make[2]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
make  all-recursive
make[3]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
Making all in fontconfig
make[4]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fontconfig'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fontconfig'
Making all in fc-case
make[4]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
make  all-am
make[5]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
make[4]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
Making all in fc-lang
make[4]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-lang'
  CC     fc-lang.o
In file included from ../src/fcstr.c:72,
                 from fc-lang.c:26:
../src/../fc-case/fccase.h:1: error: stray ‘\33’ in program
../src/../fc-case/fccase.h:1: error: expected identifier or ‘(’ before ‘[’ token
In file included from ../src/fcstr.c:72,
                 from fc-lang.c:26:
../src/../fc-case/fccase.h:1:4: error: invalid suffix "h" on integer constant
../src/../fc-case/fccase.h:1: error: stray ‘\33’ in program
In file included from fc-lang.c:26:
../src/fcstr.c: In function ‘FcStrCaseWalkerLong’:
../src/fcstr.c:110: error: ‘fcCaseFold’ undeclared (first use in this function)
../src/fcstr.c:110: error: (Each undeclared identifier is reported only once
../src/fcstr.c:110: error: for each function it appears in.)
../src/fcstr.c: In function ‘FcStrCanonFilename’:
../src/fcstr.c:1002: warning: pointer targets in passing argument 1 of ‘GetFullPathNameA’ differ in signedness
/usr/lib/gcc/i586-mingw32msvc/4.4.4/../../../../i586-mingw32msvc/include/winbase.h:1468: note: expected ‘LPCSTR’ but argument is of type ‘const FcChar8 *’
../src/fcstr.c:1002: warning: pointer targets in passing argument 3 of ‘GetFullPathNameA’ differ in signedness
/usr/lib/gcc/i586-mingw32msvc/4.4.4/../../../../i586-mingw32msvc/include/winbase.h:1468: note: expected ‘LPSTR’ but argument is of type ‘FcChar8 *’
../src/fcstr.c:1007: warning: pointer targets in passing argument 1 of ‘FcConvertDosPath’ differ in signedness
../src/fcstr.c:963: note: expected ‘char *’ but argument is of type ‘FcChar8 *’
fc-lang.c: In function ‘scan’:
fc-lang.c:152: warning: assignment discards qualifiers from pointer target type
fc-lang.c:180: warning: assignment discards qualifiers from pointer target type
fc-lang.c: In function ‘compare’:
fc-lang.c:235: warning: pointer targets in passing argument 1 of ‘FcStrCmpIgnoreCase’ differ in signedness
../src/fcstr.c:212: note: expected ‘const FcChar8 *’ but argument is of type ‘char * const’
fc-lang.c:235: warning: pointer targets in passing argument 2 of ‘FcStrCmpIgnoreCase’ differ in signedness
../src/fcstr.c:212: note: expected ‘const FcChar8 *’ but argument is of type ‘char * const’
make[4]: *** [fc-lang.o] Error 1
make[4]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-lang'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
make[2]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
make  all-recursive
make[3]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
Making all in fontconfig
make[4]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fontconfig'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fontconfig'
Making all in fc-case
make[4]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
make  all-am
make[5]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
make[4]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
Making all in fc-lang
make[4]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-lang'
  CC     fc-lang.o
In file included from ../src/fcstr.c:72,
                 from fc-lang.c:26:
../src/../fc-case/fccase.h:1: error: stray ‘\33’ in program
../src/../fc-case/fccase.h:1: error: expected identifier or ‘(’ before ‘[’ token
In file included from ../src/fcstr.c:72,
                 from fc-lang.c:26:
../src/../fc-case/fccase.h:1:4: error: invalid suffix "h" on integer constant
../src/../fc-case/fccase.h:1: error: stray ‘\33’ in program
In file included from fc-lang.c:26:
../src/fcstr.c: In function ‘FcStrCaseWalkerLong’:
../src/fcstr.c:110: error: ‘fcCaseFold’ undeclared (first use in this function)
../src/fcstr.c:110: error: (Each undeclared identifier is reported only once
../src/fcstr.c:110: error: for each function it appears in.)
../src/fcstr.c: In function ‘FcStrCanonFilename’:
../src/fcstr.c:1002: warning: pointer targets in passing argument 1 of ‘GetFullPathNameA’ differ in signedness
/usr/lib/gcc/i586-mingw32msvc/4.4.4/../../../../i586-mingw32msvc/include/winbase.h:1468: note: expected ‘LPCSTR’ but argument is of type ‘const FcChar8 *’
../src/fcstr.c:1002: warning: pointer targets in passing argument 3 of ‘GetFullPathNameA’ differ in signedness
/usr/lib/gcc/i586-mingw32msvc/4.4.4/../../../../i586-mingw32msvc/include/winbase.h:1468: note: expected ‘LPSTR’ but argument is of type ‘FcChar8 *’
../src/fcstr.c:1007: warning: pointer targets in passing argument 1 of ‘FcConvertDosPath’ differ in signedness
../src/fcstr.c:963: note: expected ‘char *’ but argument is of type ‘FcChar8 *’
fc-lang.c: In function ‘scan’:
fc-lang.c:152: warning: assignment discards qualifiers from pointer target type
fc-lang.c:180: warning: assignment discards qualifiers from pointer target type
fc-lang.c: In function ‘compare’:
fc-lang.c:235: warning: pointer targets in passing argument 1 of ‘FcStrCmpIgnoreCase’ differ in signedness
../src/fcstr.c:212: note: expected ‘const FcChar8 *’ but argument is of type ‘char * const’
fc-lang.c:235: warning: pointer targets in passing argument 2 of ‘FcStrCmpIgnoreCase’ differ in signedness
../src/fcstr.c:212: note: expected ‘const FcChar8 *’ but argument is of type ‘char * const’
make[4]: *** [fc-lang.o] Error 1
make[4]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-lang'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
make[1]: *** [fontconfig-2.8.0/src/libfontconfig.la] Error 2
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig'
make: *** [all-recursive] Error 2
make: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs'
nroach44@Samsung-N150p-Ubuntu:~/wz2100_source/237/win32$ 
(Although, that is the majorly shortened version, it was a re-attempt)

I have followed the instructions for cross compiling on linux.
Compiling Debian packages fully work, and fully play.

Thanks,

Oh, and by the way, this is what i get when i try Sudo apt-get build-dep warzone2100

Code: Select all

nroach44@Samsung-N150p-Ubuntu:~$ sudo apt-get build-dep warzone2100
[sudo] password for nroach44: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to find a source package for warzone2100
nroach44@Samsung-N150p-Ubuntu:~$ 
I did however install the packages by manual listing.
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2
User avatar
Fastdeath
Trained
Trained
Posts: 115
Joined: 16 Jan 2010, 08:52

Re: Windows Cross Compiling on Ubuntu 10.10

Post by Fastdeath »

Hi NRoach44,

Which version of Mingw are you using?

This one works:

Code: Select all

pcdummy@wzhost:~$ i586-mingw32msvc-c++ -v
Using built-in specs.
Target: i586-mingw32msvc
Configured with: /build/buildd-gcc-mingw32_4.4.4-0.1+b1-amd64-aFhFbL/gcc-mingw32-4.4.4/build-tree/gcc-4.4.4/configure --build=x86_64-linux-gnu --prefix=/usr --includedir='/usr/include' --mandir='/usr/share/man' --infodir='/usr/share/info' --sysconfdir=/etc --localstatedir=/var --libexecdir='/usr/lib/gcc-mingw32' --disable-multilib --enable-threads --enable-sjlj-exceptions --enable-version-specific-runtime-libs --disable-shared --target=i586-mingw32msvc --enable-languages=c,c++,fortran : (reconfigured) /build/buildd-gcc-mingw32_4.4.4-0.1+b1-amd64-aFhFbL/gcc-mingw32-4.4.4/build-tree/gcc-4.4.4/configure --build=x86_64-linux-gnu --prefix=/usr --includedir='/usr/include' --mandir='/usr/share/man' --infodir='/usr/share/info' --sysconfdir=/etc --localstatedir=/var --libexecdir='/usr/lib/gcc-mingw32' --disable-multilib --enable-threads --enable-sjlj-exceptions --enable-version-specific-runtime-libs --disable-shared --target=i586-mingw32msvc --enable-languages=c,c++,fortran
Thread model: win32
gcc version 4.4.4 (GCC) 
its from the package "gcc-mingw32" on Ubuntu Lucid Server

Ahh yes ... do the following to cross compile:
cd <warzone-build>; ./autogen.sh && ./configure && make && make distclean && ./win32/__BUILD_SCRIPT --enable-installer
Nightly builds available here see buildbot for more infos about them
Lobby Server: here and here
SharpFlame the new WZ Map Editor
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Re: Windows Cross Compiling on Ubuntu 10.10

Post by NRoach44 »

Your command returned the sam thing as far as I can tell.

Here it is never the less:

Code: Select all


-------------------------HAS BEEN CUT SO FIT IN 20000 CHARACTER LIMIT--------------------------------

test -z "libivis_common.a" || rm -f libivis_common.a
rm -f *.o
rm -f *.tab.c
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
make[2]: Leaving directory `/home/nroach44/wz2100_source/237/lib/ivis_common'
Making distclean in iniparser
make[2]: Entering directory `/home/nroach44/wz2100_source/237/lib/iniparser'
test -z "libiniparser.a" || rm -f libiniparser.a
rm -f *.o
rm -f *.tab.c
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
make[2]: Leaving directory `/home/nroach44/wz2100_source/237/lib/iniparser'
Making distclean in sequence
make[2]: Entering directory `/home/nroach44/wz2100_source/237/lib/sequence'
test -z "libsequence.a" || rm -f libsequence.a
rm -f *.o
rm -f *.tab.c
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
make[2]: Leaving directory `/home/nroach44/wz2100_source/237/lib/sequence'
Making distclean in script
make[2]: Entering directory `/home/nroach44/wz2100_source/237/lib/script'
test -z "chat_lexer.lex.c chat_parser.tab.c chat_parser.tab.h script_lexer.lex.c script_parser.tab.c script_parser.tab.h" || rm -f chat_lexer.lex.c chat_parser.tab.c chat_parser.tab.h script_lexer.lex.c script_parser.tab.c script_parser.tab.h
test -z "libscript.a" || rm -f libscript.a
rm -f *.o
rm -f *.tab.c
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
make[2]: Leaving directory `/home/nroach44/wz2100_source/237/lib/script'
Making distclean in exceptionhandler
make[2]: Entering directory `/home/nroach44/wz2100_source/237/lib/exceptionhandler'
test -z "libexceptionhandler.a" || rm -f libexceptionhandler.a
rm -f *.o
rm -f *.tab.c
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
make[2]: Leaving directory `/home/nroach44/wz2100_source/237/lib/exceptionhandler'
Making distclean in framework
make[2]: Entering directory `/home/nroach44/wz2100_source/237/lib/framework'
test -z "resource_lexer.lex.c resource_parser.tab.c resource_parser.tab.h strres_lexer.lex.c strres_parser.tab.c strres_parser.tab.h" || rm -f resource_lexer.lex.c resource_parser.tab.c resource_parser.tab.h strres_lexer.lex.c strres_parser.tab.c strres_parser.tab.h
test -z "libframework.a" || rm -f libframework.a
rm -f *.o
rm -f *.tab.c
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
make[2]: Leaving directory `/home/nroach44/wz2100_source/237/lib/framework'
Making distclean in .
make[2]: Entering directory `/home/nroach44/wz2100_source/237/lib'
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[2]: Leaving directory `/home/nroach44/wz2100_source/237/lib'
rm -f Makefile
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/lib'
Making distclean in win32
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32'
test -z "" || rm -f 
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f Makefile
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32'
Making distclean in build_tools
make[1]: Entering directory `/home/nroach44/wz2100_source/237/build_tools'
Making distclean in autorevision
make[2]: Entering directory `/home/nroach44/wz2100_source/237/build_tools/autorevision'
rm -f ../../src/autorevision.h
test -z "autorevision" || rm -f autorevision
rm -f *.o
rm -f *.tab.c
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
make[2]: Leaving directory `/home/nroach44/wz2100_source/237/build_tools/autorevision'
Making distclean in .
make[2]: Entering directory `/home/nroach44/wz2100_source/237/build_tools'
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[2]: Leaving directory `/home/nroach44/wz2100_source/237/build_tools'
rm -f Makefile
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/build_tools'
Making distclean in .
make[1]: Entering directory `/home/nroach44/wz2100_source/237'
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f config.h stamp-h1
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[1]: Leaving directory `/home/nroach44/wz2100_source/237'
rm -f config.status config.cache config.log configure.lineno config.status.lineno
rm -f Makefile
/usr/bin/i586-mingw32msvc-gcc
+ make -j3 -C libs HOST_TRIPLET=i586-mingw32msvc
make: Entering directory `/home/nroach44/wz2100_source/237/win32/libs'
make -C dejavu TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/dejavu'
cp -p dejavu-fonts-ttf-2.32/ttf/DejaVuSans.ttf ../../build/libs/etc/fonts/DejaVuSans.ttf
cp -p dejavu-fonts-ttf-2.32/ttf/DejaVuSans-Bold.ttf ../../build/libs/etc/fonts/DejaVuSans-Bold.ttf
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/dejavu'
make -C devpkg TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/devpkg'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/devpkg'
make -C expat TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/expat'
make -C expat-2.0.1 installlib
make[2]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1'
/bin/bash ./conftools/mkinstalldirs /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/lib /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/include
/bin/bash ./libtool --mode=install /usr/bin/install -c libexpat.la /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/lib/libexpat.la
/usr/bin/install -c .libs/libexpat.lai /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/lib/libexpat.la
/usr/bin/install -c .libs/libexpat.a /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/lib/libexpat.a
chmod 644 /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/lib/libexpat.a
i586-mingw32msvc-ranlib /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/lib/libexpat.a
----------------------------------------------------------------------
Libraries have been installed in:
   /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-LLIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
for FN in ./lib/expat.h ./lib/expat_external.h ; do /usr/bin/install -c -m 644 $FN /home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1/../../../build/libs/include ; done
make[2]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/expat/expat-2.0.1'
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/expat'
make -C freetype2 TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/freetype2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/freetype2'
make -C gettext TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/gettext'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/gettext'
make -C iconv TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/iconv'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/iconv'
make -C zlib TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/zlib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/zlib'
make -C fontconfig TOPDIR=../.. -w --jobserver-fds=3,4 -j -- HOST_TRIPLET=i586-mingw32msvc all
make[1]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig'
cp -p ../../../pkg/nsis/fonts.conf.wd_enable ../../build/libs/etc/fonts/fonts.conf.wd_enable
cp -p ../../../pkg/nsis/fonts.conf.wd_disable ../../build/libs/etc/fonts/fonts.conf.wd_disable
make -C fontconfig-2.8.0 all || make -C fontconfig-2.8.0 all
make[2]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
make  all-recursive
make[3]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
Making all in fontconfig
make[4]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fontconfig'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fontconfig'
Making all in fc-case
make[4]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
make  all-am
make[5]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
make[4]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
Making all in fc-lang
make[4]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-lang'
  CC     fc-lang.o
In file included from ../src/fcstr.c:72,
                 from fc-lang.c:26:
../src/../fc-case/fccase.h:1: error: stray ‘\33’ in program
../src/../fc-case/fccase.h:1: error: expected identifier or ‘(’ before ‘[’ token
In file included from ../src/fcstr.c:72,
                 from fc-lang.c:26:
../src/../fc-case/fccase.h:1:4: error: invalid suffix "h" on integer constant
../src/../fc-case/fccase.h:1: error: stray ‘\33’ in program
In file included from fc-lang.c:26:
../src/fcstr.c: In function ‘FcStrCaseWalkerLong’:
../src/fcstr.c:110: error: ‘fcCaseFold’ undeclared (first use in this function)
../src/fcstr.c:110: error: (Each undeclared identifier is reported only once
../src/fcstr.c:110: error: for each function it appears in.)
../src/fcstr.c: In function ‘FcStrCanonFilename’:
../src/fcstr.c:1002: warning: pointer targets in passing argument 1 of ‘GetFullPathNameA’ differ in signedness
/usr/lib/gcc/i586-mingw32msvc/4.4.4/../../../../i586-mingw32msvc/include/winbase.h:1468: note: expected ‘LPCSTR’ but argument is of type ‘const FcChar8 *’
../src/fcstr.c:1002: warning: pointer targets in passing argument 3 of ‘GetFullPathNameA’ differ in signedness
/usr/lib/gcc/i586-mingw32msvc/4.4.4/../../../../i586-mingw32msvc/include/winbase.h:1468: note: expected ‘LPSTR’ but argument is of type ‘FcChar8 *’
../src/fcstr.c:1007: warning: pointer targets in passing argument 1 of ‘FcConvertDosPath’ differ in signedness
../src/fcstr.c:963: note: expected ‘char *’ but argument is of type ‘FcChar8 *’
fc-lang.c: In function ‘scan’:
fc-lang.c:152: warning: assignment discards qualifiers from pointer target type
fc-lang.c:180: warning: assignment discards qualifiers from pointer target type
fc-lang.c: In function ‘compare’:
fc-lang.c:235: warning: pointer targets in passing argument 1 of ‘FcStrCmpIgnoreCase’ differ in signedness
../src/fcstr.c:212: note: expected ‘const FcChar8 *’ but argument is of type ‘char * const’
fc-lang.c:235: warning: pointer targets in passing argument 2 of ‘FcStrCmpIgnoreCase’ differ in signedness
../src/fcstr.c:212: note: expected ‘const FcChar8 *’ but argument is of type ‘char * const’
make[4]: *** [fc-lang.o] Error 1
make[4]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-lang'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
make[2]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
make  all-recursive
make[3]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
Making all in fontconfig
make[4]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fontconfig'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fontconfig'
Making all in fc-case
make[4]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
make  all-am
make[5]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
make[4]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-case'
Making all in fc-lang
make[4]: Entering directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-lang'
  CC     fc-lang.o
In file included from ../src/fcstr.c:72,
                 from fc-lang.c:26:
../src/../fc-case/fccase.h:1: error: stray ‘\33’ in program
../src/../fc-case/fccase.h:1: error: expected identifier or ‘(’ before ‘[’ token
In file included from ../src/fcstr.c:72,
                 from fc-lang.c:26:
../src/../fc-case/fccase.h:1:4: error: invalid suffix "h" on integer constant
../src/../fc-case/fccase.h:1: error: stray ‘\33’ in program
In file included from fc-lang.c:26:
../src/fcstr.c: In function ‘FcStrCaseWalkerLong’:
../src/fcstr.c:110: error: ‘fcCaseFold’ undeclared (first use in this function)
../src/fcstr.c:110: error: (Each undeclared identifier is reported only once
../src/fcstr.c:110: error: for each function it appears in.)
../src/fcstr.c: In function ‘FcStrCanonFilename’:
../src/fcstr.c:1002: warning: pointer targets in passing argument 1 of ‘GetFullPathNameA’ differ in signedness
/usr/lib/gcc/i586-mingw32msvc/4.4.4/../../../../i586-mingw32msvc/include/winbase.h:1468: note: expected ‘LPCSTR’ but argument is of type ‘const FcChar8 *’
../src/fcstr.c:1002: warning: pointer targets in passing argument 3 of ‘GetFullPathNameA’ differ in signedness
/usr/lib/gcc/i586-mingw32msvc/4.4.4/../../../../i586-mingw32msvc/include/winbase.h:1468: note: expected ‘LPSTR’ but argument is of type ‘FcChar8 *’
../src/fcstr.c:1007: warning: pointer targets in passing argument 1 of ‘FcConvertDosPath’ differ in signedness
../src/fcstr.c:963: note: expected ‘char *’ but argument is of type ‘FcChar8 *’
fc-lang.c: In function ‘scan’:
fc-lang.c:152: warning: assignment discards qualifiers from pointer target type
fc-lang.c:180: warning: assignment discards qualifiers from pointer target type
fc-lang.c: In function ‘compare’:
fc-lang.c:235: warning: pointer targets in passing argument 1 of ‘FcStrCmpIgnoreCase’ differ in signedness
../src/fcstr.c:212: note: expected ‘const FcChar8 *’ but argument is of type ‘char * const’
fc-lang.c:235: warning: pointer targets in passing argument 2 of ‘FcStrCmpIgnoreCase’ differ in signedness
../src/fcstr.c:212: note: expected ‘const FcChar8 *’ but argument is of type ‘char * const’
make[4]: *** [fc-lang.o] Error 1
make[4]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0/fc-lang'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig/fontconfig-2.8.0'
make[1]: *** [fontconfig-2.8.0/src/libfontconfig.la] Error 2
make[1]: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs/fontconfig'
make: *** [all-recursive] Error 2
make: Leaving directory `/home/nroach44/wz2100_source/237/win32/libs'
nroach44@Samsung-N150p-Ubuntu:~/wz2100_source/237$ 
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Re: Windows Cross Compiling on Ubuntu 10.10

Post by NRoach44 »

Sorry the version thing did not post, here it is:

Code: Select all

nroach44@Samsung-N150p-Ubuntu:~/wz2100_source/237$ i586-mingw32msvc-c++ -v
Using built-in specs.
Target: i586-mingw32msvc
Configured with: /build/buildd/gcc-mingw32-4.4.4/build-tree/gcc-4.4.4/configure --build=i686-linux-gnu --prefix=/usr --includedir='/usr/include' --mandir='/usr/share/man' --infodir='/usr/share/info' --sysconfdir=/etc --localstatedir=/var --libexecdir='/usr/lib/gcc-mingw32' --disable-multilib --enable-threads --enable-sjlj-exceptions --enable-version-specific-runtime-libs --disable-shared --target=i586-mingw32msvc --enable-languages=c,c++,fortran : (reconfigured) /build/buildd/gcc-mingw32-4.4.4/build-tree/gcc-4.4.4/configure --build=i686-linux-gnu --prefix=/usr --includedir='/usr/include' --mandir='/usr/share/man' --infodir='/usr/share/info' --sysconfdir=/etc --localstatedir=/var --libexecdir='/usr/lib/gcc-mingw32' --disable-multilib --enable-threads --enable-sjlj-exceptions --enable-version-specific-runtime-libs --disable-shared --target=i586-mingw32msvc --enable-languages=c,c++,fortran
Thread model: win32
gcc version 4.4.4 (GCC) 
nroach44@Samsung-N150p-Ubuntu:~/wz2100_source/237$
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2