Compile some Pro*c

Hello,
I try to compile some Proc*c but I receiving the following errors:
stgorl80.pc
stgorl80.o(.text+0x8db): In function `daemonize':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [stgorl80] Error 1
COMPILE_ERROR IN stgorl80.pc
stgorl85.pc
stgorl85.o(.text+0x9e3): In function `daemonize':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [stgorl85] Error 1
COMPILE_ERROR IN stgorl85.pc
stngtp90.pc
stngtp90.o(.text+0x944): In function `process_ex_later':
: undefined reference to `errno'
stngtp90.o(.text+0xc7d): In function `process_ex_later':
: undefined reference to `errno'
stngtp90.o(.text+0xd10): In function `process_ex_later':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [stngtp90] Error 1
COMPILE_ERROR IN stngtp90.pc
stscap10.pc
stscap10.c: In function `open_all_ports':
stscap10.c:1998: warning: large integer implicitly truncated to unsigned type
stscap10.c: At top level:
stscap10.c:2453: warning: `State_init' initialized and declared `extern'
stscap10.c:2521: warning: `State_append1' initialized and declared `extern'
stscap10.c:2597: warning: `State_append2' initialized and declared `extern'
stscap10.c:2656: warning: `State_delete' initialized and declared `extern'
stscap10.c:2682: warning: `State_close' initialized and declared `extern'
stscap10.o(.text+0x1b8e): In function `sys_err':
: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
stscap10.o(.text+0x1b82): In function `sys_err':
: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
stscap10.o(.text+0x1b58): In function `sys_err':
: undefined reference to `errno'
stscap10.o(.text+0x1b74): In function `sys_err':
: undefined reference to `errno'
stscap10.o(.text+0x1b7c): In function `sys_err':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [stscap10] Error 1
COMPILE_ERROR IN stscap10.pc
sttilp10.pc
make: *** [sttilp10] Error 1
COMPILE_ERROR IN sttilp10.pc
Can anyone help me?
Many thanks,
Carlos

I had exactly the same problem with the PCC-F-NOERRFILE error.
I think that my oracle installation didn't go completely
smoothly and that's why certain files did not seem to be
properly installed, but here's what I did to get past the
error:
Go to the directory where your oracle distribution is before
it was installed. That is /usr/prod/oracle on my system, and
it's probably different on yours. Look at the message files in
precomp/mesg. Chances are, these files were not completely
installed during the installation. I copied them by hand into
the target directory of my installatio, which is
/usr/u01/oracle/product/8.0.5/precomp/mesg on my system. Now I
am able to run proc without any problem.
Hope that helps.
Simon
Matt Miller (guest) wrote:
: I have just finished installing 8.0.5.1 on RedHat 5.2 and
setting
: up a database. Everything works well after installing the
: glibcpatch. Now I want to compile some Pro*C programs but proc
is
: not found in the $ORACLE_HOME/bin directory. The oracle
install
: program, orainst, says that it was installed. The
: $ORACLE_HOME/precomp directory looks OK except it was missing
: the
: /admin/pcscfg.cfg file which I have now created according to
: instructions I found in the 8.0.5 FAQ. I found the proc
: executable in the distribution directory and copied it into my
: bin directory.
: When I run it, I get the following message:
: "PCC-F-NOERRFILE, unable to open error message file, facility
: PR2"
: Can anyone help me get the Pro*C installed correctly or am I
: just not using it correctly?
: I am not experienced with Pro*C, but very familiar with Oracle
: Server.
: Thanks in advance
: matt
null

Similar Messages

  • Error compiling a pro c program

    I am having the following error when I compile a pro c program. Any hints will be appreciated
    diamond:/home/rechever$ make -f $BANNER_HOME/general/c/sctproc.mk rzrload CHECKOPT='sqlcheck=full userid=baninst21/xxxxx'
    proc iname=rzrload.pc ireclen=132 oreclen=132 lines=y select_error=no hold_cursor=no release_cursor=no maxopencursors=255 maxliteral=160 ltype=none include=/u02/sct/banner/bandev2/general/c/ include=/u02/sct/banner/bandev2/general/c/ dbms=v8 unsafe_null=yes sqlcheck=full userid=baninst21/xxxxx
    Pro*C/C++: Release 10.2.0.3.0 - Production on Wed Oct 29 16:40:31 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    System default option values taken from: /u01/app/oracle/product/OH4/10g/precomp/admin/pcscfg.cfg
    INTERNAL ERROR: Failed assertion [PGE Code=90105]
    make: 1254-059 The signal code from the last command is 11.
    Edited by: user648177 on Oct 29, 2008 2:04 PM
    Edited by: user648177 on Oct 29, 2008 2:05 PM

    That's Pro*C's way of telling you that you don't have write access to the directory you're precompiling in.

  • XML function not getting compiled in Pro C

    Hello
    I have written following statement in ProC
              EXEC SQL
              select extract(x.xml_data,'//ADDRESS/SERVERS/@REFSYSTEM').getStringVal(),
    extract(x.xml_data,'//ADDRESS/SERVERS/text()').getNumberVal()
              INTO :h_refsystem,
              :h_reftext
    from xml_str_table x
    where key_no = 1234
    and x.xml_data.existsNode('//ADDRESS/SERVERS[@REFSYSTEM="ORACLE"]') = 1 ;
    and when compiled it give error " extract(x.xml_data,'//ADDRESS/SERVERS/@REFSYSTEM').getStringVal()
                                                      *. should be replaced with date, time etc*
    Above query is returning output when I run on Oracle, but same code is not getting compiled in Pro C. Can you please advise what should be done to resolve this issue?
    Thanks in advance,

    Hello!
    I found out that the problem was not in the variable os_create_id as I described before, instead in the another variable, l_temp_sku.
    But a strange behaviour persists.
    The program aborts strangely, if the following variable l_temp_sku isn't initialised like this:
    l_temp_sku[0] = '\0'; (if this is done the pro*c runs ok)
    This variable gets it value from a Output variable of the package called, and these have the same length, as you can see above.
    In the old machine (version 8.1.3.0 as already mentioned) it worked fine without initialisation.
    The (strings) precompiler options are the following:
    dbms=v8
    char_map=string (We already tried to change this to VARCHAR2)
    My questions are:
    Is this a normal behaviour or is this a non documented feature (bug) ?
    Is there any precompiler option that solves this kind of problems ?
    We have lots of Pro*C´s with situations like this one, our problem is if all these programs start to blow without warning. Only after lots of time spent around this Pro*C we found where was the problem, and what kind of problem.
    /* Code Extract: */
    char ls_error_msg[NULL_ERROR];
    EXEC SQL VAR ls_error_msg IS STRING(NULL_ERROR);
    char l_temp_sku[NULL_SKU];
    EXEC SQL VAR l_temp_sku IS STRING(NULL_SKU);
    EXEC SQL EXECUTE
    DECLARE
    L_table VARCHAR(50) := NULL;
    L_sub_sku WIN_WH.sku%TYPE := NULL;
    L_avail_stock WIN_WH.STOCK_ON_HAND%TYPE := NULL;
    O_error_message VARCHAR2(255) := NULL;
    BEGIN
    if NB_SUB_SKU_SQL.NB_F_CHECK_SUB_SKU(:os_sku,
    :os_from_loc,
    :os_to_loc,
    :os_tsf_no,
    :os_tsfalloc_no,
    :os_create_id,
    to_date(:os_system_date,'YYYYMMDDHH24MISS'),
    L_sub_sku,
    L_avail_stock,
    O_error_message) = FALSE then
    :plsql_pkg_failed := -1;
    :plsql_pkg_message := O_error_message;
    SQL_LIB.BATCH_MSG(:ol_sql_holder,
    L_table,
    :plsql_pkg_message);
    :table := L_table;
    else
    /* Only if ret true and the sub sku, everything its ok */
    if L_sub_sku IS NOT NULL then
    :l_temp_sku := L_sub_sku;
    :plsql_pkg_failed := 0;
    Best Regards,
    JAP

  • Can someone please help me... i'm about to buy a new macbook pro and i need some pros and cons of SSD

    hi.. i'm about to buy a new macbook pro and i need some pros and cons of SSD.... i'm not sure which is really better, the regular hard drive or the SSD... because if i buy the mac with SSD it would be the 128GB, so i want to know how would that affect the overall performance of the computer...
    Thanks!

    I would suggest that you purchase the SSD through a third party source.  You will save money that way.
    Regarding the performance, go to the OWC web site.  They have bench tested their SSD vs conventional HDD and have published the results for anyone to see,
    The difference between the 128GB and the 256GB drives is capacity, no practical change to performance.
    Ciao.

  • Compile some of the KDE packages

    I'd like to know if it's possible to compile some of the packages in the large kde tarballs.
    For example, only compile kbounce from the kdegames tarball.
    Is this possible with --enable-kbounce --disable-{all other games}, or remove the other folders before starting ./configure.
    And does dependance tracking still works for only that package or for the whole tarball.
    Greets, Xerverius

    It's possible. Some users have made PKGBUILD for stand-alone KDE apps: http://bbs.archlinux.org/viewtopic.php?t=13370
    But it's quite involved.  You could always download the source and read the doc and configure file. Maybe you could use abs to only compile the apps you want.

  • Server Hangs while compiling some EJB in Weblogic 6.1 SP5 on AIX 4.3.3

    Hi,
    Iam not able to deploy a J2EE application in WebLogic 6.1 SP5 on an AIX 4.3.3
    box.
    CMP is being used and my EJBs are not being compiled( though there are no errors
    thrown).
    Iam using IBM DB2 ver 8.0 DB as client and server.
    While compiling, the server Hangs, displaying the message "<Info> <Management>
    <Configuration changes for domain saved to the repository.>"
    Is there any configuration Issues with weblogic 6.1 SP5 and AIX 4.3.3?
    Because the same EAR works in SP3.
    Please help ASAP.
    Thanks in advance.
    Nagesh

    The only thing to do again with "hangs" is to take thread dumps. As for why
    things are going wrong...... I am at a loss other than some AIX weirdness.
    Cheers
    mbg
    "Deshpande" <[email protected]> wrote in message
    news:[email protected]...
    >
    Hi Mark,
    I tried it out ....I ran EJBC on all my EJB's and then tried to deploy myapplication.
    Application got deployed and the server was up, but JSP's dosent getcompiled(
    i.e when I want to run my application, my server hangs again).
    I tried one more option.. I pointed my JAVAHOME in startweblogic.sh to anSP3
    JDK .. and it worked!! Now with this JDK Iam able to deploy my entireapplication
    ( with out precompiled) also run through the application without anyproblems.
    I then over wrote the existing JDK ( of SP5 ) with that of SP3 and thentried.
    Which also works fentastically!!!
    I can feel something fishy here ....
    Any help in this regard is most welcome.
    Thanks and Regards...
    Nagesh
    "Mark Griffith" <[email protected]> wrote:
    Deshpande:
    "Deshpande" <[email protected]> wrote in message
    news:[email protected]...
    Hi Mark,
    Thanks again.
    For
    Q1> How much time was between the two dumps?
    A1> There was a minute gap B/w the two dumps. ( since it took so longto
    write
    the Core)
    Q2> How long have you waited with no progress seeming to be made?
    A1> Over a whole night. ( appx 14 hours).
    Now I believe you would have figured out what the problem is.Not sure if this is a statement saying you think I have figured it out,
    or a
    statement saying you think I should have figured it out but I haven't.
    Anyway... Did you try running ejbc on the "app" first?
    Meanwhile also it would be great, if you would tell me the proceduresto
    get support
    form the BEA and AIX to solve the Issue.
    http://www.bea.com/framework.jsp?CNT=index.htm&FP=/content/services/custome
    r_support/contacts/
    >>
    I would suggest sending as much detail as possible, including zips of
    the
    thread dumps and pointers to this newsgroup conversation [email protected]
    >>
    I do however suggest you first try running ejbc.
    Cheers
    mbg
    Thanks in advance.
    R
    Deshpande.
    "Mark Griffith" <[email protected]> wrote:
    Nagesh:
    Wow, AXI outputs some interesting thread dumps. ;)
    So the interesting thread (and the problem) is:
    "main" (TID:0x300C41D8, sys_thread_t:0x30010A60, state:CW, native
    ID:0x1)
    prio=5
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:429)
    at java.lang.UNIXProcess.waitFor(UNIXProcess.java:130)
    at weblogic.utils.Executable.exec(Executable.java(Compiled Code))
    at weblogic.utils.Executable.exec(Executable.java(Inlined CompiledCode))
    at
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.j
    a
    v
    a(Compiled Code))
    at
    weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java(Inlin
    e
    d
    Compiled Code))
    at
    weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java(Compiled
    Code))
    at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java(InlinedCompiled
    Code))
    at weblogic.ejb20.deployer.Deployer.compileEJB(Deployer.java(Compiled
    Code))
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java(CompiledCode))
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)
    at weblogic.j2ee.Application.addComponent(Application.java:176)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deploymen
    t
    T
    arget.java(Compiled Code))
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deployme
    n
    t
    Target.java:286)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments
    D
    eploymentTarget.java:239)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deplo
    y
    m
    entTarget.java:199)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanIm
    p
    l
    ..java(Compiled Code))
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java
    C
    ompiled Code))
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMB
    e
    a
    nImpl.java:374)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled
    Code))
    atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled
    Code))
    at $Proxy34.updateDeployments(Unknown Source)
    at
    weblogic.management.configuration.ServerMBean_CachingStub.updateDeployment
    s
    ServerMBean_CachingStub.java:3015)
    at
    weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(Ap
    p
    l
    icationManager.java:376)
    at
    weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationMana
    g
    e
    r.java:164)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanIm
    p
    l
    ..java(Compiled Code))
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java
    C
    ompiled Code))
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMB
    e
    a
    nImpl.java:374)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled
    Code))
    atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled
    Code))
    at $Proxy48.start(Unknown Source)
    at
    weblogic.management.configuration.ApplicationManagerMBean_CachingStub.star
    t
    ApplicationManagerMBean_CachingStub.java:480)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1309)
    at weblogic.management.Admin.finish(Admin.java:650)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:547)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:214)
    at weblogic.Server.main(Server.java:35)
    So the Server never gets out of the Main thread to run, because theEJBC
    compilation is "stuck", ejbc is running because either the EJB being
    deployed was previously deployed on a different version of WLS orejbc
    had
    never been run on those beans. Either there is a problem on the AIX
    VM
    where execing processes are not returning, OR the ejb that ejbc isrunning
    on is huge and is taking a REALLY long time. How much time was
    between
    the
    two dumps? How long have you waited with no progress seeming to bemade?
    Depending on the answers to these questions it maybe that there isa
    VM bug
    and you will need to contact BEA support to see the procedure forworking
    with AIX to resolve the issue.
    You maybe able to work around the problem by running EJBC on the ejb
    in
    question prior to starting the server.
    http://edocs.bea.com/wls/docs61/ejb/EJB_utilities.html#1075296
    Cheers
    mbg
    "deshpande" <[email protected]> wrote in message
    news:[email protected]...
    Hi, Mark,
    Thanks for the early reply.
    I have attached two consecutive dumps Zipped.
    Pls look into the same and helpme out.
    Thanks in advance.
    Regards,
    Nagesh
    "Mark Griffith" <[email protected]> wrote:
    When it hangs, you need to get thread dumps.
    "kill -3 PID" is how this works on Solaris. Additionally if the
    terminal/shell has focus that started the process you can do "CTRL
    Break"
    as
    well. The thread dumps will go to std-out/err, so you'll have
    to
    redierect
    std-out and err of the shell. (Make sure you don't nohup the
    process
    (if
    AIX even supports that) since this prevents sigquits). When thehang
    occurs
    take a thread dump, wait 10 seconds and take another one, thenplease
    zip
    and attach the file in a post.
    Cheers
    mbg
    "Deshpande" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    Iam not able to deploy a J2EE application in WebLogic 6.1 SP5
    on
    an
    AIX
    4.3.3
    box.
    CMP is being used and my EJBs are not being compiled( though
    there
    are no
    errors
    thrown).
    Iam using IBM DB2 ver 8.0 DB as client and server.
    While compiling, the server Hangs, displaying the message "<Info><Management>
    <Configuration changes for domain saved to the repository.>"
    Is there any configuration Issues with weblogic 6.1 SP5 and AIX
    4.3.3?
    Because the same EAR works in SP3.
    Please help ASAP.
    Thanks in advance.
    Nagesh

  • ...Some Pros & Cons of Java 1.2.....Anyone's Game...

    ....Would like to hear some input from all concerned both from upper level pro
    to level apprentice/entrepreneurs of Java ....and some tips to donate from your experieces, if you wish...
    Your time and input will greatly be appreciated by most who read your input...
    ...and comments...(Welcome to the "World of Java"...!)

    A fex examples..
    1.4 added logging, preferences, nio and some more nice features that 1.2 lacks.
    1.5 added concurrency packages, generics, autoboxing and much more.
    /Kaj

  • Compiling of pro*C applications

    when i am compiling pro*c application - I am getting the error
    "internal error failed assertions (PGE Code 90105)"
    what will be the cause> sir
    my os is sun 6500 and oracle is 8.0.5.
    thank u
    suryanarayanan chief accounts officer bsnl chennai telephones chennai india

    Hi,
    I have never done the migration from 7.3 to 9i. But I had done 8.0 to 8i and 8i to 9i.
    Pl/SQL code should work fine as it is. I wonder what will happen if you have any variables declared VARCHAR (not VARCHAR2) ? There can be few places like that, if the application was originally written on Oracle 6.Otherwise, the code should work as it is.
    Regarding Pro*C, you need to use the new make file which has come with 9i.
    Also, I do not remember exactly, but probably, you need to initialize all VARCHAR veriables declared between BEGIN DECLARE SECTION and END DECLARE SECTION. Initialize all of them with \0 (NULL charactor).
    I think that should be enough for 7.x application to run on 9i.
    Regards

  • Final Cut Pro X: What's Missing for Some Pros

    Final Cut Pro X: What's Missing for Some
    See:
    Creative cow:  
    Walter Biscardi

    The floppy drive is a horrible analogy. One could still use the external floppy drive, as you say. But what your analogy is ignoring is that at some point that floppy drive option will disappear as a later OS rolls out and the floppy drive is no longer supported, however the other people I am innvolved in working on a project need me to have a floppy drive to pass along my work.
    Yes, I can use FCP7 as I need to for the time being (and will do so) but you can bet that won't be the case for all that long. Eventually the ability to use FCP7 will decline as OS changes etc. In the meantime you can bet that the broadcast and film world is not going to change their delivery specs and requirements simply because Apple decided to change FCP to X and ditch the genuinely PRO features of FCP7. There are too many Avids and other options for them to decide that they will change just because a portion of the professional editing world has been forced into Apple's way doing things. They will simplu say, "Get an Avid . . ."
    So the floppy analogy not so accurate.

  • FCP Loading some Pro Tools plugins

    Just installed FCP 5 to a new computer that has Pro Tools 7.1 installed. Everytime I launce FCP, it would take a long time loading some PT plugins (FCP apparently only loads the plugs that are "approved") . My question is, without disturbing the Pro Tools environment, is there a way to disable or prevent FCP from loading these audio filters? Thanks in advance.

    New Discussions ResponsesThe new system for discussions asks that after you mark your question as Answered, you take the time to mark any posts that have aided you with the tag and the post that provided your answer with the tag. This not only gives points to the posters, but points anyone searching for answers to similar problems to the proper posts.
    If we use the forums properly they will work well...
    Patrick

  • Some Pro's Opinions on the Best iPod for exercise and while using the MBP.

    Is it true that because of the moving parts that the classic should not be used for any type of exercise? When they first came out, I never thought about this or never got this from anybody else so I used my Classic for year without any trouble. I do not do aerobic exercise since the ear buds would not stay in my ear canal, but it seemed to work great. this was a long time ago, I think around 2001, but it got stolen so that ended that for me.
    I am now in the market for another one, getting some better Westone 3 ear plugs, but I am not sure what iPod to get. I am not into breaking iPods, now that I have this information that was not a problem many years ago, but I would like some feedback if anybody cares to share their experience. I would need a case and wondering if anybody has used a case that works well for exercise as far as sweat clipping it somewhere, etc.
    finally, has anybody come across the articles they have on here somewhere that applecare uses when we all cal in with a problem, they are the same articles that applecare (I heard this, but makes sense) uses as a starting point in trouble shooting problems. Anybody know how to get in to that archive?
    As far as the ear plugs, I know a headset would be better to use with the MBP, but since I am spending a fortune for the Westone 3 ear plugs, I am trying to see if they will sound good on the MBP.
    God Bless.

    iPods with hard drives such as the Classic (the older iPod you describe was not a Classic by the way. It's counterintuitive but the Classic is the most recent series of hard drive based iPods) will be more prone to failure if subjected to jarring. "More prone" doesn't mean that the will fail you ever exercise with them. My first gen iPod (the 5gig brick) was used for running when I owned it and is still being used for running by the friend I gave it to.
    I also used my 3rd gen Nano, 2nd gen shuffle and all three generations of Touches for exercise, including running. The are all flash based so less susceptible to problems from jarring or bouncing. The Nano and the 2nd and 3rd gen touch can be used with the Nike+ Sport kit which is nice if you walk or run. The Touch also has applications that can be useful when exercising. For example, I use an interval timer. The 2nd gen Shuffle is my iPod of choice when racing as it's easier to hide if they want to give me a hard time about it and because it's so light. Before the Touch supported the Nike+ Sport Kit, I used the Nano a lot.
    My best advice, especially if you're not running, is to buy whichever iPod suits most of your needs. If the Classic suits you because of it's greater capacity, for example, go for it.
    Best of luck.

  • Pl/sql compile in pro*c

    [oracle@Robbie replicate]$ make -f demo_proc.mk tt.c
    proc iname=tt
    Pro*C/C++: Release 8.1.7.0.0 - Production on Fri Aug 29 10:40:08 2003
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    System default option values taken from: /oracle/product/8.1.7/precomp/admin/pcscfg.cfg
    Error at line 28, column 1 in file tt.pc
    PCC-S-02022, Found end of file while scanning a SQL statement
    Error at line 0, column 0 in file tt.pc
    PCC-F-02102, Fatal error while doing C preprocessing
    make: *** [tt.c] Error 1
    #include<stdio.h>
    EXEC SQL BEGIN DECLARE SECTION;
    char username[20];
    char password[20];
    EXEC SQL END DECLARE SECTION;
    EXEC SQL INCLUDE sqlca;
    void sqlerror();
    void main()
    strcpy(username,"system");
    strcpy(password,"manager");
    EXEC SQL CONNECT :username IDENTIFIED BY :password;
    EXEC SQL WHENEVER SQLERROR DO sqlerror();
    EXEC SQL EXECUTE
    BEGIN
    select * from red7;
    END;
    END_EXEC;
    void sqlerror()
    EXEC SQL WHENEVER SQLERROR CONTINUE;
    EXEC SQL ROLLBACK WORK RELEASE;
    printf("\n Oracle error detected:\n");
    printf("\n%.70s\n",sqlca.sqlerrm.sqlerrmc);
    EXEC SQL ROLLBACK RELEASE;
    thanks

    the topic i posted is wrong. the correct as follow:
    tt.pc
    #include<stdio.h>
    EXEC SQL BEGIN DECLARE SECTION;
    char username[20];
    char password[20];
    EXEC SQL END DECLARE SECTION;
    EXEC SQL INCLUDE sqlca;
    void sqlerror();
    void main()
    strcpy(username,"system");
    strcpy(password,"manager");
    EXEC SQL CONNECT :username IDENTIFIED BY :password;
    EXEC SQL WHENEVER SQLERROR DO sqlerror();
    EXEC SQL EXECUTE
    BEGIN
    select * from red7;
    END;
    END-EXEC;
    void sqlerror()
    EXEC SQL WHENEVER SQLERROR CONTINUE;
    EXEC SQL ROLLBACK WORK RELEASE;
    printf("\n Oracle error detected:\n");
    printf("\n%.70s\n",sqlca.sqlerrm.sqlerrmc);
    EXEC SQL ROLLBACK RELEASE;
    [oracle@Robbie replicate]$ make -f demo_proc.mk tt.c
    proc iname=tt
    Pro*C/C++: Release 8.1.7.0.0 - Production on Fri Aug 29 10:59:50 2003
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    System default option values taken from: /oracle/product/8.1.7/precomp/admin/pcscfg.cfg
    Error at line 16, column 21 in file tt.pc
    select * from red7;
    ....................1
    PLS-S-00201, identifier 'RED7' must be declared
    Error at line 16, column 3 in file tt.pc
    select * from red7;
    ..1
    PLS-S-00000, SQL Statement ignored
    Semantic error at line 15, column 2, file tt.pc:
    BEGIN
    .1
    PCC-S-02346, PL/SQL found semantic errors
    make: *** [tt.c] Error 1

  • Vmware tools for fc10 fail to compile some modules

    I'm running esxi 3.5 u3 - when I try to install vmware tools on fedora core 10 (linux kernel 2.6.27.5).
    vmmemctl breaks:
    os.c: 590  erro struct proc_dir_entry has no member named get_info
    vmghfs breaks:
    bdhandler.c:29:27:  erro: asm/semaphore.h : no such file or directory
    I have checked in the kernel include files, and effectively these errors are correct. When I lookad at earlier 2.6 kernels, for example 2.6.18, proc_dir_entry did have a memeber named get_info, but no longer.
    Is there anything I can do? (although this is not that critical) .
    Otherwise, vmware-tools compile ok.

    Priot to the current version of VMWare Tools I used to try and compile them and ran into issues.
    Now I find that they are much better supported (on Ubuntu at least) and so in the VM I click on Install VMware Tools from the menu, mount the "CD" in a virtual CD Rom and install them the normal way ...
    I would hope that something like this would work for FC - this is what I do in Ubuntu:
    sudo apt-get install linux-headers-server build-essential
    sudo mount /dev/scd0/media/cdrom0
    or
    mount /cdrom
    VM &gt; Install VMWare Tools
    cp /cdrom/VmwareTools-x.x.x-xxxxx.tar.gz ~
    cd ~
    tar -zxf VmwareTools-x.x.x-xxxxx.tar.gz
    cd vmware-tools-distrib
    ./vmware-install.p
    I am not a FC user so I don't know how much this will help ...

  • Pro*C compilation error - bulk insert statement

    Guys, I am screwed up!
    There's this Pro*C application that I am working on. I made some changes in some of the functions and when I compile using Pro*C pre-compiler (Version 9), it throws an error in one of the modules that I have not even touched.
    Following is the error:
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>
    ++: Release 9.0.1.1.1 - Production on Fri May 25 20:35:30 2007
    (c) Copyright 2001 Oracle Corporation. All rights reserved.
    System default option values taken from: C:\oracle\ora90\precomp\admin\pcscfg.cfg
    Error at line 1512, column 1 in file D:\Siemens\GABS-R\Source\GSM-R_Rating\RTLRa
    ting\multimainrate_supp1_cug.pc
    EXEC SQL FOR :record_roaming
    1
    PLS-S-00382, expression is of wrong type
    Error at line 1512, column 1 in file D:\Siemens\GABS-R\Source\GSM-R_Rating\RTLRa
    ting\multimainrate_supp1_cug.pc
    EXEC SQL FOR :record_roaming
    1
    PLS-S-00000, SQL Statement ignored
    Semantic error at line 1512, column 1, file D:\Siemens\GABS-R\Source\GSM-R_Rating\RTLRating\multimainrate_supp1_cug.pc:
    EXEC SQL FOR :record_roaming
    1
    PCC-S-02346, PL/SQL found semantic errors
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    The location it is referring to is:
    EXEC SQL FOR :record_roaming
    INSERT /*+ PARALLEL(GT_RATED_ROAMING_CALLS) */
    INTO GT_RATED_ROAMING_CALLS
    (GF_SEQ_NO,
    GF_CALL_PRODUCT,
    GF_CDR_TYPE,
    GF_REC_NO,
    GF_REC_STAT,
    GF_INTER_REC_NO,
    GF_SS_REC_NO,
    GF_SS_CODE,
    GF_CALLING_NUM,
    GF_CALLED_NUM,
    GF_CALLING_IMSI,
    GF_CALLED_IMSI,
    GF_CALLED_NUM_TON,
    GF_DIALLED_DIGITS,
    GF_LAC,
    GF_CELL,
    GF_IN_CKTGRP,
    GF_IN_CKTID,
    GF_OUT_CKTGRP,
    GF_OUT_CKTID,
    GF_BS_TYPE,
    GF_BS_CODE,
    GF_DURATION,
    GF_THREAD_ID,
    GF_CARRIER,
    GF_AIR_TIM_CHARGE,
    GF_TOLL_CHARGE,
    GF_TOLL_UNITS,
    GF_ROAM_SURCHARGE,
    GF_ROAMING_CHARGES,
    GF_ADDITIONAL_CHARGES,
    GF_CUST_ID,
    GF_CONT_ID,
    GF_BILL_PRD,
    GF_STATUS,
    GF_ERROR_CODE,
    GF_RECON_STAT_LANDLINE,
    GF_RECON_STAT_ROAMING,
    GF_CALLING_IMEI,
    GF_CALLED_IMEI,
    GF_MSC_ID,
    GF_ACTION_CODE,
    GF_MSRN,
    GF_LONG_DISTANCE_AIR_CHRG,
    gf_home_zone_surcharge,
    GF_SWITCH_CODE,
    GF_BILL_DATE,
    GF_CITY_CODE,
    GF_BILL_FREQ,
    GF_CALL_START_DATE,
    GF_CALL_END_DATE,
    GF_SMS_TEXT,
    GF_TIME_STAMP_AVAILABLE,
    GF_TYPE_OF_CALL,
    GF_PEAK_OFFPEAK,
    GF_PROCESS_DATE,
    GF_MATCH_DATA,
    GF_ORIG_ZONE_CODE,
    GF_DEST_ZONE_CODE,
    GF_PRICE_PLAN_CODE
    values
    (:gt_rated_roaming_calls,sysdate,:roaming_details_match_data,:l_gf_rcd_zone,:l_gf_price_plan);
    Pls note that the host variables match exactly the number of fields in the INTO clause (anyway, the error in such a case is different).
    Please save my soul!
    Sanchit

    Hi, check Metalink Note 451413.1 Pro*C Build Fails With Error PCC-02014 on File /usr/include/standards.h
    I did workarround #2, and worked.
    *+<Moderator edi t- deleted MOS Doc content - pl do NOT post contents of MOS Docs - this is a violation of your Support agreement>+*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Problem in PRO * C compilation

    Hi gurus,
    I am getting this error message when i try to compile my pro c program.
    cc +O1    -I. -I/local/apps/oracle/product/8.1.7.4/precomp/public -I/local/apps/oracle/product/8.1.7.4/rdbms/public -I/local/apps/oracle/product/8.1.7.4/plsql/public -I/local/apps/oracle/product/8.1.7.4/network/public     -c hnc_edit.c
    *** Error exit code 1
    (Bundled) cc: warning 480: The +O1 option is available only with the C/ANSI C product; ignored.
    (Bundled) cc: "hnc_edit.c", line 679: error 1705: Function prototypes are an ANSI feature.
    (Bundled) cc: "hnc_edit.c", line 682: error 1705: Function prototypes are an ANSI feature.
    (Bundled) cc: "hnc_edit.c", line 687: error 1705: Function prototypes are an ANSI feature.
    Environment:
    OS : HP-UX
    DB : 8.1.7.4.0.
    Do I need to buy any new c compiler, OR my current compiler(bundled with UNIX) will work.
    Devasheesh

    Devasheesh,
    All you need is the HP-UX aC++ compiler, the bundled one will not work with it.
    As I'm just an user, not a SysAdmin or such, I don't if that tool is included on install disks or you'll need to buy it.
    There's some valuable information about compatibility of Pro*C x compilers on Metalink. I think it's a good idea to check it out, if you have access to it.
    HTH,
    Will

Maybe you are looking for

  • Why can't I find my external hard drive?

    After installing Maverick I can't get my external back-up  hard drive (LaCie) to load. Any suggestions?

  • Slide Presentation Workflow Help

    I need to put together a slide presentation and have not done this before. Can anyone help with details regarding a workflow and other items? 1. For instance, can I gather up all my images in Aperture, move these in some manner that retains the resol

  • Imovie crashed - how do I recover data

    I was editing a project that included voice recordings thru the computer microphone and adding titles to describe the audio. My imovie program crashed/unexpectedly quit. When I restarted imovie ALL the data was lost. It looks like a brand new project

  • RE: Bluetooth Audio Connections Real or Imagined?

    On New Yew Year's Eve I offered to do a French Quarter music mix to match the cuisine. My idea was to run Rhapsody play lists thru my iPhone 4s into a Miccus BlueBridge adapter which has a micro out which I ran a audio "RCA" y-cable into the Aux inpu

  • Appraisal Systems

    Hi I m facing a problem that when i call the transaction appcreate and select a multisource appraisal there is a message that multisource appraisal cannot be edited whereas it opens the screen for individual appraisal. I cudnt figure out the reason..