Skip to main content

What' wrong with the bulid for Win32_I386??

19 replies [Last post]
chenzhp
Offline
Joined: 2006-04-11

../share/root.make:328: warning: ignoring old commands for target `E:/phoneme_feature/build_output'
../share/root.make:370: warning: overriding commands for target `E:/phoneme_feature/build_output'
../share/root.make:345: warning: ignoring old commands for target `E:/phoneme_feature/build_output'
../share/root.make:395: warning: overriding commands for target `E:/phoneme_feature/build_output'
../share/root.make:370: warning: ignoring old commands for target `E:/phoneme_feature/build_output'
../share/root.make:419: warning: overriding commands for target `E:/phoneme_feature/build_output'
../share/root.make:395: warning: ignoring old commands for target `E:/phoneme_feature/build_output'
../share/root.make:443: warning: overriding commands for target `E:/phoneme_feature/build_output'
../share/root.make:419: warning: ignoring old commands for target `E:/phoneme_feature/build_output'
../share/root.make:476: warning: overriding commands for target `E:/phoneme_feature/build_output'
../share/root.make:443: warning: ignoring old commands for target `E:/phoneme_feature/build_output'
test: /src/vm/share: unknown operand
test: /jre/lib/rt.jar: unknown operand

==================================
JVMBuildSpace = E:/phoneme_feature/build_output /cldc
JVMWorkSpace = E:/phoneme_feature/cldc
ROMIZING = true
SHELL = E:/cyg4me/bin/sh.exe
ENABLE_ISOLATES =
ENABLE_MONET =
==================================
make: Circular tools <- E:/phoneme_feature/build_output dependency dropped.
test: /cldc/wince_arm/tools: unknown operand
cannot create /cldc/wince_arm/tools/Makefile: directory nonexistent
make: *** [/cldc/wince_arm/tools/Makefile] Error 2

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
geelpheels
Offline
Joined: 2006-05-05
chenzhp
Offline
Joined: 2006-04-11

Hi! Danila

In this Directory " cldc/build/wince_arm"
I typed command "make ENABLE_PCSL=true ENABLE_ISOLATES=true"
when DEBUG build begin,error happen:
I want to know what's [b]"make[1]: *** [_build_pch_visCPP.obj] Error 5"[/b]==============================
starting DEBUG build
==============================
make[1]: Entering directory `E:/Dev_phoneME/phoneme_feature/build_output/cldc/wince_arm/target/debug'
make[1]: Nothing to be done for `dependencies'.
make[1]: Leaving directory `E:/Dev_phoneME/phoneme_feature/build_output/cldc/wince_arm/target/debug'
make[1]: Entering directory `E:/Dev_phoneME/phoneme_feature/build_output/cldc/wince_arm/target/debug'
Generating _build_pch_visCPP.obj ...
make[1]: *** [_build_pch_visCPP.obj] Error 5
make[1]: Leaving directory `E:/Dev_phoneME/phoneme_feature/build_output/cldc/wince_arm/target/debug'
make: *** [_debug] Error 2

E:\Dev_phoneME\phoneme_feature\cldc\build\wince_arm>

geelpheels
Offline
Joined: 2006-05-05

Hi, chen!
Have you solved this problem? I want to be a friend of you. May I know your msn?

atalanta0505
Offline
Joined: 2009-03-06

Hello, I have the same problem of ''dependency dropped', Ive tried the method you supplied, but nothing worked.
Here is my environment variables setting:

D:\java>cmd /k set_win.bat

and then there are coming out:
D:\java>set COMPONENTS_DIR=D:/java/phoneme_feature

D:\java>set BUILD_OUTPUT_DIR=D:/java/phoneme_feature/build_output

D:\java>set JDK_DIR=D:/java/j2sdk1.4.2_19

D:\java>set CYG4ME=D:\CYGWIN\cyg4me

