hi Simon,

Thank you for your advice.
I change the command cl -help 2>&1 | tr -d '\r' | head -1 | awk '{ printf v$8; 
}' to cl -help 2>&1 | tr -d '\r' | head -1 | awk '{ printf v$10; }'
make is working, it's maybe because I used Microsoft VS 2005 Chinese edition, 
run cl.exe -v will get the message as below:
用于 80x86 的 Microsoft (R) 32 位 C/C++ 优化编译器 14.00.50727.42 版 
Ok, the error which can't to make has been fixed, then I get some link errors:
make[2]: Enter 
directory“/cygdrive/f/OpenSplice_src/OpenSpliceDDSV5.5.1-src/OpenSplice/src/kernel”
make[3]: Enter 
directory“/cygdrive/f/OpenSplice_src/OpenSpliceDDSV5.5.1-src/OpenSplice/src/kernel/bld/x86.win32-dev”
sh /cygdrive/f/OpenSplice_src/OpenSpliceDDSV5.5.1-src/OpenSplice/bin/sppodl  
../../code/v_kernel.odl
cp kernelModule.h  
/cygdrive/f/OpenSplice_src/OpenSpliceDDSV5.5.1-src/OpenSplice/src/include
cp: can't get "kernelModule.h" file state(stat): No such file or directory
sh /cygdrive/f/OpenSplice_src/OpenSpliceDDSV5.5.1-src/OpenSplice/bin/sppodl  
../../code/v_kernel.odl
cp kernelModule.h  
/cygdrive/f/OpenSplice_src/OpenSpliceDDSV5.5.1-src/OpenSplice/src/include
cp: can't get "kernelModule.h" file state(stat): No such file or directory
make[3]: *** No rules for create“v_dataView.d”, need the file“kernelModule.h”。 
stoping。
make[3]: Leave 
directory“/cygdrive/f/OpenSplice_src/OpenSpliceDDSV5.5.1-src/OpenSplice/src/kernel/bld/x86.win32-dev”
makefile:4: recipe for target `link' failed
make[2]: *** [link] Error 2
make[2]: Leave 
directory“/cygdrive/f/OpenSplice_src/OpenSpliceDDSV5.5.1-src/OpenSplice/src/kernel”
/cygdrive/f/OpenSplice_src/OpenSpliceDDSV5.5.1-src/OpenSplice/setup/makefiles/subsystem.mak:11:
 recipe for target `kernel.ss_link' failed
make[1]: *** [kernel.ss_link] Error 2
make[1]: Leave 
directory“/cygdrive/f/OpenSplice_src/OpenSpliceDDSV5.5.1-src/OpenSplice/src”
/cygdrive/f/OpenSplice_src/OpenSpliceDDSV5.5.1-src/OpenSplice/setup/makefiles/subsystem.mak:11:
 recipe for target `src.ss_link' failed
make: *** [src.ss_link] Error 2

And I searched the "kernelModule.h" file in the directory but not found, why? 
can you give me some help, thanks.




hanni_xu

From: Simon McQueen
Date: 2013-01-22 00:44
To: OpenSplice DDS Developer Mailing List
Subject: Re: [OSPL-Dev] How to build the OpenSplice DDS Community v5.5.1
On 21/01/13 16:29, Simon McQueen wrote:
> Hi hanni_xu,
> 
> On 21/01/13 06:02, hanni_xu wrote:
> <snipped>
>>
>> VS: -bash: [: C/C++: integer expression expected
>> OK - using C/C++
> 
> Here is your problem. The above is a cygwin bash script error of some
> sort, (although the configure script is not recognising it as so - it
> probably should).

The configure script is running the command:

cl -help 2>&1 | tr -d '\r' | head -1 | awk '{ printf v$8; }'

... and expecting output that looks something like:

14.1234.10101.000 or something like that back. If that doesn't work for
you, that's where the problem lies.


_______________________________________________
OpenSplice DDS Developer Mailing List
Developer@opensplice.org
Subscribe / Unsubscribe http://dev.opensplice.org/mailman/listinfo/developer
_______________________________________________
OpenSplice DDS Developer Mailing List
Developer@opensplice.org
Subscribe / Unsubscribe http://dev.opensplice.org/mailman/listinfo/developer

Reply via email to