The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 08:54 PM
Strange FTP problem widder HP-UX 4 06-08-2006 09:17 AM
very strange problem kemobyte Linux 5 03-31-2004 11:47 PM
Strange Problem forjohnny UNIX for Dummies Questions & Answers 2 09-28-2001 11:24 AM
Strange problem.Please Help ! lyhsm UNIX for Dummies Questions & Answers 1 12-01-2000 12:00 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #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
  #2 (permalink)  
Old 01-16-2002
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,100
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:24 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0