Skip to main content

VBC 5.2 - Compilation errors from vtcimp.h

  • February 16, 2013
  • 0 replies
  • 0 views

Problem:

  • Product Name: VisiBroker for C
  • Product Version: 5.2
  • Product Component: ORB, Sun Workshop 6 Update 2 C 5.3
  • Platform/OS Version: Solaris 9

Upon compiling application with VBC 5.2, the following errors in vtcimp.h are reported :

"/vobs/psp1/cc/vendor/Inprise/include/vtcimp.h", line 141: Error: "," expected instead of "_dict_mtx". 
"/vobs/psp1/cc/vendor/Inprise/include/vtcimp.h", line 142: Error: Use ";" to terminate declarations. 
"/vobs/psp1/cc/vendor/Inprise/include/vtcimp.h", line 142: Error: Use ";" to terminate declarations. 
"/vobs/psp1/cc/vendor/Inprise/include/vtcimp.h", line 143: Error: Use ";" to terminate declarations. 
"/vobs/psp1/cc/vendor/Inprise/include/vtcimp.h", line 191: Error: "," expected instead of "_dict_mtx". 
"/vobs/psp1/cc/vendor/Inprise/include/vtcimp.h", line 192: Error: Use ";" to terminate declarations. 
"/vobs/psp1/cc/vendor/Inprise/include/vtcimp.h", line 192: Error: Use ";" to terminate declarations. 
"/vobs/psp1/cc/vendor/Inprise/include/vtcimp.h", line 193: Error: Use ";" to terminate declarations. 
"/vobs/psp1/cc/vendor/Inprise/include/vtcimp.h", line 214: Error: "," expected instead of "_dict_mtx". 
"/vobs/psp1/cc/vendor/Inprise/include/vtcimp.h", line 215: Error: Use ";" to terminate declarations. 
"/vobs/psp1/cc/vendor/Inprise/include/vtcimp.h", line 215: Error: Use ";" to terminate declarations. 
"/vobs/psp1/cc/vendor/Inprise/include/vtcimp.h", line 216: Error: Use ";" to terminate declarations. 
12 Error(s) detected.

Resolution:

The compilation errors in description were occurring because the following compiler directive flags were missing: -DTHREAD -DSOLARIS. Please refer to the shipped stdmk file in the examples directory for reference.

 

#VisiBroker
#Security