Gcc compiler for native pl-sql (SunOS 5.9)

Hi All !
Whether it is possible to use native pl-sql compilation on platform Solaris 9 with the compiler gcc? I Have established gcc version 3.3.2
At compilation of a package I receive a error: (Warning) PLS-00923: native compilation failed: make:spdtexmk:?

Although the configuration is certified not all new 9i features are supported with previous versions of Oracle.
In order for result set to work you will require Oracle v9i.

Similar Messages

  • Gcc compile for linux from terminal

    Hi all,
    I've usually done my compiling in OSX via terminal with gcc, using a few flags, but as of recently, wanted to build for some linux systems as well and was wondering if it was possible to compile on the mac side using specific flags instead of having to compile them on the linux boxes themselves? What I'm using now:
    gcc -arch ${arch} -mmacosx-version-min=10.4 file.c -o file
    I have a mac on our network specifically for building, recompiling and distribution which is why I'd like to keep it there instead of having to do it on each individual machine...

    You want to cross-compile on the Mac and target Linux? Certainly this is possible, but harder than it looks, and it looks pretty hard. Personally, I would suggest building it on a Linux VM running on the Mac. You'll get the best of both worlds that way.

  • Where can I get a C compiler for Solaris  10 (sparc)?

    Where can I get a C compiler for Solaris 10 (sparc)?

    Have you tried gcc ?Ok. What kind of GCC compiler for Solaris 10( sparc) can you suggest me?
    The gcc-3.3.2 was compiled on Solaris 9, but i am using it on Solaris 10, that is why(it is my assumption) i have some problems with compilation library files( for example, sys/kstat.h)

  • Native PL/SQL compilation

    Hi -
    Does anyone have native PL/SQL compilation working correctly on their Linux server?
    It is reasonably easy to deduce suitable values for the init.ora parameters "plsql_...." .
    I suspect the problem is with the make file: spnc_makefile.mk .
    The supplied make file:
    $ORACLE_HOME/plsql/spnc_makefile.mk
    does not work, throwing an internal error:
    PLS-00801: internal error [79704]
    I have read the article on OTN concerning upgrading the entire database to native PL/SQL. It is very helpful, but unfortunately does not solve the problem.
    Can anyone help? Thanks.
    Bryan Genet

    Hi
    try
    --RN 24.3.2003, PL/SQL mit native execution
    -- Example in PL/SQL Users Guide and Reference, Kap. 12, Tuning PL/SQL
    -- SuSE 8.0, oracle 9.2.0.1 using spfile
    -- ORACLE_HOME /oracle/ORA92
    alter system set plsql_native_library_dir='/opt/oracle/native_lib';
    -- here you'll find the shared librarys
    alter system set plsql_native_make_utility='gmake';
    -- a normal make/gmake will work?
    alter system set plsql_native_make_file_name='/oracle/ORA92/plsql/spnc_makefile.mk';
    alter session set plsql_compiler_flags='NATIVE';
    set serveroutput on;
    set timing on
    create or replace procedure with_native
    as
    erg number;
    begin
    for i in 1..1000000 loop
    erg := mod(i,4711);
    end loop;
    dbms_output.put_line(to_char(erg));
    end;
    show errors
    execute with_mitnative
    prompt "NATIVE"
    alter session set plsql_compiler_flags='INTERPRETED';
    create or replace procedure without_native
    as
    erg number;
    begin
    for i in 1..1000000 loop
    erg := mod(i,4711);
    end loop;
    dbms_output.put_line(to_char(erg));
    end;
    -- show errors
    execute witout_native
    prompt "INTERPRETED"
    regards
    Roman

  • Oracle SQL Developer Release 1.5.5 "compile for debug"

    Using Oracle SQL Developer Release 1.5.5 on Windows XP pro machine connecting to 9.2.0.4 database on AIX machine.
    Trying to debug a procedure, in the navigator window, I rt-clk the procedure and select "Compile for Debug", then nothing happens. This happens for every procedure I've tried. I've been granted both DEBUG ANY PROCEDURE and DEBUG CONNECT SESSION. Any ideas?

    This is the first I've used SQL Developer, so I'll take the blame. I had not noticed that the Messages Log does in fact tell me that the proc compiled. However, the debug icon (little red bug) was nowhere to be found.
    I see now that I need to Edit, not Open, the proc in order to debug. If I had read the Help screens a little more closely, I would have seen that I needed to be in Edit mode. My bad. Thanx to all for your responses.

  • Workaround for opening a strongly typed cursor using native dynamic SQL

    Hi All,
    In reading the PL/SQL documentation for Oracle 9i, I noted that the OPEN-FOR
    statement with a dynamic SQL string only allows the use of weakly typed cursors.
    I have verified this limitation with my own experimentation as follows:
    DECLARE
    type rec_type is record(
    str     varchar2(40),
    num     number(22)
    type cur_type is ref cursor return rec_type;
    my_cur     cur_type;
    que     varchar2(100);
    tab     varchar2(40);
    BEGIN
    tab := 'dynamic_table_name';
    que := 'select key_name, key_value from ' || tab || ' where key_name like ''01%''';
    open my_cur for que;
    loop
    if my_cur%found then
    dbms_output.put_line('source_name: ' || my_cur.str || ', page_sn: ' || my_cur.num);
    exit;
    end if;
    end loop;
    close my_cur;
    END;
    Running the above trivial example in an anonymous sql block yields the following
    errors as expected:
    ORA-06550: line 10, column 8:
    PLS-00455: cursor 'MY_CUR' cannot be used in dynamic SQL OPEN statement
    ORA-06550: line 10, column 3:
    PL/SQL: Statement ignored
    ORA-06550: line 13, column 54:
    PLS-00487: Invalid reference to variable 'MY_CUR'
    ORA-06550: line 13, column 7:
    PL/SQL: Statement ignored
    Is there a workaround to the situation? Since I do not know the table name at run
    time, I must use Native Dynamic SQL. I have a long and complex record type
    that I wish to return through JDBC using the REFCURSOR Oracle type in order to
    avoid having to register an inordinate number of OUT parameters. Moreover, I
    would like to return potentially one or more results in a ResultSet. Using the
    standard method of registering native SQL types for the IN and OUT bindings
    can only return one result. Hence the reason I would like to return a strong
    cursor type. Also, the type of query I am doing is complex, and needs to be
    executed in a PL/SQL procedure for performance reasons. Therefore simply
    executing a SELECT query dynamically built up on the the JDBC client won't
    do the trick.
    If anybody has experience with a similar problem and would like to volunteer
    information on their workaround, I would really appreciate it.
    Best Regards,
    J. Metcalf

    We can use strongly-typed REF CURSORs in DNS, but the typing derives from a table e.g.
    TYPE EmpCurTyp IS REF CURSOR RETURN emp%ROWTYPE;
    so the problem is your use of "return rec_type" bit.
    Forgive my bluntness but I think you have misunderstood strong and weak typing. You actually want to be using weakly-typed cursors. I mean this:
    Moreover, I would like to return potentially one or more results in a ResultSet. suggests that the structure of your resultset may vary, which is precisely what a weakly-typed ref cursor allows us to do. Then we can use the JDBC metadata methods to interrogate the structure of the resultset, innit.
    so try this:
    DECLARE
    type cur_type is ref cursor;
    my_cur cur_type;
    que varchar2(100);
    tab varchar2(40);
    BEGIN
    tab := 'dynamic_table_name';
    que := 'select key_name, key_value from ' || tab || ' where key_name like ''01%''';
    open my_cur for que;
    loop
    if my_cur%found then
    dbms_output.put_line('source_name: ' || my_cur.str || ', page_sn: ' || my_cur.num);
    exit;
    end if;
    end loop;
    close my_cur;
    END;
    ras malai, APC
    Cheers, APC

  • Using Native Dynamic SQL in Forms

    Can Native Dynamic SQL be used in Forms 5.0 or Forms 6.0? (Database 8.1.6.0.0)
    I have tried the following code (examples below) from the PL/SQL User's Guide and Reference Release 8.1.6 and the Metalinks Note: 62592.1 and the trigger/procedure (in Forms) will not compile. I appreciate any help given.
    Example1:
    (I have a table named temp_jane with a column named companies and a value 'Hello'. When compiling, I receive the error: 'Error 103 at line 8, column 11 Encountered the symbol ''IMMEDIATE" when expecting one of the following :=.(@%; ')
    declare
    str varchar2( 200 );
    val varchar2( 20 );
    ret temp_jane%rowtype;
    begin
    str := 'select company from temp_jane where company = :b1';
    val := 'Hello';
    execute immediate str into ret using val;
    message('Value fetched from table: '| |ret.company);
    end;
    Example2:
    (Here is the real issue, I don't know what the select statement, so I need to be able to assign a variable. When compiling, I receive the error: 'Error 103 at line 28, column 21 Encountered the symbol "VSQLSTATEMENT" when expecting one of the following: select ').
    declare
    type ItemsControlCurTyp is ref cursor;
    ItemsCur ItemsControlCurTyp;
    ItemsRec Items%rowtype;
    vSQLStatement varchar2( 5000 );
    vExecuteSQL varchar2( 5000 );
    vNumRows integer;
    vValue varchar2( 2000 );
    vFirstOne varchar2( 1 ) := 'Y';
    vRetval varchar2( 2000 );
    begin
    -- Display the column prompts with the right text.
    set_item_property( 'ITEMS_AVAILABLE.NDB_VALUE', PROMPT_TEXT, :ITEMS_CONTROL.AVAILABLE_LABEL );
    set_item_property( 'ITEMS_CHOSEN.NDB_VALUE', PROMPT_TEXT, :ITEMS_CONTROL.CHOSEN_LABEL );
    -- Save the original version of CHOSEN_STRING in case the user reverts or cancels.
    :ITEMS_CONTROL.CHOSEN_STRING_ORIG := :ITEMS_CONTROL.CHOSEN_STRING;
    vSQLStatement := :ITEMS_CONTROL.SELECT_STATEMENT;
    vExecuteSQL := vSQLStatement;
    -- Open the cursor
    open ItemsCur for vSQLStatement;

    Hi JTaylor
    You cannot use NDS in Client side (Developer). You have to use DBMS_SQL only.
    Regards
    A K Srinivasan
    Oracle.

  • Compile for Debug Proc/Package Size

    Was attempting to debug a package on a DB but when compiling for debug got a message along the lines of 'Pacakge to large' and the compilation finished with warnings.
    Is there a max size the compile for debug can handle and if so what is it.
    Thanks
    Paul

    Google gave me this from the Oracle 11.1 PL/SQL Langauge Reference:
    >
    In the shared memory pool, a package spec, object type spec, standalone subprogram, or anonymous block is limited to 67108864 (2**26) DIANA nodes which correspond to tokens such as identifiers, keywords, operators, and so on. This allows for <b>~6,000,000 lines of code</b>...
    >
    http://download-west.oracle.com/docs/cd/B28359_01/appdev.111/b28370/limits.htm

  • Cobol and C Compiler for Sun OS 5.9

    Hi,
    We need to install the following on our Sun Sparc 9 (5.9) OS
    1. Cobol Compiler
    2. "C" Compiler
    Could someone please help us find out where to get these from . If no freeware is available for both these compilrers, then could you please direct us to the right source / vendor
    thanks

    Try;
    http://www.sunfreeware.com/
    The "gcc" compiler may work well for you.

  • License for cross-compilation for solaris 10 sparc on Linux x86

    I'd like to do cross-compilation for solaris 10 sparc on Linux x86 using gcc (for linux). To do that, I have to copy libraries (/lib/64) and includes (/usr/include) from a sparc machine to my linux machine.
    The compilation will be run on about (up to) 50 Linux machines (by various developers). We also have 3 solaris-10-SPARC machines.
    I wonder if Solaris license allows me to copy the includes and libs to perform compilation elsewhere.
    I also checked "OTN License Agreement for Oracle Solaris", but it looks like Oracle allows for installing "the programs" on up to 3 machines, but I need it on 50.
    Thanks for any suggestions or redirections to a proper place where I can get an answer.
    Marek

    When installing Solaris 10 01/06 on a Dell 1850 I receive an error message during the install saying "no disk found". I assume that the drive/controller is not recognized. The Dell 1850 is listed under the HCL for Solaris 10 10/06. I don't believe I can use the Solaris(TM) Device Driver for the LSI MegaRAID Adapter floppy with 1/06. I don�t have any other Solaris boxes up so I can�t build a jump start server. Any suggestions?

  • Alternative to native, dynamic sql to return a ref cursor to a client

    I'm on Oracle 8.0.4, and would like to pass a string of values like '1,2,7,100,104' that are the primary key for a table. Then use something like:
    procedure foo( MyCur RefCurType, vKey varchar2)
    begin
    open MyCur for
    'select names from SomeTable' &#0124; &#0124;
    ' where ID in (' &#0124; &#0124; vKey &#0124; &#0124; ')'
    end;
    This would return a recordset to (in this case) a Crystal Reports report.
    However, native dynamic SQL ain't available until 8.1.0. So can anyone think of a clever way to accomplish this, with a way to return a cursor? I can't figure out how to do this with DBMS_SQL, because open_cursor is just returning a handle, not a referene to a cursor that can be passed to a remote client.
    Thanks in advance.

    I'm on Oracle 8.0.4, and would like to pass a string of values like '1,2,7,100,104' that are the primary key for a table. Then use something like:
    procedure foo( MyCur RefCurType, vKey varchar2)
    begin
    open MyCur for
    'select names from SomeTable' &#0124; &#0124;
    ' where ID in (' &#0124; &#0124; vKey &#0124; &#0124; ')'
    end;
    This would return a recordset to (in this case) a Crystal Reports report.
    However, native dynamic SQL ain't available until 8.1.0. So can anyone think of a clever way to accomplish this, with a way to return a cursor? I can't figure out how to do this with DBMS_SQL, because open_cursor is just returning a handle, not a referene to a cursor that can be passed to a remote client.
    Thanks in advance.

  • Can i use a GCC compiler on MacOSX and link this C Code to lbv 6.1 on OS9?

    I am interested in compiling my C code on the free GCC compiler which works with Mac OS X but am concerned that I will not be able to connect this with the Call library function and CINs in labview 6.1 that runs on Mac OS 9. Am I able to cross platforms and use the .so file with lbv 6.1 on OS 9? What problems will i most likely encounter or should watch out for? Thanks!

    Unfortunately, you cannot port shared objects across these platforms. You are going to have to recompile the .so file on OS 9 for use in the call library function node.
    Robert Mortensen
    Software Engineer
    National Instruments

  • Transaction or standard program for testing Open SQL statements

    Hi experts,
    Is there a standard program or transaction that can be used to test Open SQL statements?, I was thinking in something similar to a SQL client like sqlcli, but for Open SQL and within SAP GUI.
    I know i can write a test ABAP program for this matter but I rather a standard testing facily in this case
    Thank you for any help
    regards

    Hi Ozcan
    I tried DB02 -> Diagnosis -> SQL Command editor , but I couldn't made it work. It is for Open SQL or for Native SQL?
    I tried the following simple Open SQL statements inside the SQL Code tab there were erros
    SELECT *
    FROM /BI0/PCOMP_CODE
    error was: Incorrect syntax near '/'.
    SELECT * FROM DD03L
    error was: Invalid object name 'DD03L'.
    Where is the mistake?
    regards

  • How to install gcc compiler on mac

    how to install gcc compiler om macair( 2013) ?
        THANKS IN ADVANCE !!!

    In OS X, GCC is part of Xcode's command tools, so first, open the Mac App Store and install Xcode for free.
    Then, open Xcode, go to Xcode menu (on the menu bar) > Preferences > Downloads, and install Command Line Tools. You will get commands like gcc, make, purge...

  • C   compiler for macbook pro 2011 OS X LION

    can anyone tell me , I am new to mac , I used to use the Dev C++ compiler for windows to do my uniersity programing practise , can anyone please tell me any alternative for Mac OS X LION .

    go developer.apple.com, register (there are free registration) and download XCode - its free
    you'll get GCC, GCC-LLVM and Clang
    basically XCode is all you need for mac C/C++/ObjectiveC develioment

Maybe you are looking for

  • Error while CHECK IN oracle.stellent.ridc.protocol.ServiceException:

    When I try to check-in using IDC Service CHECKIN_UNIVERSAL, I get the foll. error : oracle.stellent.ridc.protocol.ServiceException: Unable to execute service CHECKIN_UNIVERSAL and function Imeta. The error was caused by an internally generated issue.

  • Don't know how to fix...

    I have a CD stuck in my drive. It keeps making loud buzzing noises when it starts up and will not eject the disc. What should I do?

  • Server Connect to PC w/o password

    When connecting to server, if the PC you are trying to connect to has no password, how do you enter that when you are prompted to "Enter your name and password for the server ____" But now i am stumped because like i said the PC has no password! this

  • Do YOU call it "FCP X" or "FCP 10"?

    During the past six weeks furious arguments have raged on the merits or otherwise of the forthcoming FCP X, but let's get down to the really important question which I don't think has been mentioned. What do we call it? Do we say "FCP X" (sounding th

  • Reinstallation of PSE 11.0 trial

    Hello.  I tried installing PSE 11.0 trial on my laptop ( I already have 9.0).  The operating system is Windows 7.0 premium home edition.  During the install I got a roll back - I'm guessing that it occured because I didn't have an internet connection