D:\java>set PATH=D:\CYGWIN\cyg4me\bin;D:/java/j2sdk1.4.2_19/bin;D:\Program Files\Microsoft Visual Studio 8\Common7\IDE;D:\Program Files\Microsoft Visual Studio 8\VC\BIN;D:\Program Files\Microsoft Visual Studio 8\Common\Tools;D:\Program Fil
es\Microsoft Visual Studio 8\Common7\Tools\bin;D:\Program Files\Microsoft Visual
Studio 8\VC\PlatformSDK\bin;D:\Program Files\Microsoft Visual Studio 8\SDK\v2.0
\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;D:\Program Files\Microsoft Vi
sual Studio 8\VC\VCPackages;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\W
bem;D:\Program Files\doxygen\bin;D:\Program Files\Microsoft Visual Studio 8\VC\b
in;C:\Nokia\Update_Manager\bin;D:\Program Files\StormII\Codec;D:\Program Files\S
tormII

D:\java>set BuildDir=D:/java/phoneme_feature/javacall-com/configuration/phoneMEF
eature/win32_emul

D:\java>set JAVACALL_DIR=D:/java/phoneme_feature/javacall

D:\java>set PROJECT_JAVACALL_DIR=D:/java/phoneme_feature/javacall-com

D:\java>set JAVACALL_OUTPUT_DIR=D:/java/phoneme_feature/build_output/javacall

D:\java>set TOOLS_DIR=D:/java/phoneme_feature/tools

D:\java>set TOOLS_OUTPUT_DIR=D:/java/phoneme_feature/build_output/tools

D:\java>set PCSL_PLATFORM=javacall_i386_vc

D:\java>set PCSL_OUTPUT_DIR=D:/java/phoneme_feature/build_output/pcsl

D:\java>set JAVACALL_PLATFORM=win32_i386_vc

D:\java>set CLDC_DIST_DIR=D:/java/phoneme_feature/build_output/cldc/javacall_i38
6_vc/dist

D:\java>set JVMWorkSpace=D:/java/phoneme_feature/cldc

D:\java>set JVMBuildSpace=D:/java/phoneme_feature/build_output/cldc

D:\java>set MIDP_OUTPUT_DIR=D:/java/phoneme_feature/build_output/midp
D:\java>make -C %JVMWorkSpace%/build/javacall_i386_vc USE_VS2005=true ENABLE_PCS
L=true ENABLE_ISOLATES=true
../share/root.make:180: warning: overriding commands for target `D:/java/phoneme
_feature/build_output/cldc'
../share/root.make:165: warning: ignoring old commands for target `D:/java/phone
me_feature/build_output/cldc'
../share/root.make:294: warning: overriding commands for target `D:/java/phoneme
_feature/build_output/cldc'
../share/root.make:180: warning: ignoring old commands for target `D:/java/phone
me_feature/build_output/cldc'
../share/root.make:311: warning: overriding commands for target `D:/java/phoneme
_feature/build_output/cldc'
../share/root.make:294: warning: ignoring old commands for target `D:/java/phone
me_feature/build_output/cldc'
../share/root.make:332: warning: overriding commands for target `D:/java/phoneme
_feature/build_output/cldc'
../share/root.make:311: warning: ignoring old commands for target `D:/java/phone
me_feature/build_output/cldc'
../share/root.make:349: warning: overriding commands for target `D:/java/phoneme
_feature/build_output/cldc'
../share/root.make:332: warning: ignoring old commands for target `D:/java/phone
me_feature/build_output/cldc'
../share/root.make:374: warning: overriding commands for target `D:/java/phoneme
_feature/build_output/cldc'
../share/root.make:349: warning: ignoring old commands for target `D:/java/phone
me_feature/build_output/cldc'
../share/root.make:399: warning: overriding commands for target `D:/java/phoneme
_feature/build_output/cldc'
../share/root.make:374: warning: ignoring old commands for target `D:/java/phone
me_feature/build_output/cldc'
../share/root.make:423: warning: overriding commands for target `D:/java/phoneme
_feature/build_output/cldc'
../share/root.make:399: warning: ignoring old commands for target `D:/java/phone
me_feature/build_output/cldc'
../share/root.make:447: warning: overriding commands for target `D:/java/phoneme
_feature/build_output/cldc'
../share/root.make:423: warning: ignoring old commands for target `D:/java/phone
me_feature/build_output/cldc'
../share/root.make:480: warning: overriding commands for target `D:/java/phoneme
_feature/build_output/cldc'
../share/root.make:447: warning: ignoring old commands for target `D:/java/phone
me_feature/build_output/cldc'
make: Entering directory `D:/java/phoneme_feature/cldc/build/javacall_i386_vc'
==================================
JVMBuildSpace = D:/java/phoneme_feature/build_output/cldc
JVMWorkSpace = D:/java/phoneme_feature/cldc
ROMIZING = true
SHELL = D:/CYGWIN/cyg4me/bin/sh.exe
ENABLE_ISOLATES = true
ENABLE_MONET =
==================================
make: Circular tools <- D:/java/phoneme_feature/build_output/cldc dependency dro
pped.
test: /javacall_i386_vc/tools: unknown operand
cannot create /javacall_i386_vc/tools/Makefile: directory nonexistent
make: *** [/javacall_i386_vc/tools/Makefile] Error 2
make: Leaving directory `D:/java/phoneme_feature/cldc/build/javacall_i386_vc'

