Linux 6.1/Oracle 8.1.5 Pro C compilation core dumps

Linux installation did not place stdarg.h or stddef.h in the /usr/include directory for some reaon. I located different copies in other directories and have created symobolic links to them all in the end. BUT all result in the following error when I attempt to make sample1.pc in $ORACLE_HOME/precomp/demo/proc. Has anyone got any ideas how I can fix this problem.
Yours hopefully Kev
make -f demo_proc.mk sample1
gmake -f /oracle/app/oracle/product/8.1.5/precomp/demo/proc/demo_proc.mk
OBJS=sample1.o EXE=sample1 build
gmake[1]: Entering directory `/oracle/app/oracle/product/8.1.5/precomp/demo/proc'
proc iname=sample1
Pro*C/C++: Release 8.1.5.0.0 - Production on Sun Jan 9 17:02:05 2000
(c) Copyright 1999 Oracle Corporation. All rights reserved.
System default option values taken from:
/oracle/app/oracle/product/8.1.5/precomp/admin/pcscfg.cfg
gmake[1]: *** [sample1.o] Segmentation fault (core dumped)
gmake[1]: Leaving directory `/oracle/app/oracle/product/8.1.5/precomp/demo/proc'
make: *** [sample1] Error 2
null

Thanks for your input. But having investiagted further I have made progress.
On one of the FAQ docs listed throughout the Linux Forum I found an example of what should be in the pcscfg.cfg file. Once this was in place I then had, /usr/bin/ld cannot find -laio (or the file /usr/lib/libaio.a). To get a clean(ish) compile, I created a symbolic link from libc.a to libaio.a which is crude but was effective. I had a working Pro C exe.
I understand that the second patch solves the libaio.a prob as well as others. But a colleague has installed it and had to regress it, due to more damaging problems he listed but I cannot recall at this time.
Thanks again.

