hi!

your change in rules.mk won't help as perl still needs cygwin notation
to process the parameters. try the attached patch which inserts guw.exe
when calling the native binary.

tschau...

ause

Canghua Qu wrote:
> Hi, Ruediger
> 
> Thank you very much ! :)
>>> I have a problem in building "instsetoo_native" (OOE680_m6) with cygwin  on 
>>> Windows XP.
>>> There is no error until building "basctl", and then errors come out 
>>> frequently, so I have to manually modify the files generated in 
>>> "\..\wntmsci11.pro\" ,then kept on building the following modules one by 
>>> one. 
> 
>> I think that's the wrong approach. You have to really fix the problem here 
>> in basctl (and above).
> I tried to dmake another source environment, and the error comes out in 
> "basctl" again. But I can't fix it this time. The error in basctl is:
> ******************************
> Sorry, the error is :
>  basidesh_3120.c1
> .\baside2.hrc(38) : fatal error C1083: Cannot open include file: 
> 'basidesh.hrc':No such file or directory
> ERROR - calling compiler for preprocessing failed
> dmake: Error code 2, while making '../../wntmsci11.pro/srs/basidesh.hid'
>  ---* tg_merge.mk *---
> ERROR: Error 65280 occurred while making 
> /cygdrive/e/ooo_OOE680_m6_src/basctl/so urce/basicide
> ***********************************
> 
>> Sorry, but we cannot help you as long as we do not know what you did
>> before. Obviously your build has problems long before which you somehow
>> worked around (see above). Your workaround seems not to be sufficient.
> 
> What I have done are:
> 1. change the line about # generate hid files in rules.mk (\solenv\inc\) 
>     from:
>            +$(PERL) $(SOLARENV)$/bin$/mhids.pl $*.src $(SRS) $(PRJNAME) 
> $(CDEFS) $(INCLUDE)
>     To: 
>             +$(WRAPCMD) $(PERL) $(SOLARENV)$/bin$/mhids.pl $*.src $(SRS) 
> $(PRJNAME) $(CDEFS)     $(INCLUDE)
>     
> 2. do configure
> 3. in ooo_OOE680_m6\winenv.set.sh:
>    1) remove the line :  NO_HIDS="TRUE"
>     2) remove NO_HIDS in the "export" field
>     3) add a line "export PROF_EDITION=TRUE"
> 4. do dmake
> 
> Then error comes out in module "basctl" as above.
> 
> I don't know how to resolve it now. I need your help! 
> Thank you very  much!
> 
> Best Regards,
> Canghua
> 

Index: mhids.pl
===================================================================
RCS file: /cvs/tools/solenv/bin/mhids.pl,v
retrieving revision 1.8
diff -u -r1.8 mhids.pl
--- mhids.pl	12 Oct 2006 13:49:53 -0000	1.8
+++ mhids.pl	4 Jun 2007 11:52:53 -0000
@@ -182,7 +182,7 @@
 #call  perl5 -p -e "s/=[ \t]*\".*\"/=\"\"/go; s/\".*\"[ \t]*;/\"\" ;/go ; s/(\".*)\/\/(.*\")/$1\/\\\/$2/go ;" < %filename% > %srs%\%workfile%.c0
 
 print  "hidc $filename ${shell_workfile}.c1 $prjname \n";
-$ret = system "hidc $filename ${shell_workfile}.c1 $prjname";
+$ret = system "$ENV{WRAPCMD} hidc $filename ${shell_workfile}.c1 $prjname";
 if ( $ret ) {
 	push @cleanuplist, ".c1";
 	cleandie("ERROR - calling \"hidc\" failed");

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to