atalanta0505
Offline
Joined: 2009-03-06

and then I just re-tried and opened some file folders to see the .cfg files, did nothing but opened them and closed, the building recovered like a miracle.
speechless...

danila
Offline
Joined: 2006-09-25

Hello,

Can you list your environment settings and the command line used to start the build?

Thanks,
Danila

chenzhp
Offline
Joined: 2006-04-11

First,Run the .bat file VCVARS32.bat.This file is in the directory:
D:\Program Files\Microsoft Visual Studio\VC98\Bin
result:
[b]E:\>VCVARS32
Setting environment for using Microsoft Visual C++ tools.[/b]
Then,I was edit a .bat file named SetEnviroment
content is :
set HOME=E:/Development/phoneme_feature
set BUILD_OUTPUT_DIR=%HOME%/build_output
set JDK_DIR=C:/j2sdk1.4.2_09
set PATH=E:/cyg4me/bin;%JDK_DIR%/bin;%PATH%

set JAVACALL_INCLUDE_DIR=%HOME%/javacall/include
set JAVACALL_OUTPUT_DIR=%BUILD_OUTPUT_DIR%/javacall

set JVMWorkSpace=%HOME%/cldc
set JVMBuildSpace=%BUILD_OUTPUT_DIR%/cldc
cd %JVMWorkSpace%/build/win32_i386

now ,I run this file
result in command line
[b]E:>SetEnviroment[/b]
E:\>set HOME=E:/Development/phoneme_feature

E:\>set BUILD_OUTPUT_DIR=E:/Development/phoneme_feature/build_output

E:\>set JDK_DIR=C:/j2sdk1.4.2_09

E:\>set PATH=E:/cyg4me/bin;C:/j2sdk1.4.2_09 /bin;D:\PROGRA~1\MICROS~2\Common\msdev98\

E:\>set JAVACALL_INCLUDE_DIR=E:/Development/phoneme_feature/javacall/include

E:\>set JAVACALL_OUTPUT_DIR=E:/Development/phoneme_feature/build_output /javacall

E:\>set JVMWorkSpace=E:/Development/phoneme_feature/cldc

E:\>set JVMBuildSpace=E:/Development/phoneme_feature/build_output /cldc

E:\>cd E:/Development/phoneme_feature/cldc /build/win32_i386
E:\Development\phoneme_feature\cldc\build\win32_i386>