Similar Messages

  • Oracle Client 10.1.0.2.0 Core Dumps

    I have a strange problem where I intermittently receive Oracle client core dumps. I am running version 6 of the WebSphere Message Broker, which communicates with a remote Oracle database. I am using DataDirect to connect to the database and am running the following Oracle versions:
    Client: 10.1.0.2.0
    Database: 10.1.0.5.0 64 bit
    The following is an excerpt from the broker’s .odbc.ini file:
    [OTDAWMB]
    Driver=/opt/IBM/mqsi/6.0/merant/lib/UKor820.so
    Description=DataDirect 5.0 Oracle
    EnableDescribeParam=1
    OptimizePrepare=1
    ServerName=DTHU
    WorkArounds=536870912
    ProcedureRetResults=1
    ColumnSizeAsCharacter=1
    Here’s the problem:
    We submit batch loads where 50,000 messages are put on a queue. Each message processed by the broker involves multiple database inquiries and insert statements. On average we process 10 messages / second which means we’re constantly hitting the database for over an hour. On occasion, we receive a core dump from the broker which points to an Oracle library. The following is an excerpt from the broker’s abend file:
    ----------------------------- Stack dump for current thread ( 6426)
    (0xd70cea34+0x000004e8) ttcdrv [opt/oracle/OraHome_1/lib32/libclntsh.a(shr.o)]
    (0xd6e5ee1c+0x00000050) nioqwa [opt/oracle/OraHome_1/lib32/libclntsh.a(shr.o)]
    (0xd6b6eef4+0x00000588) upirtrc [opt/oracle/OraHome_1/lib32/libclntsh.a(shr.o)]
    (0xd6c4f984+0x0000006c) kpurcsc [opt/oracle/OraHome_1/lib32/libclntsh.a(shr.o)]
    (0xd6d33028+0x000005dc) kpuexecv8 [opt/oracle/OraHome_1/lib32/libclntsh.a(shr.o)]
    (0xd6d34328+0x00001004) kpuexec [opt/oracle/OraHome_1/lib32/libclntsh.a(shr.o)]
    (0xd6d22174+0x0000001c) OCIStmtExecute [opt/oracle/OraHome_1/lib32/libclntsh.a(shr.o)]
    (0xd67cb3f8+0x00000000) <no name available> [opt/IBM/mqsi/6.0/merant/lib/UKor820.so]
    (0xd675bc20+0x00000000) <no name available> [opt/IBM/mqsi/6.0/merant/lib/UKor820.so]
    (0xd675a8a8+0x00000000) <no name available> [opt/IBM/mqsi/6.0/merant/lib/UKor820.so]
    (0xd6796340+0x00000000) <no name available> [opt/IBM/mqsi/6.0/merant/lib/UKor820.so]
    (0xd5f2f248+0x00000000) <no name available> [opt/IBM/mqsi/6.0/lib/libodbc.a(odbc.so)]
    (0xd5eeb1b8+0x00000000) <no name available> [opt/IBM/mqsi/6.0/lib/libodbc.a(odbc.so)]
    (0xd472260c+0x0000010c) execute__16ImbOdbcStatementFv [opt/IBM/mqsi/6.0/lib/libMessageServices.a(libMessageServices.a.so)]
    This can happen at any time and can happen multiple times throughout the load. IBM says it’s a problem with the Oracle client (ILLEGAL INSTRUCTION) and there’s nothing that can be done from their end.
    Has anyone run across something similar? Could this be network related?

    From dump message, looks like your client are calling whole banch of 32bit library. Are your application server also 64 bit ? Can you try install a 64bit client?
    It's also a good idea to patch up your client a bit.
    You should also consider submit a SR on metalink.

  • Pro*c program causing core dump in 11g

    hello every one,
    I am trying to debug a pro*c program which is resulting in a core dump. It used to work fine in with Oracle 10g precompiler but is causing a core dump with 11g. When I run dbx here is what I get.
    dbx wreg309
    Type 'help' for help.
    [using memory image in core]
    reading symbolic information ...
    Segmentation fault in u_fsetcodepage_3_8 at 0x9000000014f4f70 ($t1)
    0x9000000014f4f70 (u_fsetcodepage_3_8+0x68) f87f0010 std r3,0x10(r31)
    Any ideas what this means ? Thanks.

    Hi,
    I came across your problem on the Oracle Discussions Forum from back on June of 2009.
    I am working with a pro*c program, in Banner 8. I getting the same message from a core dump,, that you got. I was hoping
    you might have written down what you did to resolve it.
    My pro*c program is key to running all the SQR code we have. So it's very important. The version of sqr that gets
    linked into it is 32-bit and our environment is 64-bit. Our contract with Oracle for SQR has lapsed (it's a long
    and expensive story and this is probably not the place). My whole migration to Oracle 11 is being held up by this.
    I realize it's been a while since you worked on it but if you could tell me how you resolved your problem, I might be
    able to do the same.
    Thanks,
    Tom Mayne
    North Shore Community College
    Danvers MA
    [email protected]
    cell 978 423 6867

  • Mac Pro Dual Quad Core won't boot OS/X, but plays fine with Linux/Windows

    I've got a Mac Pro Dual Quad Core won't boot OS/X, but plays fine with Linux/Windows. I've tried all of the following initial tests as suggested on forums:
    -Ram swaps
    -Alternating video card in PCIe slots
    -Trying alternate video card
    -resetting pram and smc
    -Multiple tests with memtest86+ over 26hrs and no failed ram
    -Multiple tests (8-12 cycles) with apple HW diagnostics and no problems
    -Firmware is approved firmware for early 2008 model...no new updates.
    Gentoo livecd works fine and I even installed to hard drive and it boots fine with it. In addition to above tests I also ran a linux stress test putting all 8 cores at a load of 22 for 2.5hrs with no problems.
    Memtest86+ for 24hrs+ yields no problems.
    Where problems occur:
    Booting off hard drive, DVD or firewire yields an immediate curtain of death and booting off a new snow leopard DVD dies about 25% into the install.
    Looking at error log and a quick dmesg shows "Package 0 didn't get an HPET" and complains about AppleIntelCPUPowerManagement.kext. Google turns up illegal uses of this, so doesn't apply to my use case.
    I'm a bit stumped since all was working well until one day it was non-stop curtains of death and can't get them to go away.
    A logic board replacement at $1100 is not a feasible option for something that works on linux and windows, but not OS/X, is a bit disappointing and somewhat surprising.
    Thanks for your help and advice.
    Regards,
    Marcos

    Someone here once thought they knew EFI and Open Firmware a little, and used some commands from OF library that an Intel EFI Apple system didn't like. New logicboard.
    Of course to run or boot OS X and see video you need EFI based card. The presence of some PC cards can block OS X from booting.
    The fact you get part way through SL DVD, pull all the drives, put in a new drive and format it from SL DVD.
    Most of the things you tried are what are more common with PC hardware. Including where people have tried and failed to install OS X on unsupported hardware.
    I suppose it is possible something tried and failed to modify the Mac's firmware.
    If you have Windows running, and you have WD drives, WD just posted new Lifeguard utility which is what I use to do a good job of stripping a drive down and recertify it for reuse, works wonders. Maybe same for other makes with vendor utility.

  • Throws Core Dump for OCISessionBegin() on Linux for Oracle Client v10.2.0.2

    hi,
    The OCI method, OCISessionBegin() is throwing an core dump on 10g client in Linux on C++, but the same code works fine for 8i and 9i client. Core dumps for 10g Client. 10g tnsnames.ora file is same as of 9i. I just debeggued with the core and says failing in OCISessionBegin() method. I would like to know is there any problem with Oracle Client v10.2.0.2? or how does i can solve the issue? appriciate a quick help in this regard.
    Thanks,
    Sreeni

    Have you looked in the Knowledge Base information at metalink? That would be the place to start.
    If that does not work then the next step would be to remove this thread and post in the OCI - OCCI forum where there are people that can actually help you.

  • Oracle 8i lite and Pro C

    Is Oracle 8i Lite Support Pro C ? if yes how to install Pro C with Oracle 8i Lite ? Is Pro C come along with 8i Lite CD ? or it has to be purchased ?

    Hi,
    I am qouting below from the oracle 8i Lite documentation which says it supports triggers . Please clarify.
    Oracle Lite DBMS
    Oracle Lite DBMS is a lightweight (50KB - 750KB), Java enabled database designed from the ground up for laptops, handheld computers, PDAs and smartphones. It supports industry standard ODBC, JDBC, SQLJ, and Java Stored Procedures and Triggers. It provides a streaming fast "C" interface, OKAPI, to its object kernel. It also supports Java Access Classes, JAC, a fast and easy way to make Java Objects persistent. Oracle Lite DBMS now supports all popular mobile platforms, including Palm OS, EPOC, and Windows CE, letting you deploy enterprise applications on virtually any mobile device.
    Regards
    null

  • Linux flavors for oracle 10gR2 RAC setup

    Hi,
    Oracle10gR2
    Which are the alternate Linux flavors (most similar to RHEL 5.5) that can be used for Oracle10gR2 RAC setup ??
    Regards

    Hi,
    while there other Linux versions are also vertified, best is to use Oracle Linux http://www.oracle.com/us/technologies/linux/index.html
    This is based on RHEL (you also have a 5.5. version).
    Regards
    Sebastian

  • MacBook Pro (15-inch Core 2 Duo) early 2008 can boot (usb or firewire) Linux

    MacBook Pro (15-inch Core 2 Duo) early 2008 can boot (usb or firewire) Linux or cdrom boot Linux?
    where can view my Registered Apple Products?

    1. Make a backup, open App Store and purchase Mountain Lion. When its download finishes, close the installer and open Lion Diskmaker to create a bootable USB drive with Mountain Lion.
    2. Press Option key while your Mac is starting, select the external drive and open Disk Utility.
    3. Select Macintosh HD in the sidebar and erase the drive.
    4. Close the window and install Mountain Lion

  • Oracle on Linux vs. Oracle on NT (Performance)

    Does someone have information about some benchmarks studies of Oracle on Linux vs. Oracle on NT?
    Thanks so much,
    Andre

    I looked at this for a data warehouse project. Same hardware (multi-boot) with various Linux distros (Red Hat, SuSE, and Mandrake) vs. NT4. Loaded the same data in all configurations.
    Results: performance was better on all Linuxen that I tested than it was on NT, but not a big enough difference to choose on this basis alone.
    I did, however, see that all the Linux variations were MUCH more stable than NT. I do almost all my development on a Linux server now, just because I got tired of rebooting NT every time my mouse moved. However, thus far most of the production with this warehouse is still being done on NT--so it CAN be made to work, I just don't understand why anybody wants to do it the hard way.
    Subjectively, I thought Red Hat was the most inconvenient Linux to work with, SuSE was easy, and Mandrake was nice but it wasn't officially supported by Oracle. I've also had good experiences with SuSE support, but Red Hat support just ignored me. That's just me; I don't know how others have fared with the various support departments.
    I did this about a year ago, so it was 8.1.6 Oracle and whatever Linux versions were current at the time (all had 2.2.* kernels); I have not revisited this with 9i and the only Linux distribution I'm using now is SuSE 7.2.

  • Oracle 8i for XP Pro

    Having problems with Oracle 8i install - XP pro.
    Are there anyone with this problem? Is it possible to install
    8i in XP-pro? Need to install for class.
    Thanks,
    [email protected]

    im having the same trouble, cant get the dumb thing to work either. even the instructor is up the creek without a paddle.

  • Does Linux filesystem undermine Oracle's recovery mechanism?

    I've been an Oracle DBA for 10 years and have been using Oracle
    on Linux for several months, but am not a Linux expert by any
    means. A client told me something about the filesystem Linux uses
    (x2?) that I find hard to believe. Can anyone shed some light on
    this?
    The claim is that the Linux filesystem does not implement
    synchronous writes correctly. The implication is that when a user
    commits a transaction and Oracle flushes the redo log to disk,
    Oracle may think the redo information has been successfully
    written when in fact its still sitting in a buffer somewhere
    waiting to write. If a drive failure occurs, the redo might never
    get written, but meanwhile the user has already been informed
    their transaction has been committed.
    Oracle does not flush data block buffers to disk when you commit
    a transaction. Only the redo is flushed. If the instance were to
    fail, Oracle reads the redo when you restart the instance and
    performs instance recovery automatically.
    If the Linux filesystem does not implement synchronous writes
    legitimately, then the recovery mechanisms in Oracle are
    compromised--indeed a successful commit is not a guarantee of
    data permanence.
    Its hard to believe that this could be true; I don't see how
    Oracle Corporation could put so much effort into porting their
    flagship products to Linux if data permanence cannot be
    guaranteed.
    Is my client mistaken in their understanding of the Linux
    filesystem? Any insights from the Linux gurus out there would be
    gratefully appreciated!
    Regards,
    Roger Schrag
    Database Specialists, Inc.
    null

    Roger Schrag (guest) wrote:
    : I've been an Oracle DBA for 10 years and have been using
    : Oracle on Linux for several months, but am not a Linux expert
    : by any means. A client told me something about the filesystem
    : Linux uses (x2?) that I find hard to believe. Can anyone shed
    : some light on this?
    : The claim is that the Linux filesystem does not implement
    : synchronous writes correctly. The implication is that when a
    : user commits a transaction and Oracle flushes the redo log to
    : disk, Oracle may think the redo information has been
    : successfully written when in fact its still sitting in a
    : buffer somewhere waiting to write. If a drive failure occurs,
    : the redo might never get written, but meanwhile the user has
    : already been informed their transaction has been committed.
    The problem doesn't lie with Linux - fsync() and O_SYNC are
    supported and, AFAIK, behave correctly.
    The problem is that Oracle doesn't appear to use them. The redo
    logs arnt fsync'ed on commit, nor do they appear to be opened
    with O_SYNC.
    Data loss will result, as you point out, if the RDBMS doesn't
    tell the operating system to save the data synchronously.
    Play with strace()ing the RDBMS background processes and confirm
    this for yourself.
    I'm not in a position to progress this with Oracle. Someone,
    obviously, should, otherwise the next article on ZDNet could be
    "Linux causes massive Oracle dataloss"..
    null

  • How to integrate Pro C compiler and liberies in order to compile Pro C in oracle 9i

    Hello ,
    My name is Ron .
    I already installed The Database Server oracle 9i in my machine
    i do not install the Oracle 9i client only the Database server.
    but when i'm trying to compile Pro C sample program
    i get an error:
    operable program or batch file.
    Error executing c:\winnt\system32\cmd.exe.
    From what i know , oracle 9i Pro C liberay files must be in location "C:\Oracle\Ora92\precomp\lib\msvc" in my machine .
    but this directory not exist and also the liberies are missing.
    Do i miss something any installation of the oracle client?
    Do i need to install also the oracle 9i client in order to have the Pro C compiler and all the
    Pro C liberies .?
    thanks in advance.
    Ron Bar yosef

    Pro*C is a client side tool ans so will be available when you install the Oracle client.

  • Can I cloning the ebs from SUSE Linux 9 to Oracle Linux 5?

    My EBS version is 11.5.10.2
    Can I cloning the ebs from SUSE Linux 9 to Oracle Linux 5?

    Hi,
    My EBS version is 11.5.10.2
    Can I cloning the ebs from SUSE Linux 9 to Oracle Linux 5?I belive you can not, you need to migrate your system. Please see:
    Migrating to Linux with Oracle Applications Release 11i [ID 238276.1]
    Debugging Platform Migration Issues in Oracle Applications 11i [ID 567703.1]
    9i Export/Import Process for Oracle Applications Release 11i [ID 230627.1]
    10g Release 2 Export/Import Process for Oracle Applications Release 11i [ID 362205.1]
    Oracle Applications Installation Update Notes, Release 11i (11.5.10.2) [ID 316806.1]
    You can also open SR and confirm it wiht oracle support
    Regard
    Helios

  • SAP GUI for SAP BW 3.5 on linux RHEL 4 oracle 10.2.0.2 & kernel 6.40

    Hi all,
    Pls let me know wat version of SAP GUI can i use for "SAP BW 3.5 on linux RHEL 4 oracle 10.2.0.2 & kernel 6.40" and where can i find it in service market place.
    Thanks in advance.
    Praveen

    use my links:
    software is located at ftp://ftp.sap.com/pub/sapgui/win/640/compilation5
    patch is at ftp://ftp.sap.com/pub/sapgui/win/640/patches
    in summary you need to download and install these components in this order:
    1. ftp://ftp.sap.com/pub/sapgui/win/640/compilation5/50078731_4.zip
    2. ftp://ftp.sap.com/pub/sapgui/win/640/patches/gui640_26-10001615.exe
    3. ftp://ftp.sap.com/pub/sapgui/win/640/patches/bw350_12-10001615.exe
    so, you install SAPGUI, patch SAPGUI, patch BW add-on from SAPGUI.
    about your 23/24 patch question, you only need to install the latest, so, that would be patch 24 in your case... but you should install the latest one which in patch 26. use my links!

  • Linux Clustering with oracle

    Hai All,
    Please forward the good pdf documents and links describing the Redhat Linux Clustering with Oracle.
    Please help...
    Shiju

    Hai All,
    Please forward the good pdf documents and
    links describing the Redhat Linux Clustering with
    Oracle.Check following link
    http://www.oracle.com/pls/db102/to_pdf?pathname=install.102%2Fb15660.pdf&remark=portal+%28Getting+Started%29
    Virag

Maybe you are looking for

  • Albums in Photos

    Is there a way to create more albums in photos? Currently there are 2, last imported and saved photos. Can I create one called work photos and another personal and have my events in these separate albums?

  • How to trigger left_click_run event on ALV GRID

    Hiiiiiiii........ Can any of u please tell me how to trigger left_click_run event on ALV GRID.      There is an event LEFT_CLICK_RUN and  its a public accessed event. But the problem is , the corresponding  attribute of this event  "EVENT_LEFT_CLICK_

  • Itunes store -42404 error

    So everytime I try to download anything from the store on my computer i get this error. i have updated itunes, uninstalled and reinstalled, but nothing fixed it. Any help?

  • E-forms i can't read due to adobe

    I have an e-mail with e-forms attached that I cannot open due to adobe even though I have downloaded it, but something is wrong   please help

  • Attachment in Workflow approval

    Hi, We are using SAP standard workflow for approving Appropriation Request through object BUS2104. Applicant gets mail after request is approved or rejected. In this process, Approver adds his remarks as attachment in workflow. We want to send these