![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| strange ftp problem | ajnabi | UNIX for Dummies Questions & Answers | 3 | 09-15-2006 05:54 PM |
| Strange FTP problem | widder | HP-UX | 4 | 06-08-2006 06:17 AM |
| very strange problem | kemobyte | Linux | 5 | 03-31-2004 08:47 PM |
| Strange Problem | forjohnny | UNIX for Dummies Questions & Answers | 2 | 09-28-2001 08:24 AM |
| Strange problem.Please Help ! | lyhsm | UNIX for Dummies Questions & Answers | 1 | 11-30-2000 09:00 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
It sounds like you are trying to compile a bug that has a bug in it. The author of the program needs to fix the bug. He or she has probably missed an include file that needs to added to the program. The include file ctpublic.h is assuming that earlier code has already defined SQLDA but that is not the case.
It is possible that the sybase folks made an error, but I doubt that. |
||||
| Google The UNIX and Linux Forums |