The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-15-2002
Registered User
 

Join Date: Mar 2001
Location: Calcutta, India
Posts: 46
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
Reply With Quote
Forum Sponsor
  #2  
Old 01-16-2002
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,658
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0