1748275 Members
3703 Online
108761 Solutions
New Discussion юеВ

make error on 11i

 
SOLVED
Go to solution
Dave Adams_1
New Member

make error on 11i

Hi there, one of my user's has a problem running make on an 11i server I'm trying to migrate them to. The code run's OK on 10.20, I have installed B3901BA B.11.11.06 HP C/ANSI C Developer's Bundle along with PHSS_28706 ANSI C compiler B.11.11.06 cumulative patch.

The error is below, I would be grateful for any help on this problem.

# make comp_all z9Mdutyext.c
cc: "/appl/local/rimgtw/src/z90/obj/z90arcday.c", line 4: error 1000: Unexpected symbol: "*".
cc: panic 2017: Cannot recover from earlier errors, terminating.

4 REPLIES 4
Ermin Borovac
Honored Contributor

Re: make error on 11i

Can you show us line 4 of /appl/local/rimgtw/src/z90/obj/z90arcday.c? Few lines above and below would be nice too.
Dave Adams_1
New Member

Re: make error on 11i

Thanks for the quick response, theses are the first 14 lines of code:

#define SQLCA_INCL /* I4GLC4 */
#include
#include
extern _SQCURSOR *_iqnprep();

#if !defined(__STDC__)
#define const
#endif

static const char *_Cn1 = "i0000713d_0cd57f0d";
#include

#include
#include
#include
#include
#include
#define I4GL_SQLCA /* I4GLC1 */
Ermin Borovac
Honored Contributor
Solution

Re: make error on 11i

>>> extern _SQCURSOR *_iqnprep();

Compiler doesn't have a definition for _SQCURSOR type.

_SQCURSOR should be defined in sqlhdr.h.

Have a look in your sqlhdr.h and make sure it contains definition for _SQCURSOR.
Dave Adams_1
New Member

Re: make error on 11i

Thanks for your help, this has indeed solved the problem.