[b]next I type command "make"
E:\Development\phoneme_feature\cldc\build\win32_i386>make[/b]error :
../share/root.make:176: warning: overriding commands for target `E:/Development/phoneme_feature/build_output'
../share/root.make:161: warning: ignoring old commands for target `E:/Development/phoneme_feature/build_output'
../share/root.make:290: warning: overriding commands for target `E:/Development/phoneme_feature/build_output'
../share/root.make:176: warning: ignoring old commands for target `E:/Development/phoneme_feature/build_output'
../share/root.make:307: warning: overriding commands for target `E:/Development/phoneme_feature/build_output'
../share/root.make:290: warning: ignoring old commands for target `E:/Development/phoneme_feature/build_output'
../share/root.make:328: warning: overriding commands for target `E:/Development/phoneme_feature/build_output'
../share/root.make:307: warning: ignoring old commands for target `E:/Development/phoneme_feature/build_output'
../share/root.make:345: warning: overriding commands for target `E:/Development/phoneme_feature/build_output'
../share/root.make:328: warning: ignoring old commands for target `E:/Development/phoneme_feature/build_output'
../share/root.make:370: warning: overriding commands for target `E:/Development/phoneme_feature/build_output'
../share/root.make:345: warning: ignoring old commands for target `E:/Development/phoneme_feature/build_output'
../share/root.make:395: warning: overriding commands for
test: /src/vm/share: unknown operand
test: /jre/lib/rt.jar: unknown operand
==================================
JVMBuildSpace = E:/Development/phoneme_feature/build_output /cldc
JVMWorkSpace = E:/Development/phoneme_feature/cldc
ROMIZING = true
SHELL = E:/cyg4me/bin/sh.exe
ENABLE_ISOLATES =
ENABLE_MONET =
==================================
make: Circular tools E:/Development/phoneme_feature/build_output dependency dropped.
test: /cldc/win32_i386/tools: unknown operand
cannot create /cldc/win32_i386/tools/Makefile: directory nonexistent
make: *** [/cldc/win32_i386/tools/Makefile] Error 2
Thank you danila

Message was edited by: chenzhp

Message was edited by: chenzhp

Message was edited by: chenzhp

danila
Offline
Joined: 2006-09-25

Batch files are run in a new instance of command interpreter by default and setting env variables from a batch file doesn't affect parent environment.

To work it around use cmd /k:

> cmd /k SetEnvironment.bat
> make
> exit

Please let me know if it work for you.

Thanks,
Danila

chenzhp
Offline
Joined: 2006-04-11

Thank you danila!
I amended this bat file.but the same error happen.
[b]E:\>cmd/k VCVARS32
Setting environment for using Microsoft Visual C++ tools.
E:\>cmd/k SetEnviroment[/b]
So,I don't use the bat file.Set these Enviroments to windows "My computer".
Now ,new error happen
E:\Development\phoneme_feature\cldc\build\win32_i386>make
e:\cyg4me\bin\make.exe[1]: Entering directory `E:/Development/phoneme_feature/cldc/build/win32_i386
... copied root Makefiles
e:\cyg4me\bin\make.exe[1]: Leaving directory `E:/Development/phoneme_feature/cldc/build/win32_i386'
test: /src/vm/share: unknown operand
==================================
JVMBuildSpace = E:/Development/phoneme_feature/build_output/cldc
JVMWorkSpace = E:/Development/phoneme_feature/cldc
ROMIZING = true
SHELL = E:/cyg4me/bin/sh.exe
ENABLE_ISOLATES =
ENABLE_MONET =
==================================
created E:/Development/phoneme_feature/build_output/cldc/win32_i386/tools/Makefile
==============================
creating build tools...
==============================
Makefile:9: E:/Development/phoneme_feature/cldc: Permission denied
Makefile:9: /build/win32_i386/win32_i386.cfg: No such file or directory
Makefile:10: E:/Development/phoneme_feature/cldc: Permission denied
Makefile:10: /build/share/tools.make: No such file or directory
make[1]:
make[1]: *** No rule to make target `/build/share/tools.make'. Stop.
make[1]: Entering directory `E:/Development/phoneme_feature/build_output/cldc/win32_i386/tools'
make[1]: Leaving directory `E:/Development/phoneme_feature/build_output/cldc/win32_i386/tools'
make: *** [tools] Error 2

danila
Offline
Joined: 2006-09-25

Let's check if 'test' is picked up from cyg4me and 'make' version is okay.
Type
> which test
> make -v
in the same shell as you run 'make'.

chenzhp
Offline
Joined: 2006-04-11

result:

E:\>which test
/cygdrive/e/cyg4me/bin/test

E:\>make -v
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for Windows32
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to .

danila,have you built this successfully?

danila
Offline
Joined: 2006-09-25

Yes, the build works fine for me.
It seems your build failure is caused by the space character in JVMBuildSpace value:
set JVMBuildSpace=E:/Development/phoneme_feature/build_output /cldc

Try to replace it with
set JVMBuildSpace=E:/Development/phoneme_feature/build_output/cldc

chenzhp
Offline
Joined: 2006-04-11

Now,I hava built PCSL successfully.
then I hava built cldc according on the SUN Document.But,at the end of build process there is a error happen:

Generating debug assembly code: ... Interpreter_i386.asm
Generating oopmaps
make[2]:
make[2]: Entering directory `E:/Development/phoneme_feature/build_output/cldc/win32_i386/romgen/app'
ml.exe: not found
make[2]: *** [Interpreter_i386.obj] Error 127
make[2]: Leaving directory `E:/Development/phoneme_feature/build_output/cldc/win32_i386/romgen/app'
make[1]: *** [../../romgen/app/romgen.exe] Error 2
make[1]: Leaving directory `E:/Development/phoneme_feature/build_output/cldc/win32_i386/romgen/app'
make: *** [_romgen] Error 2

