Runtime error after compiling and linking functions containing XDK calls

We have a preexisting application in C distributed across multiple shared objects - on HPUX.
$ORACLE_HOME/xdk/include was included in the include path and the programs were compiled. Linking also was successful.
However at runtime we get errors of the form:
/usr/lib/dld.sl: Unresolved symbol: XmlCreate__FP6xmlerrPUce (code) from ./lib_my_so_name.so
Clearly it's not able to locate the shared libraries corresponding to the xdk since XmlCreate() is not getting resolved.
Where would these libraries be, what are their names on HPUX, and are they installed by default? If not is the installation procedure documented anywhere.
We'll need this information for both HPUX and AIX.

* Don't post that much code. There should never be a reason to. You should be able to break your code down into small enough pieces that you can post a small example that demonstrates your problem.
* When you do post code, use [code] and [/code] tags to make it readable. You can use the code button on the message entry page.
* The stack trace will tell you which line the NPE occurred on, where it was called from, where that was called from, etc. You can use that to help you find your error. Look at the line it's complaining about. What references are on that line followed by a dot, and what arrays do you try to access the elements of. One of those must be null.
* Now that you know what[b] is null, put in a bunch of print statements to track [b]how it got to be null.

Similar Messages

  • Runtime error after successful compile and link with cl.exe

    Finally, got the configuration for cl.exe and link.exe right and got a successful compile and link to produce a dll. Then ran the main method of my Java class. The main method calls the constructor, and loading the class runs the static block which loads the native dll. I get one of those error files of the type hs_err_pid4064.log. The file is as follows:
    # An unexpected error has been detected by Java Runtime Environment:
    # Internal Error (0xe06d7363), pid=4064, tid=3576
    # Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode, sharing windows-x86)
    # Problematic frame:
    # C [kernel32.dll+0x12aeb]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x00395800): JavaThread "main" [_thread_in_native, id=3576, stack(0x003b0000,0x00400000)]
    siginfo: ExceptionCode=0xe06d7363, ExceptionInformation=0x19930520 0x003fdf14 0x02de7b04
    Registers:
    EAX=0x003fde4c, EBX=0x00000000, ECX=0x00000000, EDX=0x02f80600
    ESP=0x003fde48, EBP=0x003fde9c, ESI=0x003fdedc, EDI=0x003fdedc
    EIP=0x7c812aeb, EFLAGS=0x00000206
    Top of Stack: (sp=0x003fde48)
    0x003fde48: 02de1de0 e06d7363 00000001 00000000
    0x003fde58: 7c812aeb 00000003 19930520 003fdf14
    0x003fde68: 02de7b04 02e80087 003fdf14 003fdf28
    0x003fde78: 02e99500 00000039 003fde70 00000039
    0x003fde88: 003fdec8 02e81a50 02eabf00 003fdf14
    0x003fde98: 003fdf28 003fdedc 02dce583 e06d7363
    0x003fdea8: 00000001 00000003 003fded0 02a72388
    0x003fdeb8: 00000000 e06d7363 00000001 00000000
    Instructions: (pc=0x7c812aeb)
    0x7c812adb: 8d 7d c4 f3 a5 5f 8d 45 b0 50 ff 15 10 15 80 7c
    0x7c812aeb: 5e c9 c2 10 00 85 ff 0f 8e 36 93 ff ff 8b 55 fc
    Stack: [0x003b0000,0x00400000], sp=0x003fde48, free space=311k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [kernel32.dll+0x12aeb]
    C [summarizer37.dll+0x1e583]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::StubRoutines (1)
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x02a66000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3108, stack(0x02d10000,0x02d60000)]
    0x02a58000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2488, stack(0x02cc0000,0x02d10000)]
    0x02a56c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=2508, stack(0x02c70000,0x02cc0000)]
    0x02a56000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3720, stack(0x02c20000,0x02c70000)]
    0x02a51800 JavaThread "Finalizer" daemon [_thread_blocked, id=2968, stack(0x02bd0000,0x02c20000)]
    0x02a4d400 JavaThread "Reference Handler" daemon [_thread_blocked, id=600, stack(0x02b80000,0x02bd0000)]
    =>0x00395800 JavaThread "main" [_thread_in_native, id=3576, stack(0x003b0000,0x00400000)]
    Other Threads:
    0x02a4c000 VMThread [stack: 0x02b30000,0x02b80000] [id=2528]
    0x02a67000 WatcherThread [stack: 0x02d60000,0x02db0000] [id=1604]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 960K, used 195K [0x22960000, 0x22a60000, 0x22e40000)
    eden space 896K, 21% used [0x22960000, 0x22990c38, 0x22a40000)
    from space 64K, 0% used [0x22a40000, 0x22a40000, 0x22a50000)
    to space 64K, 0% used [0x22a50000, 0x22a50000, 0x22a60000)
    tenured generation total 4096K, used 0K [0x22e40000, 0x23240000, 0x26960000)
    the space 4096K, 0% used [0x22e40000, 0x22e40000, 0x22e40200, 0x23240000)
    compacting perm gen total 12288K, used 22K [0x26960000, 0x27560000, 0x2a960000)
    the space 12288K, 0% used [0x26960000, 0x269658c8, 0x26965a00, 0x27560000)
    ro space 8192K, 66% used [0x2a960000, 0x2aeb0e10, 0x2aeb1000, 0x2b160000)
    rw space 12288K, 52% used [0x2b160000, 0x2b7b04c8, 0x2b7b0600, 0x2bd60000)
    Dynamic libraries:
    0x00400000 - 0x00423000      C:\Program Files\Java\jdk1.6.0_06\bin\javaw.exe
    0x7c900000 - 0x7c9af000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f6000      C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f02000      C:\WINDOWS\system32\RPCRT4.dll
    0x77fe0000 - 0x77ff1000      C:\WINDOWS\system32\Secur32.dll
    0x7e410000 - 0x7e4a1000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f59000      C:\WINDOWS\system32\GDI32.dll
    0x7c340000 - 0x7c396000      C:\Program Files\Java\jdk1.6.0_06\jre\bin\msvcr71.dll
    0x6d870000 - 0x6dac0000      C:\Program Files\Java\jdk1.6.0_06\jre\bin\client\jvm.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x6d320000 - 0x6d328000      C:\Program Files\Java\jdk1.6.0_06\jre\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d820000 - 0x6d82c000      C:\Program Files\Java\jdk1.6.0_06\jre\bin\verify.dll
    0x6d3c0000 - 0x6d3df000      C:\Program Files\Java\jdk1.6.0_06\jre\bin\java.dll
    0x6d860000 - 0x6d86f000      C:\Program Files\Java\jdk1.6.0_06\jre\bin\zip.dll
    0x10000000 - 0x10006000      D:\Servers\SummarizerServer\native\jsummarizer.dll
    0x02db0000 - 0x02df2000      D:\Servers\SummarizerServer\native\summarizer37.dll
    0x02e00000 - 0x02f6d000      D:\Servers\SummarizerServer\native\platform37.dll
    0x4a800000 - 0x4a893000      D:\Servers\SummarizerServer\native\icuuc30.dll
    0x4ad00000 - 0x4b52d000      D:\Servers\SummarizerServer\native\icudt30.dll
    0x5b860000 - 0x5b8b5000      C:\WINDOWS\system32\NETAPI32.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\msvcrt.dll
    VM Arguments:
    jvm_args: -Djava.library.path=native
    java_command: com.sra.pipeline.servers.summarizer.JSummarizer
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=C:\Program Files\Java\jdk1.6.0_06
    CLASSPATH=.;C:\Program Files\Java\jre1.6.0_06\lib\ext\QTJava.zip
    PATH=D:\Servers\SummarizerServer\native;C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT
    USERNAME=Jim Jones
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 7, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 3
    CPU:total 1 (1 cores per cpu, 1 threads per core) family 15 model 2 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 1048032k(245796k free), swap 2521804k(1060880k free)
    vm_info: Java HotSpot(TM) Client VM (10.0-b22) for windows-x86 JRE (1.6.0_06-b02), built on Mar 25 2008 01:22:05 by "java_re" with MS VC++ 7.1
    time: Mon Sep 01 15:22:10 2008
    elapsed time: 0 seconds
    The dll I'm wrapping is C++ VC++ compiled.
    Would like to know what I do to trouble-shoot this error and hope to fix it?
    Jim

    Using Java print statement was able to show that the my JNI dll was being loaded and that the problem was in the first call to one of my JNI functions. Then by using "DebugBreak()" in that function and gradually moving it down line by line through the function was able to isolate the line causing the problem. Unfortunately it is the line where I call a function from the dll I'm wrapping. See newer thread.

  • Is it possible work (compile and link wi

    thout errors) very well one program written and compiled on Linux with gcc command for C program into Labview ? I know Labview support C codes, but I don't know if support some program done on another operating system, like Linux with other compiler (gcc).Is it possible work (compile and link without errors) very well one program written and compiled on Linux with gcc command for C program into Labview ? I know Labview support C codes, but I don't know if support some program done on another operating system, like Linux with other compiler (gcc). Because in Linux we have different device drivers (/dev/*) to access peripherals, like serial port RS-232. However, can I copy source code from Linux to "Call library Functional Node"
    tool ? And work it very well like in Linux before ?

    thout errors) very well one program written and compiled on Linux with gcc command for C program into Labview ? I know Labview support C codes, but I don't know if support some program done on another operating system, like Linux with other compiler (gcc).Hopefully, the differences in the implementations of the language itself would be fairly well documented. Therefore I would suspect that the biggest problem you'll have in this port is when the code starts trying to connect to the outside world--like the serial ports you mentioned.
    Personally, if I had documented C code (or at least a reasonable description of what the code is supposed to do) I would say to heck with CINs and just port the application to LV. You probibly won't spend any more time doing a complete port and the result will be more extensible and maintainable that the C ever was (or could ever be). But that's just me and my aversion to doing things the hard way...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Compiling and linking C library in C++

    I am using a C library (Solstice FTAM v9.0) in my C++ program. One of the library header files has a declrartion
    short class;
    in one of the structures.
    The C++ compiler (Sun C++ 5.4 on Solaris 8) gives error. What we should do to compile and link this library in C++.

    You can use pointer to this structure without including the header that contains its definition, if it is possible, of course.
    Also, it should be possible to #define class to smth else just before including this header and then #undef'ing it. If this C library comes in binary form, it shouldn't cause any problems since memory layout won't be affected; if it comes in source code form, you can always compile it with -Dclass=smth_else on the command line and reference this foul structure field from your C++ code accordingly.

  • ProC app. compiling and link problem

    Created a Pro*C application called "sample1.pc". Compiled to a get object file ("sample1.o"). Created a library using this object file as follows:
    ar -v -q libshr.a sample1.o
    Wrote a main.c application making a call to one of the extern functions which accesses Oracle through Pro*C calls.
    When I compile and link to my library, I get the following error.
    Undefined first referenced
    symbol in file
    sqlcxt /export/home/mydir/temp/libshr.a(sample1.o
    sqlorat /export/home/mydir/temp/libshr.a(sample1.o
    ld: fatal: Symbol referencing errors. No output written to t
    Following is the cc command given to compile and link:
    cc -o t artest.c -I/export/home/mydir/temp /opt/uxbox/oracle/product/7.3.3.3/lib/libserver.a -lm -lthread -L/export/home/mydir/temp lshr
    Would like to know what needs to be done to successfully call my proC function from "main.c".
    Thanks in advance,
    -NM

    Try including libsql.a which compiling..
    Venkat

  • URGENT: Bug in Adobe Acrobat X /// Acrobat.exe Runtime Error! R6025 - pure virtual function call

    Hello
    I work usually with large PDF documents, and I was trying to convert a PDF document of 1000 pages ONE THOUSAND PAGES, to little PDF documents of 10 MB each one.
    When I tried to convert the PDF file into little ones, craaashhhhhhhhhhhhhhhhhh
    I got this message:
    Acrobat.exe Runtime Error! R6025 - pure virtual function call - Microsoft Visual C++ Runtime Library
    This seems to be a BUG AS BIG A GRAND PIANO... so I would like someone from Adobe tell me how may I solve this problem or if they will release an update soon?
    Thank you

    This is a user to user forum and we don't post information here (or anywhere else public) about what may or may not be in future patch releases.
    If you have a bug with an Adobe product you must report it using the correct form.

  • HT2292 the latest itunes update on my vista laptop brings up R6034 runtime error - after rebooting - uninstalling - reinstalling i have no itunes access. please correct in your updates. there are others with the same error message

    the latest itunes update on my vista laptop brings up R6034 runtime error - after rebooting - uninstalling - reinstalling i have NO itunes access. please correct in your updates. there are others with the same error message   thank you!!

    'The installer has insufficient privileges to modify this file C:\Program Files (x86)\Common Files\Apple\Apple Application Support\Web kit.resources\inspector\Images\Spinner Inactive Selected.gif.'
    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • How to compile and link a C program that uses the FSEvents framework

    I've been trying to compile a program from the command line that uses the FSEvents framework. I can compile and link the code in Xcode and it runs correctly.
    At the moment I have the following command line:
    cc -Wall -g -o Watcher *.c -framework CoreFoundation -framework FSEvents
    I'm running Snow Leopard and noticed that FSEvents is not in the Frameworks directory under /System/Library as it was in Leopard.
    The link error is:
    ld: framework not found FSEvents
    collect2: ld returned 1 exit status

    I'm not sure what the point is if it builds in Xcode, but the build log should show you every command it uses throughout the process--copy and paste.

  • Day One script errors on Compiling and Viewing App

    Day one script errors on Compiling a
    nd Viewing App. Video will not work

    Well today is working, makes me look foolish, not the first time.
    When I had trouble the error message was that the script had script errors. When I dismissed or ignored the video never started.
    That's ok I have enjoyed the tutorial so far, best I have used.
    Before i tried to learn flex 3 and gave up trying to use a database. My daughter wants me to build an e-commerce site for her homemade jewelry, so maybe it can be done in flash 4. Dreamweaver says you can connect to a business model that let's you build an e-commerce site, but I think it has not come out yet.
    Date: Tue, 13 Apr 2010 10:21:40 -0600
    From: [email protected]
    To: [email protected]
    Subject: Day One script errors on Compiling and Viewing App
    Hi RyderMac,
    I just clicked on the video link for http://www.adobe.com/devnet/flex/videotraining/xml/fiaw_v1_05.html
    and the video and audio is working fine for me.  Are you getting any kind of error message?
    >

  • OCI: Compiling and Linking?

    At the end of Chapter 1 of the OCI documentation, under
    "Compiling and Linking", it says:
    The details of linking an OCI program vary from system to
    system. See your Oracle system-specific documentation and the
    installation guide for more information about compiling and
    linking an OCI application for your specific platform.
    ...except that none of the Linux-specific documentation online
    (including the installation guide) covers compiling and linking.
    I tried linking with libclntsh.so, but it gets an unresolved
    symbol (slpmprodstab). I found this symbol in several of the .a
    and .o files, but linking with them leads to other unresolved
    symbols. Can someone please tell me what to do and/or point me
    to the right documentation?
    null

    John,
    I'm using:
    export ORACLE_HOME=/oracle ### this is the must
    make -f demo_rdbms.mk cdemo1 ### etc
    Good luck.
    John Stracke (guest) wrote:
    : At the end of Chapter 1 of the OCI documentation, under
    : "Compiling and Linking", it says:
    : The details of linking an OCI program vary from system to
    : system. See your Oracle system-specific documentation and the
    : installation guide for more information about compiling and
    : linking an OCI application for your specific platform.
    : ...except that none of the Linux-specific documentation online
    : (including the installation guide) covers compiling and
    linking.
    : I tried linking with libclntsh.so, but it gets an unresolved
    : symbol (slpmprodstab). I found this symbol in several of the
    .a
    : and .o files, but linking with them leads to other unresolved
    : symbols. Can someone please tell me what to do and/or point me
    : to the right documentation?
    null

  • Using GCC on SunSolaris2.8 to compile and link sample OCI programs

    Hi,
    Does anyone have sample make file (or modified version of demo_rdbms.mk) or command to compile and link OCI demo programs using gcc?? I am trying to compile and link cdemo81.c from rdbms/demo directory.
    gcc related files are under /usr/local/bin and /usr/local/lib, /us/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1
    Thanks

    Hi,
    I finally got cdemo81.c to compile and link on Solaris 8 using Oracle 8.1.7.3. I got some help from one other person who had posted similar question on this forum. Following is the makefile that I am currently using to compile my oci code. Please note that you need to have $(ORACLE_HOME) and LD_LIBRARTY_PATH set before you try to compile using gcc.
    ************** Makefile Starts here ***********************************
    CPP=g++
    CC=gcc
    LD=ld
    CCFLAGS= -g
    CPPFLAGS=-g3 -Wall
    INCDIR=-I$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME)/rdbms/public -I$(ORACLE_HOME)/plsql/public -I$(ORACLE_HOME)/network/public
    LIBNAME=liboralib
    SOEXT=.so
    DLLINK=-shared -ldl
    ###SOFLAGS=-shared -Wl,-expect_unresolved -Wl,-soname,$(LIBNAME)$(SOEXT) $(LIBPATH)
    SOFLAGS=-shared -Wl
    LDFLAGS=-shared -expect_unresolved * -soname
    LIBPATH=-L$(ORACLE_HOME)/lib/ -L$(ORACLE_HOME)/rdbms/lib/ -R$(ORACLE_HOME)/lib/ -R$(ORACLE_HOME)/rdbms/lib/
    ORALIBS= -lnbeq8 -lnhost8 -lnus8 -lnldap8 -lldapclnt8 -lnsslb8 -lnoname8 -lntcp8 \
    -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8 -lnl8 -lnro8 -lnbeq8 -lnhost8 -lnus8 \
    -lnldap8 -lldapclnt8 -lnsslb8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 \
    -lntcp8 -lntns8 -ln8 -lnl8 -lclient8 -lvsn8 -lcommon8 -lgeneric8 \
    -lmm -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lnbeq8 -lnhost8 -lnus8 -lnldap8 \
    -lldapclnt8 -lnsslb8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8 \
    -lntns8 -ln8 -lnl8 -lnro8 -lnbeq8 -lnhost8 -lnus8 -lnldap8 -lldapclnt8 \
    -lnsslb8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8 \
    -lnl8 -lclient8 -lvsn8 -lcommon8 -lgeneric8 -ltrace8 -lnls8 -lcore8 \
    -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lcommon8 -lgeneric8 -lnls8 \
    -lcore8 -lnls8 -lcore8 -lnls8 -lnsl -lsocket -lgen -ldl -lsched \
    -lc -laio -lposix4 -lkstat -lm -lthread -lwtc8
    LIBS=$(ORACLE_HOME)/rdbms/lib/defopt.o $(ORACLE_HOME)/lib/sscoreed.o $(ORACLE_HOME)/lib/libclntsh.so $(ORACLE_HOME)/lib/nautab.o $(ORACLE_HOME)/lib/naeet.o $(ORACLE_HOME)/lib/naect.o $(ORACLE_HOME)/lib/naedhs.o $(ORALIBS)
    ##LIBS=$(ORACLE_HOME)/rdbms/lib/defopt.o $(ORACLE_HOME)/lib/sscoreed.o $(ORACLE_HOME)/lib/nautab.o $(ORACLE_HOME)/lib/naeet.o $(ORACLE_HOME)/lib/naect.o $(ORACLE_HOME)/lib/naedhs.o $(ORALIBS)
    ###LIBS=$(ORACLE_HOME)/rdbms/lib/ssdbaed.o $(ORACLE_HOME)/lib/nautab.o $(ORACLE_HOME)/lib/naeet.o $(ORACLE_HOME)/lib/naect.o $(ORACLE_HOME)/lib/naedhs.o $(ORALIBS)
    ORALIBSO=-lnetv2 -lnttcp -lnetwork -lncr -lclient8 -lvsn -lcommon8 -lgeneric8 \
    -lmm -lnlsrtl3 -lcore8 -lnlsrtl3 -lcore8 -lnlsrtl3 -lnetv2 -lnttcp \
    -lnetwork -lncr -lclient8 -lvsn -lcommon8 -lgeneric8 -lepc -lnlsrtl3 \
    -lcore8 -lnlsrtl3 -lcore8 -lnlsrtl3 -lclient8 -lvsn -lcommon8 -lgeneric8 \
    -lnlsrtl3 -lcore8 -lnlsrtl3 -lcore8 -lnlsrtl3 -lnsl -lm -ldl -lm \
    -ldl -lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr \
    -lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lncr \
    -lnetv2 -lnttcp -lnetwork -lncr -lsql
    ###-lnbeq8 -lnhost8 -lnus8 -lnldap8 -lldapclnt8 -lnsslb8 -lnoss8 -lnoname8 -lntcp8 \
    #ORALIBS=-lnetv2 -lnttcp -lnetwork -lncr -lclient8 -lvsn -lcommon8 -lgeneric8 \
    # -lmm -lcore8 -lnlsrtl3 -lepc -lnsl -lm -ldl
    CPPOBJECTS=orabase.o orastmt.o
    HEADER=orabase.h orastmt.h
    .SUFFIXES: .cc .c
    ###.c.o:
    ###     $(CC) $(CCFLAGS) $(INCDIR) -o $@ -c $<
    .cc.o:
         $(CPP) $(CPPFLAGS) $(INCDIR) -o $@ -c $<
    #lib: $(CPPOBJECTS) $(HEADERS)
    #     $(CPP) $(CPPFLAGS) $(SOFLAGS) $(LIBPATH) -o $(LIBNAME)$(SOEXT) $(CPPOBJECTS) $(LIBS)
    #clean:
    #     $(RM) *.o core *~
    #distclean: clean
    #     $(RM) $(LIBNAME)$(SOEXT) so_locations
    ###ocimanager:     ocimanager.o
    ###     $(CC) -o $@ $(LIBPATH) $(LIBS) $<
    ocimanager.so: ../obj/ocimanager.o
         $(CC) $(LIBPATH) -o ocimanager.so -G ../obj/ocimanager.o $(LIBS)
    ##     gcc -L$(ORACLE_HOME)/lib/ -L$(ORACLE_HOME)/rdbms/lib/ -o ocimanager.so -G ../obj/ocimanager.o $(LIBS)
    ../obj/ocimanager.o: ocimanager.c ocimanager.h
         $(CC) $(CCFLAGS) $(INCDIR) -o ../obj/ocimanager.o -c ocimanager.c
    **************** Makefile ends here*********************************************
    Hope this helps
    Brunda

  • Compiling and linking Pro*c

    Hi All.
    i want to know the complete process os compiling and linking Pro*c programs.
    Q:1. Do i need to install visual studio?
    Q:2. If yes, please tell me complete procedure for setting environment variables and usage.
    Q:3. If visual studio is not required, how can i compile and link Pro*c programs.
    i heard that we can compile and link using COMPLINK.BAT
    if yes, how to set the complink.bat into execution(ie any paths need to be modified in .bat file)
    need help urgent.
    thanx in advance

    Q:1. Do i need to install visual studio? -
    Yes you need this
    Q:2. If yes, please tell me complete procedure for setting environment variables and usage.:
    Refer V.Studio installation manual and PROC++ Programmers Guide.
    Q:3. If visual studio is not required, how can i compile and link Pro*c programs.
    Yes you need this

  • IPad and iPhone runtime errors after ios 6 update at one site I use

    I use an I pad and iPhone 4S.  Did iOS 6 updates and have no problems.  However today I went to one site, the NGC collectors society ( registery section requiring sign in) that I use and get the following error below.  I have cleared the cookies on my iPad and restarted, but still get the same error. I also made sure java script was on.  The same with the iPhone. So far this is the only problem I have had with the new ios6.  The site works fine with my laptop which is a MacBook Pro that is updated with the latest system software. 
    Server Error in '/' Application.
    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
    <!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>
    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
    <!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>

    Hi,
    Try to deactivate the FACEBOOK INTEGRATION (go to settings).. After i removed it to my iphone 4 All apps are now doing fine... No more crashing of apps :-) hope it works for you...
    The problem is with facebook, go to settings / facebook / your user name and delete your account, the do a hard reset (home+power for some seconds).
    dont need to delete the facebook app! just delete your integrate account from settings

  • Error after compiling because of scroll

    I would like to get scrollbars (vertical and horizontal) after doing the Pascal's Triangle that appends in the JTextArea named "prog", inside the JPanel "dret".
    I've tried lots of things in teh code, but I get, after compiling:
    "Exception in thread "main" java.kang.IllegalArgumentException: adding container's parent to itself
    at java.awt.Container.addImpl(Container.java:309)
    at java.awt.Container.add(Container.java:210)
    at cerni.<init>(cerni.java:218)
    at cerni.main(cerni.java:261)
    Here the java code:
    import java.lang.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.IOException.*;
    import javax.swing.text.*;
    import java.util.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    public class cerni extends JFrame {
         //declaraci� de variables.
         JPanel principal, centre, esquerre, dret, intro, esquerrealt, esquerrebaix;
         JButton element2, element3, element4, element6;
         JTextArea prog;
         JTextField element1, element5, introtext;
         static String newline = System.getProperty("line.separator");
         //funci� binominal.     
         public static int binominal (int n, int p) {
              if (p * (n-p) == 0)
                   return(1);
              else
                   return(binominal(n-1, p-1) + binominal(n-1,p));
         //funci� cerni.
         public cerni() {
              //t�tol.
              super(" �-_JavaPascal_-`");
              //definici� de variables.
              principal = new JPanel();
              centre = new JPanel();
              esquerre = new JPanel();
              dret = new JPanel();
              intro = new JPanel();
              esquerrealt = new JPanel();
              esquerrebaix = new JPanel();     
              element2 = new JButton("Informaci�");
              element4 = new JButton("Fer el triangle");
              element3 = new JButton("Sortir");     
              element6 = new JButton("Netejar la pantalla");          
              element1 = new JTextField("");
              element5 = new JTextField(" Entreu el valor d' n+1 files del triangle de Pascal.");
              introtext = new JTextField(" Benvinguts al programa JavaPascal, el programa escrit i compilat en java que dibuixa el triangle de Pascal.");
              prog = new JTextArea();
              //propietats de texts.
              introtext.setFont(new Font("Serif", Font.ITALIC, 16));          
              prog.setFont(new Font("Serif", Font.ITALIC, 16));
              prog.setLineWrap(true);
              prog.setCaretPosition(prog.getText().length());
              element5.setEditable(false);
              introtext.setEditable(false);
              prog.setEditable(false);
              //minimissatge del principi.          
              JOptionPane.showMessageDialog(principal, " Benvinguts al programa JavaPascal.", " -> Bon dia!! <- ",JOptionPane.INFORMATION_MESSAGE);
              //bot� netejar.
              element6.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e){
                        String o = new String();
                        prog.setText(o);
              //bot� informaci�.
              element2.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e){
                        JOptionPane.showMessageDialog(principal, "El programa JavaPascal ha estat escrit per Cerni Pol durant els dies 11 i 12 de maig del 2002.\nAmb una estructura de JFrame i JPanels, m�s JButtons i components de text, l'aplicaci� en q�esti� us exposar�\nel triangle de Pascal, en tantes files com li demaneu, al camp de text de la dreta.\nNo �s recomanable demanar un n m�s gran de 25, per aix� tenir un millor rendiment en l'operaci� de la compu-\ntadora. (rendiment provat en un processador Pentium2 a 450 mhz)\nQue us ho passeu b� amb aquest programa.\n(Enjoy.)");
              //bot� sortir.
              element3.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e){
                        System.exit (0);
              //bot� pascal.
              element4.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e){
                        int n, p, c;
                        c = 10;
                        String s1 = element1.getText();
                        c = Integer.parseInt(s1);
                        n = 0;
                        p = 0;
                        for (n=0; n<c+1; n++){
                             prog.append(cerni.newline);
                             for (p=0; p<n+1;p++){
                                  String s = Integer.toString(binominal (n,p));
                                  prog.append(s);
                                  prog.append(" ");
                   prog.append(cerni.newline);     
              //panell esquerrealt.
              esquerrealt.setLayout(new GridLayout(4, 0));
         esquerrealt.setBorder(BorderFactory.createEmptyBorder(
         30, //top
         20, //left
         40, //bottom
         20) //dret
              esquerrealt.add(element5);
              esquerrealt.add(element4);
              esquerrealt.add(element1);
              esquerrealt.add(element6);
              //panell esquerrebaix.
              esquerrebaix.setLayout(new GridLayout(0, 2));
              esquerrebaix.setBorder(BorderFactory.createEmptyBorder(30, 30, 20, 30));
              esquerrebaix.add(element2);
              esquerrebaix.add(element3);     
              //panell esquerre.
              esquerre.setLayout(new BorderLayout());
              esquerre.add(esquerrealt, "North");
              esquerre.add(esquerrebaix, "South");
              JScrollPane dretScrollPane = new JScrollPane(dret);
              dretScrollPane.createVerticalScrollBar();
              dretScrollPane.createHorizontalScrollBar();          
              dretScrollPane.setVerticalScrollBarPolicy
              (JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
              dretScrollPane.setHorizontalScrollBarPolicy
              (JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
              dret.add(dretScrollPane);          
              //panell dret.          
              dret.setLayout(new BorderLayout());
              dret.add(prog, "Center");
              //panell centre.
              centre.setPreferredSize(new Dimension(800, 700));
              centre.setBorder(BorderFactory.createEmptyBorder(30, 30, 20, 30));     
              centre.setLayout(new GridLayout(0, 2));
              centre.add(esquerre);
              centre.add(dret);     
              //panell intro.          
              intro.setLayout(new BorderLayout());
              intro.add(introtext, "Center");
              //panell principal.
              principal.setLayout(new BorderLayout());
              principal.setBorder(BorderFactory.createEmptyBorder(30, 30, 20, 30));
              principal.add(centre, "Center");
              principal.add(intro, "North");
              setContentPane(principal);
         //main.     
         public static void main (String[] args) {
              JFrame principal = new cerni();
              principal.addWindowListener (new WindowAdapter () {
                   public void windowClosing (WindowEvent e) {System.exit(0);}
         principal.show();
         principal.pack();
         principal.setSize(800, 700);
    Thanks to help me.

    Hi...
    The line is error is below...
    dret.add(dretScrollPane);You've already added dret to the scrollpane in the constructor of the scrollpane (some 6/7 lines above the line above). Simply add the scrollpane to the main frame (pane) now.
    Merry Christmas

  • Error after compile Exception in thread "main" java.lang.NoClassDefFoundErr

    Hi I am very new to Java programming, right now I am using a mac os 10.49
    I can create java documents using bbedit and then they compile when i type
    javac.
    But when i type java *.java I get the following error
    Exception in thread "main" java.lang.NoClassDefFoundError
    If I type java "filename"
    without the .java at the end of the file the terminal has no response
    I understand i am supposed to some how set the classpath but i do not know how to do this
    Also I can create and compile and then run my java in the eclipse program that i have installed, but not from terminal and im not sure why.
    Thanks for the help.

    I understand i am supposed to some how set the classpath but i do not know how
    to do thisThere is no need to set a system variable CLASSPATH, it is inflexible to do so, and it can lead to unpredictable behaviour.
    You should be able to compile and run programs from the command line, specifying the classpath as part of the commands you use.
    (1) For instance, you can create a file HelloWorld.java with the following contents:public class HelloWorld {
        public static void main(String args[]) {
            System.out.println("Hello world");
    }(2) From the command line (console) navigate to the folder (directory) containing this file and compile it with the commandjavac -cp . HelloWorld.javaThe "-cp ." part is what specifies the classpath. Note that it is a file that is being compiled so we specify the actual file name including the extension. At this point you should be able to check that the HelloWorld.class file has been created.
    (3) From the same folder (directory) you run the program withjava -cp . HelloWorldThe classpath is being specified in the same way as before. It is a class that is being invoked, so we don't specify a filename. (much less use wildcards like *).
    Documentation for the java and javac tools (and others) are linked to from this page: http://java.sun.com/javase/6/docs/index.html

Maybe you are looking for

  • Unable to re-read file created with scanner

    Hello, I've made a combinated document in PDF with scanning of 4 documentd and save-it on the cloud ( dropbox). My installation is in french. I would like to  simply read my document with adobe acrobat pro 9 and here is the message instead of opening

  • Watermark not showing correctly on image export

    I've come from Aperture 2, and when I exported jpegs I had a small watermark - a 15 x 18 png file - that I added to my exports. When I upgraded to Aperture 3 I did it by creating a new library and importing the Aperture 2 library. My existing image e

  • Frozen when lid closed

    My laptop is Win8.1, I have set it to do nothing when lid is closed and power options are set to stay alive. I close the laptop lid and go to work. At work I TeamViewer onto my laptop but I cannot control Firefox (I can control the rest of the OS). T

  • Issues in using Jdev web service proxy

    Guys, I'm using jdeveloper web service proxy to call web services. But when i got the response, the response objects are not getting populated for complex type. I mean if the schema refers to another element name instead of primitive type. Do anyone

  • Global Varaible in script

    Hi All, I am not able access  a variable in one widow with another window. What i am doing is i am declaring and assigning value to a variable in one window but printing in next window, the the value is not getting printed. So. how can i declare a gl