Generating dyn file in CCES 2.8.1 from dxe file

I want to create a custom plugin for SigmaStudio for SHARC . I have written the wrapper code in c edited the ldf file to specify the entry point and build the project in CCES 2.8.1  and obtained the dxe file . But on on running the elf2dyn on command line it is showing error as ELF input error : cannot read the file. I have given the elf2dyn command as specified in the Algorithm designer pdf . Kindly help.