help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gmake with -B option


From: Bhaskar G
Subject: Re: gmake with -B option
Date: Fri, 6 Jan 2006 11:55:25 +0530


Hi,

I downloaded the beta version and built on a windows machine using build_w32.bat.
Build using 3.80 works fine. But with 3.81 I get errors on passing the flags to 'sed'
It there anything else that I need to consider.

GMAKE 3.80 version
D:\sde2\sde_template\comps\tmComp1>gmake
generating d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/tmFlags.h
generating d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/phFlags.h
Making d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/tmFlags.mk
Making d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/phFlags.mk
Making dependencies for tmComp1.c ...
compiling D:/sde2/sde_template/comps/tmComp1/src/tmComp1.c
tmComp1.c
Building library d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/libtmComp1
_g.lib

GMAKE 3.81beta version
D:\sde2\sde_template\comps\tmComp1>gnumake
generating d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/tmFlags.h
d:/sde2/sde_template/sde/cygwin/sed: -e _expression_ #1, char 30: Unknown option t
o 's'
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
Syntax error: "(" unexpected
generating d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/tmFlags.h
d:/sde2/sde_template/sde/cygwin/sed: -e _expression_ #1, char 30: Unknown option t
o 's'
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
Syntax error: "(" unexpected
SDE2 can not find definition of _tmComp1_DIR. Update your prjlist.txt or loc_lis
t.* files !!!\
D:/sde2/sde_template/comps/tmComp1/src/tmComp1.c:5: stdio.h: No such file or dir
ectory
Making dependencies for tmComp1.c ...
compiling D:/sde2/sde_template/comps/tmComp1/src/tmComp1.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

cl : Command line warning D4002 : ignoring unknown option '-Z '
cl : Command line warning D4002 : ignoring unknown option '-Z/'
cl : Command line warning D4002 : ignoring unknown option '-Zn'
cl : Command line warning D4002 : ignoring unknown option '-Zo'
cl : Command line warning D4002 : ignoring unknown option '-Zo'
cl : Command line warning D4002 : ignoring unknown option '-Zo'
tmComp1.c
static int __cdecl InternalFunction(int i);
extern void __cdecl tmComp1Print(int i);
Building library d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/libtmComp1
_g.lib
LIB : fatal error LNK1181: cannot open input file 'd:/results/x86_nt/./comps/tmC
omp1/tmp/x86_nt_el_i486_g/src/tmComp1.obj'
gnumake: *** [d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/libtmComp1_g.
lib] Error 157

Thanks & Regards,
Bhaskar G








"Paul D. Smith" <address@hidden>

Sent by:
"Paul Smith" <address@hidden>

01/05/2006 07:13 PM

Please respond to
"Paul D. Smith" <address@hidden>

To
Bhaskar G/BTC/SC/address@hidden
cc
address@hidden
Subject
Re: gmake with -B option
Classification





%% Bhaskar G <address@hidden> writes:

 bg> I am generating a makefile using echo, sed and awk commands if the
 bg> makefile is not existing.

 bg> makefile: <prerequisites>
 bg>         commands

 bg> ifneq ($(ALLOK),ok)
 bg> makefile: FORCE
 bg> endif

 bg> This works absolutely fine when I use gmake. When I use the gmake
 bg> with a -B option. The process loops in making the makefile and
 bg> doesnot proceed further.

You might check the latest beta.  I believe there were some issues with
-B in 3.80 that have been fixed.

 ftp://alpha.gnu.org/gnu/make/make-3.81beta4.tar.gz

If that doesn't help please create a small, self-contained makefile that
illustrates the problem and post it here; it's difficult to tell what
might be wrong from the bits above.


Good luck!

--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden>          Find some GNU make tips at:
http://www.gnu.org                      http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist


reply via email to

[Prev in Thread] Current Thread [Next in Thread]