The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-15-2002
asutoshch asutoshch is offline
Registered User
  
 

Join Date: Mar 2001
Location: Calcutta, India
Posts: 49
Very strange problem with Sun dmake

I am working on Sun Solaris Workshop version 4.2, BEA Tuxedo version 6.0 as middleware, back end sybase 11.5 with CPRE 11.1. I am using Sun dmake for faster project build. I have a large number of .c, .v (which compile to .V, .h files. Those .h files are used for .c programs), .cp (which precompile to .c, .sql files) etc files. CPRE is used to pre compile the .cp files to .sql, .c files. I am getting some typical error messages even after reinstalling CPRE, sybase several times. Sun workshop cc compiler when trying to compile the .c files (generated by CPRE) give erros. A snapshot of the error messages are shown below:


"/opt/sybase/include/ctpublic.h", line 271: syntax error before or at: SQLDA
"/opt/sybase/include/ctpublic.h", line 271: warning: undefined or missing type or: SQLDA
"/opt/sybase/include/ctpublic.h", line 272: warning: undefined or missing type or: CS_INT
"/opt/sybase/include/sybhesql.h", line 192: syntax error before or at: SQLCA
"/opt/sybase/include/sybhesql.h", line 192: cannot recover from previous errors
cc: acomp failed for p_create_r200.c

I badly need some help on this issue. can someone guide me about the source of the error messages and what could be the solution?
Thanks and regards
Asch