Hi all; I am working on BF-533 Processor(Blackfin Processor, VDK rtos,VDSP4.5 compiler).
I am trying to port openssl-0.9.8g on VDK(BF-533,VDSP4.5).but this is giving some error. It is not able to open #include <iodef.h> and #include <descrip.h> in ssl_task.c. If I comment it this both include file so some error is coming. Which is as follows: //*********************************************************************// \ssl\ssl_task.c "ssl\ssl_task.c", line 158: cc0040: error: expected an identifier static $DESCRIPTOR(sysnet, "SYS$NET"); ^ "ssl\ssl_task.c", line 158: cc0092: {D} warning: identifier-list parameters may only be used in a function definition static $DESCRIPTOR(sysnet, "SYS$NET"); ^ "ssl\ssl_task.c", line 174: cc0020: error: identifier "IO$_READVBLK" is undefined status = SYS$QIOW ( 0, chan, IO$_READVBLK, &iosb, 0, 0, ^ "ssl\ssl_task.c", line 174: cc1080: {D} warning: Function does not have a full prototype status = SYS$QIOW ( 0, chan, IO$_READVBLK, &iosb, 0, 0, ^ "ssl\ssl_task.c", line 185: cc0020: error: identifier "IO$_WRITEVBLK" is undefined status = SYS$QIOW ( 0, chan, IO$_WRITEVBLK, &iosb, 0, 0, ^ "ssl\ssl_task.c", line 185: cc1080: {D} warning: Function does not have a full prototype status = SYS$QIOW ( 0, chan, IO$_WRITEVBLK, &iosb, 0, 0, ^ "ssl\ssl_task.c", line 216: cc1080: {D} warning: Function does not have a full prototype LIB$INIT_TIMER(); ^ "ssl\ssl_task.c", line 217: cc0020: error: identifier "sysnet" is undefined status = SYS$ASSIGN ( &sysnet, &chan, 0, 0, 0 ); ^ "ssl\ssl_task.c", line 217: cc1080: {D} warning: Function does not have a full prototype status = SYS$ASSIGN ( &sysnet, &chan, 0, 0, 0 ); ^ "ssl\ssl_task.c", line 251: cc1080: {D} warning: Function does not have a full prototype LIB$SHOW_TIMER(); ^ "ssl\ssl_task.c", line 253: cc1080: {D} warning: Function does not have a full prototype LIB$SHOW_TIMER(); ^ "ssl\ssl_task.c", line 259: cc1080: {D} warning: Function does not have a full prototype LIB$SHOW_TIMER(); ^ "ssl\ssl_task.c", line 279: cc1080: {D} warning: Function does not have a full prototype c_to_s=BIO_new(BIO_s_rtcp()); ^ "ssl\ssl_task.c", line 280: cc1080: {D} warning: Function does not have a full prototype s_to_c=BIO_new(BIO_s_rtcp()); ^ "ssl\ssl_task.c", line 316: cc0111: {D} warning: statement is unreachable link_state = 3; ^ "ssl\ssl_task.c", line 322: cc0111: {D} warning: statement is unreachable link_state = 3; ^ 4 errors detected in the compilation of "ssl\ssl_task.c". cc3089: fatal error: Compilation failed Tool failed with exit/exception code: 1. Build was unsuccessful. //*********************************************************************// So how I can remove this error. What is given below function is doing status = SYS$QIOW ( 0, chan, IO$_READVBLK, &iosb, 0, 0,buffer, maxlen, 0, 0, 0, 0 ); What substitution I can do for all these it work for VDK. Please reply me. Thnx. Regards; Ajeet Kumar Singh DSP Software Engg. Jasmin Infotech Private Limited Plot No.119, (Opp to N.I.O.T.), Velachery Tambaram Road, Pallikaranai, Chennai 600 100, India