Re: Mozilla Windows CE Development
Lieven <[email protected]> Sat, 19 Feb 2005 08:59:25 +0100
| Newsgroups | gmane.comp.mozilla.devel.small-devices |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
FReD wrote: > "Doug Turner" <[email protected]> wrote in message > news:[email protected]... > <snipped> >> > > Does anyone have any ideas on how to correct this compile problem? I got to > the end of Doug's "Building WINCE" doc and am still getting this error. The > output of the error is below. > > C:\mozilla>make -f client.mk build > Adding client.mk options from /cygdrive/c/mozilla/.mozconfig: > MOZ_CO_PROJECT=suite > MOZ_OBJDIR=$(TOPSRCDIR)/obj-arm > WINCE=1 > MINIMO=1 > cd /cygdrive/c/mozilla/obj-arm > /cygdrive/c/mozilla/configure > Adding configure options from /cygdrive/c/mozilla/.mozconfig: > --enable-application=suite > --target=arm-wince > --enable-win32-target=WINCE > --enable-default-toolkit=windows > --without-libIDL > --disable-md > --disable-xul > --disable-profilesharing > --disable-profilelocking > --enable-single-profile > --disable-extensions > --disable-accessibility > --disable-composer > --enable-plaintext-editor-only > --disable-mailnews > --disable-ldap > --disable-postscript > --disable-mathml > --disable-jsd > --disable-jsloader > --disable-installer > --disable-xpinstall > --disable-xpfe-components > --disable-necko-disk-cache > --enable-necko-small-buffers > --disable-dtd-debug > --disable-logging > --disable-tests > --enable-crypto > --enable-necko-protocols=http,file,res,jar > --enable-image-decoders=png,gif,jpeg > --enable-strip > --disable-debug > loading cache ./config.cache > checking host system type... i686-pc-cygwin > checking target system type... arm-unknown-wince > checking build system type... i686-pc-cygwin > cross compiling from i686-pc-cygwin to arm-unknown-wince > checking for host c compiler... checking for gcc... gcc > gcc > checking for host c++ compiler... checking for c++... c++ > c++ > checking for ranlib... no > checking for ar... no > checking whether the host c compiler (gcc ) works... yes > checking whether the host c++ compiler (c++ ) works... yes > checking for arm-wince-gcc... arm-wince-gcc > checking for gcc... arm-wince-gcc > checking whether the C compiler (arm-wince-gcc ) works... no > configure: error: installation or configuration problem: C compiler cannot > create executables. > *** Fix above errors and then restart with "make -f client.mk build" > make: *** [/cygdrive/c/mozilla/obj-arm/Makefile] Error 1 > > Thanks, > > FReD > > The same here, the config.log file says: ---- ... configure:1459: arm-wince-gcc -o conftest conftest.c 1>&5 Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM Copyright (C) Microsoft Corp 1984-2002. All rights reserved. conftest.c c:\devel\lgo\mozilla\test-arm-build\conftest.c(0) : fatal error C1083: Cannot open include file: 'mozce_shunt.h': No such file or directory configure: failed program was: #line 1454 "configure" #include "confdefs.h" main(){return(0);} ----- Which probably is normal, as that file is included in the build section for wince. So I moved on, to get stuck a bit later in the process. I moved over to step 3 of the notes.txt file, created some folders ( config & nsprpub/config ) under my mozilla/test-arm-build folder, and copied the two files in there ( after some modification for my machine ). In step 4 I cd into the mozilla/test-arm-build folder and do following command: make ../client.mk build Only to get some more errors, propably relative-path related: --- cvs checkout: No CVSROOT specified! Please use the `-d' option cvs [checkout aborted]: or set the CVSROOT environment variable. mozilla/build/autoconf/mozconfig2client-mk: not found ../client.mk:282: /cygdrive/c/devel/lgo/mozilla/test-arm-build/mozilla/.mozconfig.mk: No such file or directory ../client.mk:283: /cygdrive/c/devel/lgo/mozilla/test-arm-build/mozilla/build/unix/modules.mk: No such file or directory make: *** No rule to make target `/cygdrive/c/devel/lgo/mozilla/test-arm-build/m ozilla/build/unix/modules.mk'. Stop. --- So, somebody any thoughts here? Lieven.