Very strange problem with Sun dmake

Thread Tools Search this Thread
Top Forums Programming Very strange problem with Sun dmake
# 1  
Old 01-15-2002
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
# 2  
Old 01-16-2002
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

strange problem

hello all, i am having problem in accessing a directory.I dont think its a permission issue.can anyone help me out. I am using korn sell code: $ ls -ltr sc* lrwxrwxrwx 1 essbase essbase 21 Oct 8 2010 sc_ssp -> /work/nfs/nas2/sc_ssp $ cd sc_ssp ksh: sc_ssp: not found $ (6 Replies)
Discussion started by: manid
6 Replies

2. Shell Programming and Scripting

Strange Problem

Hi All, I am encountering an unexpected problem while running my process, using daemon placed in /etc/init.d/. I have a process that is opening shared library using dlopen. When I run my process on the command line, it is able to open the library. But when I used daemon to run my process, I... (0 Replies)
Discussion started by: qwerty-1
0 Replies

3. Shell Programming and Scripting

Strange problem.

Well, my script started off to do what i wanted. Now, i think its not recognizing the pattern so its not moving anything. What i have to do is execute my script command for the move to take effect. So i did that and yayy it worked. Strange thing is that my DESTDIR was empty to begin with.... (2 Replies)
Discussion started by: oxoxo
2 Replies

4. Shell Programming and Scripting

Strange problem

I am using SunOS 5.9 and I don't know why all my commands are getting executed as if an extra 'enter' has been pressed. What could be the reason and how to correct it? Please help. Asty (2 Replies)
Discussion started by: Asty
2 Replies

5. UNIX for Advanced & Expert Users

Strange File Problem

I will try to provide as many details as possible but this one has me scratching my head... A few months ago I was asked to set up a test syslog server for internal use only. I chose to go the following route for simplicity: 1. I used Gentoo Linux so that I could have the most stripped down... (5 Replies)
Discussion started by: deckard
5 Replies

6. Linux

very strange problem

I have installed Fedora Core on a Toshiba Satellite Pro4600 laptop recently I have experienced a rather mysterious problem if I touch anything specially the keyboard or mouse I see this stuff “67yujhnmyyy” straight away some time it won't stop for while like this... (5 Replies)
Discussion started by: kemobyte
5 Replies

7. UNIX for Dummies Questions & Answers


Hi.. Some of my application were not running properly due to lack of virtual wht i did add one free harddisk as swap file system...and increased the swap memory.. But since than my root file system is showing 100% full thr is no space thr any link between these two..... (1 Reply)
Discussion started by: Prafulla
1 Replies

8. UNIX for Dummies Questions & Answers

Strange Problem

I did an installation of Redhat 7.1 and it seem to install smoothly. I go and reboot and I get the following message: "INIT: Id "x" respawing too fast: disabled for 5 minutes" The screen flashes 4 times every 10 seconds or so. I can't seem to figure why this does this. It might be a simple... (2 Replies)
Discussion started by: forjohnny
2 Replies

9. UNIX for Dummies Questions & Answers

Strange problem.Please Help !

I¡¯m a network operator, mine is an IBM PC server 320, operating system SCO unix 3.2v4.2, triton 3.1 of Baan. Recently, my server went dead every a few hours, no sign & signal shows malfunction suddenly. It looks like a sudden power failure, but the indicator of main power supply is on. Normal... (1 Reply)
Discussion started by: lyhsm
1 Replies
Login or Register to Ask a Question