PDA

View Full Version : CSPX Getting start


yuhming
08-18-2008, 01:20 PM
Hi ,
I just follow the CSPX User Guide first example : sqrt_rpc
it didn't generted the "sqrt_rpc_interface.h" by below compiled option :

# cscn -Wcn,"-cspx-csx-file sqrt_rpc","-cspx-filename sqrt_rpc_interface" -lcspx -o sqrt_rpc.csx sqrt_rpc.cn

"c-" line -134227968: unable to determine type of parameter for cspx export

is there any advice ?:confused:

Yuhming

DavidStuttard
08-19-2008, 09:26 AM
The example in the documentation has a mistake in it in that the return type of the function can't be void.

Change the return type to an int and everything should work as expected.

The developer package release notes give details of this issue as CTS 5771 which will be resolved in subsequent releases.

Hope this helps

David

yuhming
08-20-2008, 01:37 AM
Thanks ... it works well