Re: unreferenced symbol __cg92_used when compiling Pro*C programs

From: Robin Parker <parkerr_at_logica.com>
Date: 1995/06/23
Message-ID: <parkerr.9.00104ECD_at_logica.com>#1/1


In article <ABpckwlqT3_at_geol.spb.su> Anton V. Gruza <ant_at_geol.spb.su> writes:

>Hi, world !
 

>Could anyone please help me with ORACLE 7.1.3 and Pro*C 1.6 ( and 2.0 ) ?
>After installing server on my Sun host, I've tried to compile Pro*C examples
>in $ORACLE_HOME/proc/demo with gcc.
>There is "proc.mk" file there - so I typed "make -f proc.mk sample1" -
>but :-(.....
 

>First of all, gcc doesn't know language "cg92" ( through command line option
>-xcg92 ) - that was the reason for some warnings, but finally
>ld could not find referenced symbol "__cg92_used". What does it mean ?
 

>I couldn't catch any reference to this symbol looking through manuals or
>Oracle*books.
 

>Any ideas and suggestions would be greatly appreciated .
 

>Thanks,
>Anton
>___________________________________________________________________________
 

> Anton Gruza E-mail: ant_at_geol.spb.su
> North-Western Geological Center Voice: (812)352-30-19
> St.Petersburg, Russia Fax: (812)352-3019
>___________________________________________________________________________

-xcg92 is a compiler option on the Sun Sparc C compiler. It tells the compiler to make some optimizations for the Sun Sparc 10 series hardware (ie Sparc 10, 20, 1000). I guess that if you are not using Sun C compiler on these hardware platforms you do not need this option??

Robin. Received on Fri Jun 23 1995 - 00:00:00 CEST

Original text of this message