On 16/06/2010 18:01, Davide Dozza wrote:
> Hans-Joachim Lankenau - Sun Germany - ham02 - Hamburg ha scritto:
>> hi!
>>
>> On 06/16/10 11:25, Michael Stahl wrote:
>>> On 15/06/2010 17:54, Davide Dozza wrote:
>>>> Davide Dozza ha scritto:
>>>>
>>>> [...]
>>>>
>>>>> Making: items.srs
>>>>> cpp: line 0, Error: Too many file arguments. Usage: cpp [input
>>>>> [output]]
>>>>> Error starting preprocessor
>>>>> dmake: Error code 1, while making '../../wntmsci12.pro/srs/items.srs'
>>>>>
>> iirc, transex3 should be done at this point and this is an error from
>> rsc.exe
>>
>> my bet would be a TMP variable POSIX notation. on windows TMP should
>> look like TMP=c:/tmpdir (volume, colon, path with slashes) to make both
>> sides happy: cygwin and native tools.
>
> The TMP environment variable is not set while TMPDIR points to
> C:/cygwin/tmp
AFAIK $TMPDIR should be used then, it's the standard.
> I tried with VERBOSE=1
>
> This is the output *before* the debug window opens.
>
> Making: mediatyp.src
> mkdir.exe ../../wntmsci12.pro/misc/misc/
> /bin/rm -f ../../wntmsci12.pro/misc/misc/mediatyp.src
> mkdir.exe -p ../../wntmsci12.pro/misc/svl
> : &&
> PATH=${PATH+${PATH}:}/cygdrive/c/ooo/DEV300_m81/solver/300/wntmsci12.pr
> o/bin C:/ooo/DEV300_m81/solver/300/wntmsci12.pro/bin/transex3 -p svl -i
> mediaty
> p.src -o ../../wntmsci12.pro/misc/misc/mediatyp.src.wntmsci12.pro -m
> ../../wntms
> ci12.pro/misc/svl/dummy/localize.sdf -l all
>
> TransEx 3.1 Copyright 2000, 2010 Oracle and/or its affiliates. All
> Rights Reserv
> ed.
> ================================================================================
> =====
>
>
> The msg error on the debug window reports:
> "An unhandled win32 exception occurred in transex3.exe [496]"
so indeed "transex3" is buggy.
please try to get a backtrace to see what's going on exactly.
probably you need to compile "transex3" with debug, and also the "tools"
module:
> cd tools && rm -r wntmsci12* && build debug=t -P4 && DISABLE_STRIP=t deliver
> cd transex && rm -r wntmsci12* && build debug=t -P4 && DISABLE_STRIP=t deliver
(i hope that should put unstripped libraries in the solver, but haven't
tried it. if it strips anyway, copy the libraries...)
when you have a good backtrace, you can file an issue.
for bonus points, try to figure out how to fix it yourself if you like,
and attach a patch.
> after that if I select NO for debugging the building process ends with:
>
> mv ../../wntmsci12.pro/misc/misc/mediatyp.src.wntmsci12.pro
> ../../wntmsci12.pro/
> misc/misc/mediatyp.src
> /bin/rm -f ../../wntmsci12.pro/misc/misc/mediatyp.src.wntmsci12.pro
> Making: misc.srs
> : &&
> PATH=${PATH+${PATH}:}/cygdrive/c/ooo/DEV300_m81/solver/300/wntmsci12.pr
> o/bin slfl.pl C:/ooo/DEV300_m81/solver/300/wntmsci12.pro/bin/rsc
> -presponse -ver
> bose @C:/cygwin/tmp/mkfRlloJ
> Preprocessor commandline: -I. -I. -I..\..\wntmsci12.pro\inc\misc
> -I..\inc -I..\
> ..\inc\pch -I..\..\inc -I..\..\WIN\inc -I..\..\wntmsci12.pro\inc -I.
> -IC:\ooo\DE
> V300_m81\solver\300\wntmsci12.pro\inc\stl
> -IC:\ooo\DEV300_m81\solver\300\wntmsci
> 12.pro\inc\external -IC:\ooo\DEV300_m81\solver\300\wntmsci12.pro\inc
> -IC:\ooo\DE
> V300_m81\solenv\wntmsci12\inc -IC:\ooo\DEV300_m81\solenv\inc
> -IC:\ooo\DEV300_m81
> \res -IC:\ooo\DEV300_m81\solver\300\wntmsci12.pro\inc\stl
> -IC:\PROGRA~1\Java\JDK
> 16~1.0_2\include\win32 -IC:\PROGRA~1\Java\JDK16~1.0_2\include
> -IC:\PROGRA~1\MICR
> OS~2\Windows\v6.1\include -IC:\PROGRA~1\MICROS~1.0\VC\include
> -IC:\PROGRA~1\MICR
> OS~1.0SD\include -IC:\PROGRA~1\MICROS~1.0SD\include
> -IC:\ooo\DEV300_m81\solver\3
> 00\wntmsci12.pro\inc\offuh -I. -I..\..\res -I. -DWNT -DNT351 -DMSC
> -DM1500 -DSOL
> AR_JAVA -DFULL_DESK -DPRODUCT -DNDEBUG -DOSL_DEBUG_LEVEL=0
> -DUPDVER="300m81(Buil
> d:9509)" ..\..\wntmsci12.pro\misc\misc\mediatyp.src C:\Documents and
> Settings\ut
> ente1\AAC.tmp
> Preprocessor startline:
> C:/ooo/DEV300_m81/solver/300/wntmsci12.pro/bin/rscpp @C
> :\Documents and Settings\utente1\AAD.tmp
> cpp: line 0, Error: Too many file arguments. Usage: cpp [input [output]]
> Error starting preprocessor
> dmake: Error code 1, while making '../../wntmsci12.pro/srs/misc.srs'
not sure what the problem is here.
maybe in the call to rscpp the @C:\Documents and Settings\utente1\AAD.tmp
needs to have "s around it?
if that helps then "rsc" is too dumb to put quotes in and should be fixed.
or maybe it's a consequence of "transex3" failing before?
hmm, why is this temp file not created in $TMPDIR?
try setting "export TMP=$TMPDIR", if that helps then the "rsc" is too dumb
to understand $TMPDIR and should be fixed.
> Davide
--
If God had meant for us to be naked, we would have been born that way.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]