danlia,could you send me a E-MAIL let me know your method?
Thank you very much.
My E-Mail is chen_zhp1983@hotmail.com

danila
Offline
Joined: 2006-09-25

It seems that MASM (ml.exe) is missing in your Visual Studio installation.
Please check that your installation matches the requirements for the build:

Microsoft Visual C++ (MSVC++) Professional Version 6.0 (with Microsoft Processor Pack 5, version 6.15 or later, and an up-to-date Service Pack) or Visual Studio .NET 2003

chenzhp
Offline
Joined: 2006-04-11

Thank you very much!
I want to be a friend of you。Could I know your MSN?

danila
Offline
Joined: 2006-09-25

My ICQ number is 216447561

chenzhp
Offline
Joined: 2006-04-11

another question,
when I build it for wince_arm,an error happen,
==============================
starting DEBUG build
==============================
make[1]: Entering directory `E:/Development/phoneme_feature/build_output/cldc/wince_arm/target/debug'
make[1]: Nothing to be done for `dependencies'.
make[1]: Leaving directory `E:/Development/phoneme_feature/build_output/cldc/wince_arm/target/debug'
make[1]: Entering directory `E:/Development/phoneme_feature/build_output/cldc/wince_arm/target/debug'
[b]Generating _build_pch_visCPP.obj ...
make[1]: *** [_build_pch_visCPP.obj] Error 5[/b]
make[1]: Leaving directory `E:/Development/phoneme_feature/build_output/cldc/wince_arm/target/debug'
make: *** [_debug] Error 2

danila
Offline
Joined: 2006-09-25

Please run the build in verbose mode:
> set VERBOSE_BUILD=true
> make
and paste the tail of console output here

chenzhp
Offline
Joined: 2006-04-11

==============================
echo "starting DEBUG build"
starting DEBUG build
echo "=============================="
==============================
make -C E:/Development/phoneme_feature/build_output/cldc/wince_arm/target/debug dependencies
make[1]: Entering directory `E:/Development/phoneme_feature/build_output/cldc/wince_arm/target/debug
make[1]: Nothing to be done for `dependencies'.
make[1]: Leaving directory `E:/Development/phoneme_feature/build_output/cldc/wince_arm/target/debug'
make -C E:/Development/phoneme_feature/build_output/cldc/wince_arm/target/debug
make[1]: Entering directory `E:/Development/phoneme_feature/build_output/cldc/wince_arm/target/debug
echo Generating _build_pch_visCPP.obj ...
Generating _build_pch_visCPP.obj ...
echo '#include "incls/_precompiled.incl"' > \
../generated/_build_pch_visCPP.cpp
D:/Progra~1/Micros~1.0/EVC/wce420/bin/clarm.exe /Zi /Od -I"../generated" -I"E:/Development/phoneme_
re/verifier" -I"E:/Development/phoneme_feature/cldc/src/vm/share/float" -I"E:/Development/phoneme_fe
/ads_extender" -DARM /D "_DEBUG" /D "AZZERT" /D "DEBUG" /X /I"D:/Window~1/wce420/POCKET~1/Include/Ar
/Yc"incls/_precompiled.incl" /c ../generated/_build_pch_visCPP.cpp
[b]make[1]: *** [_build_pch_visCPP.obj] Error 5[/b]
make[1]: Leaving directory `E:/Development/phoneme_feature/build_output/cldc/wince_arm/target/debug'
make: *** [_debug] Error 2