UNDEFINED SQLCXT ERROR(PRO*C)

제품 : PRECOMPILERS
작성날짜 : 1997-12-01
SQLCXT symbol not found 시는 다음처럼 처리 한다.
1) path 와 LD_LIBRARY_PATH 가 제대로 setting 되어있는지를 check 한다.
2)$ORACLE_HOME/lib 아래 libsql.a 가 있는지를 확인후
?/precomp/env_precomp.mk 에서 다음처럼 수정한다.
#LLIBSQL=-lsql
add new line:
LLIBSQL=$(LIBHOME)/libsql.a
save file!
3) make -nf proc.mk OBJS=sample1.o EXE=sample1 > mk
(단 AIX 경우 make -nf build OBJS=sample1.o EXE=sample1> mk 로 build
이하를 모두 명시해야 가능 :workaround)
4) chmod 777 mk
5) vi mk 해서 -lsql 을 추가
6) mk (mk 를 실행한다.)
환경변수 setting 시는 아래를 참조 한다.
ORACLE_HOME
ORACLE_SID
SET THE LD_LIBARY_PATH $ORACLE_HOME/lib:/usr/lib
7). core dump가 발생했을때는
% strings core | more
이때 다음과 같은 error 가 나타나면 OS library problem 이므로
(주로 HP) OS 에 문의 한다.
error 내용 : "/usr/lib/dld.sl B:10.19",

Hi,
This is often the result of failing to include the orasqlX.lib file as input to the linker.
I have a walkthrough of integrating Pro*C with Visual Studio here:
http://oradim.blogspot.com/2009/05/oracle-proc-on-windows-with-express.html
Maybe that will be of some help.
How are you linking?
Regards,
Mark

Similar Messages

  • "undefined symbol" error while using a custom instrument driver

    Hello all, I'm facing a problem related to instrument driver creation.
    I want to pack a part of my code to a .FP to be able to reuse it in other applications of mine. This part of code includes calls to Windows API and a third party dll. I have included both windows.h and the include for the dll in the header file for the instrument. I developed the source code and next a little application that simply calls one function to test the result of my work, but I get some 'undefined symbol' errores while linking the test application with the instrument. The instrument header file is included in program source file.
    Situation is as follows:
    I can run the test application if I include the source file for the instrument directly in the project (without loading the instrument)
    I created a static library and can have the test program up and running if directly including the library in the project (again without the .fp file)
    I get linker errors when trying to use the instrument I created based on the same code, both when including the instrument at source code level and when including at library level. Adding the .fp to the project makes no difference
    Linker errors are all related to WinSDK and third-party dll functions.
    Question is: where and how I have to declare the symbols apart including the appropriate .h files in the instrument header file?
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

    Being waited on to log on... how flattering
    I wish I had a simple and obvious solution, but I don't.
    The problem in this case is that, whereas DLLs (via their import libraries) carry no additional build-time dependencies to their clients, that is not the case with object files and static libraries: any project that uses those .obj and .lib files must satisfy all of their dependencies when that project builds.
    There is a mechanism, with .fp files, to advertise such dependencies to the clients of the .fp, and that is the auto-load list (Edit>>FP Auto-Load List, in the function tree editor). The caveat, however, is that these indirect dependencies must have a companion .fp that you can add to this list. And in your case, you don't have one. So the only solution I can think of is for you to create a very thin wrapper module where you would wrap all of the SDK functions that you need, then create a basic .fp for this wrapper -- you can do this semi-automatically, from the header file (Options>>Generate Function Tree) -- and then add this .fp to the auto-load list of your primary .fp. And then you'll probably have to create a second .fp wrapper for your other dependency (a non-SDK third-party DLL?).
    Once you have declared the dependency chain for this .fp, you should then be able to use it on any test application and CVI should know to link in these additional static libraries whenever it builds the test application.
    If you choose to go this route, you'll probably have to deal with a bunch of non-standard data types in the parameters of the SDK functions. I don't remember if these are automatically added to the .fp when you create it from the header file. If not, all you need to do is add them to the .fp  later (Options>>Data Types, from the function panel editor). Don't worry about providing the definitions for these data types. They're not necessary. You just need to make sure that their names are in the list.
    Luis
    Message Edited by LuisG on 05-19-2010 10:43 AM

  • When install db 10.2.0.1, report many undefined reference error.

    Hi,
    I try install the db 10.2.0.1 under fc4 linux.
    I select to install software only, but report error:
    Error invoking target 'relink' of makefile
    '/usr/local/oracle/db10g/precomp/lib/ins_precomp.mk' ...
    I check the install/make.log, there are many "undefined reference" error, as following:
    /usr/bin/make -f ins_precomp.mk relink ORACLE_HOME=/usr/local/oracle/db10g EXENAME=proc/Linking /usr/local/oracle/db10g/precomp/lib/proc
    /usr/local/oracle/db10g/lib//libclntsh.so: warning: warning: this program uses gets(), which is unsafe.
    /usr/local/oracle/db10g/precomp/lib/pdc.o(.text+0x236): In function `pdlitlen':
    : undefined reference to `__ctype_b_loc'
    /usr/local/oracle/db10g/precomp/lib/libpgp.a(pgstdf.o)(.text+0x39e): In function `pgswget':
    : undefined reference to `_IO_getc'
    Whether some lib be not found?
    Thanks!

    Keep reading the link log, those are warnings. there is an actual error somewhere.

  • "HttpParam is undefined" JS error when using dynamic container in portal

    I am using dynamic container tag "*dc:container*" within an iterator in a pageflow portlet & I'm sending different parameter in each iteration, it worked well in IE7, but in FireFox, some of the rows were rendered & for the rest I received the following exception:
    DynamicContentXmlHttpServlet: Error dispatching request to requested action: '/src/com/loadFriendRatePlan'.
    java.lang.NullPointerException
         at com.bea.apps.groupspace.servlets.DynamicContentXmlHttpServlet.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:359)
         at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
         at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
         at org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
         at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
         at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
         at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
         at selfcare.portal.shared.web.security.sso.ClearTrustPreAuthenticatedProcessingFilter.doFilterHttp(ClearTrustPreAuthenticatedProcessingFilter.java:132)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
         at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
    Note: every time i refresh the page different rows are rendered, which means that the non rendered rows have nothing to do with the parameter sent in each iteration.
    I've added the portlet to portal, & now nothing is rendered in both IE7 & FireFox, & "HttpParam is undefined" JavaScript error is displayed in both browsers.
    Note : my portlet "Async Content rendering" property is set to ajax, & the portal "Asynchronous Model" property to enabled.
    <h3>Here's sample of my tag code:</h3>
    <dc:executeContainerAction action="loadFriendRatePlan" dcContainerId="${container.index}"
         var="ratePlan"/>           
    <dc:container dcContainerId="${container.index}">     
         <dc:containerActionScript action="loadFriendRatePlan" initial="true"
              onErrorCallback="displayMessageNotAvailable">
              <dc:containerActionParam name="friendAccount" value="${container.item.accountNumber}"/>
              <dc:containerActionParam name="friendContractType" value="${container.item.contractType}"/>                         
         </dc:containerActionScript>
    </dc:container>
    <script type="text/javascript">
         ${ratePlan}
    </script>
    Any clue how can I solve both errors?

    Just so there is a record of this on the Adobe site...
    IF you are running Apache and have virtual hosts, be sure to add the line
    Alias /CFIDE "c:/inetpub/wwwroot/CFIDE"
    to the virtual host list. Of course change the path c:/inetpub/wwwroot/CFIDE" to whatever is set up in the CF Administrator.
    Otherwise, none of your cfform stuff will work properly, AJAX will croak,  and you will get a 'Coldfusion' is undefined error.

  • Uncaught TypeError: Cannot read property 'touches' of undefined. (js-error)

    Hi, I'm trying to make a kind of interactive graphic novel, but keep getting this error when trying to bind swipe left: Uncaught TypeError: Cannot read property 'touches' of undefined. (js-error)

    Hi  Aditya,
    Tried $.sap.require('sap.ui.core.IconPool'); now I am not getting the error message but the icon is not getting loaded, meaning I am not getting the URI when I call methd sap.ui.core.IconPool.getIconURI('begin').
    For now I am using workaround of directly entering the URI - but I am afraid what other modules have not been loaded.
    Regards,
    Chidan

  • I tried to compile the SDL port, but i got an Undefined sym error again..

    I tried to compile the SDL port, but i got an Undefined sym
    error again, like in an other project yestarday.. Maybe the problem
    is not with alchemy but me? Any Tips?

    You just use FlashCS4?The first thing you need to check
    quote:
    Posted By: joesteele (Member)
    Alchemy is a technology preview and its features are not
    supported in the FlexBuilder or Flash authoring environments yet.
    This issue looks like it is caused by interaction between the Flash
    CS4 compilers optimization pass and Alchemy-specific bytecodes.
    Checking the "Export SWC" option skips this optimization pass and
    avoids the problem. Be aware that this issue impacts other tools
    which can generate SWCs containing Alchemy-specific bytecodes (e.g.
    Haxe).
    Describe the problem in more detail, you can copy and paste the
    error message directly as it is.

  • Why does cool edit pro saying undefined external error when i try to preview my waves plugin

    please help

    Cool Edit Pro as far as I recollect could only use Direct X audio plugins. Perhaps your Waves plugins are VST which Cool Edit didn't support.

  • How to handle `sqlglm' and `sqlcxt' errors.

    Hi all,
    I have written a proc file precompiled it successfullyand got a c file.
    when i compile the C file ,i t has given me the folowing errors .
    How can I over come these errors.
    /tmp/ccu0J6fN.o(.text+0x1bd): In function `main':
    : undefined reference to `sqlcxt'
    /tmp/ccu0J6fN.o(.text+0x27d): In function `main':
    : undefined reference to `sqlcxt'
    /tmp/ccu0J6fN.o(.text+0x4e2): In function `main':
    : undefined reference to `sqlcxt'
    /tmp/ccu0J6fN.o(.text+0x5ac): In function `main':
    : undefined reference to `sqlcxt'
    /tmp/ccu0J6fN.o(.text+0x653): In function `main':
    : undefined reference to `sqlcxt'
    /tmp/ccu0J6fN.o(.text+0x6bc): In function `sql_error':
    : undefined reference to `sqlglm'
    /tmp/ccu0J6fN.o(.text+0x757): In function `sql_error':
    : undefined reference to `sqlcxt'
    collect2: ld returned 1 exit status
    please help me in this regard.
    Thanks in advance,
    Trinath Somanchi,
    Hyderabad.

    You have to include the Oracle supplied library that contains the code for the OCI calls.
    $ cc your_source.c ${ORACLE_HOME}/lib/libclntsh.soThe library file may vary depending on your platform.

  • Missing prototype and Undefined Symbol errors

    So, I am using an Opal Keyy XEM3005 board.
    Depending on the documentation I read, this board has a native ANSI C interface with a C++ wrapper.
    In their forums, they say to rename the ".cpp" file to "c", and then go forward with calling the default constructor & keep track of the pointer.  Their functions are all in an externally loadable DLL.
    Well and good.
    Their API documentatin is available here:  http://www.opalkelly.com/library/FrontPanelAPI/
    I have written a REALLY simple app to ease my way in - it does nothing more than allow the user to throw a switch, and when this happens, it goes off to connect to the board:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    #include <cvirte.h>
    #include <userint.h>
    #include "Try1.h"
    #include "XEM.h"
    #define _WIN32_WINNT 0x0501
    //#define _WIN32
    #include <windows.h>
    static int panelHandle;
    static okFrontPanel_HANDLE    XEM_Device;
    int __stdcall WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
    LPSTR lpszCmdLine, int nCmdShow)
    if (InitCVIRTE (hInstance, 0, 0) == 0)
    return -1;    /* out of memory */
    if ((panelHandle = LoadPanel (0, "Try1.uir", PANEL)) < 0)
            return -1;
        DisplayPanel (panelHandle);
        RunUserInterface ();
        DiscardPanel (panelHandle);
        return 0;
    int CVICALLBACK Connect (int panel, int control, int event,
            void *callbackData, int eventData1, int eventData2)
        int    Value = 0;
        switch (event)
            case EVENT_COMMIT:
                GetCtrlVal(PANEL, PANEL_CONNECT_SWITCH, &Value);
                SetCtrlVal(PANEL, PANEL_CONNECT_LED, Value);
                if( Value )
                    XEM_Connect(XEM_Device);
                else
                    XEM_Disconnect(XEM_Device);
                break;
        return 0;
    int CVICALLBACK Quit (int panel, int control, int event,
            void *callbackData, int eventData1, int eventData2)
        switch (event)
            case EVENT_COMMIT:
                QuitUserInterface (0);
                break;
        return 0;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This, of course, works fine by itself (with empty _Connect() and _Disconnect() functions)
    I then started working with the XEM_Connect function.
    The first step is to run their LoadDLL function as such:
    int XEM_Connect ( okFrontPanel_HANDLE    XEM_Device )
        int    NoDevices = 0;    //    Number of devices attached to the PC
        //    Load the DLL (?)
        // Load the FrontPanel DLL
        if (FALSE == okFrontPanelDLL_LoadLib(NULL))
            printf("Could not load FrontPanel DLL\n");
            exit(-1);
        return XEM_SUCCESS;
    And this would compile and run just fine.
    Now, when I added the functions to start trying to get info about the device, I started getting "missing prototype" errors.
    int XEM_Connect ( okFrontPanel_HANDLE    XEM_Device )
        int    NoDevices = 0;    //    Number of devices attached to the PC
        //    Load the DLL (?)
        // Load the FrontPanel DLL
        if (FALSE == okFrontPanelDLL_LoadLib(NULL))
            printf("Could not load FrontPanel DLL\n");
            exit(-1);
        //    Find out how many devices are attached
        XEM_Device = okFrontPanel_Construct(  );
    //    XEM_Device = okCFrontPanel( void );
    //    NoDevices = GetDeviceCount( );
        printf("%d OK devices attached\n", NoDevices);
        //    Call the contructor?    
    //    okCFrontPanel ();
        return XEM_SUCCESS;
    Now, I searched the forums and found the bits about adding #define _WIN32_WINNT 0x0501 prior to inclusion of windows.h.  Did that.  No joy.
    Then I searched some more and found the bit about changing the build options to uncheck the "prototype required" flag.
    Done.
    This seemed to work at first (the above code could be built with no errors, and appeared to run).
    So I thought maybe I had it, and added the next line, so:
    int XEM_Connect ( okFrontPanel_HANDLE    XEM_Device )
        int    NoDevices = 0;    //    Number of devices attached to the PC
        //    Load the DLL (?)
        // Load the FrontPanel DLL
        if (FALSE == okFrontPanelDLL_LoadLib(NULL))
            printf("Could not load FrontPanel DLL\n");
            exit(-1);
        //    Find out how many devices are attached
        XEM_Device = okFrontPanel_Construct(  );
        OpenBySerial( XEM_Device, "UaLgzvVpBJ" );
    //    XEM_Device = okCFrontPanel( void );
    //    NoDevices = GetDeviceCount( );
        printf("%d OK devices attached\n", NoDevices);
        //    Call the contructor?    
    //    okCFrontPanel ();
        return XEM_SUCCESS;
    Now it doesn't complain about no prototypes (duh), but instead I get linker errors:
        Undefined symbol '_OpenBySerial@0' referenced in "XEM.c".
    So, dredging through the .h and .c files, I found a couple of things:
    in the okFrontPanel.c file I found the following:
    okDLLEXPORT ok_ErrorCode DLL_ENTRY
    okFrontPanel_OpenBySerial(okFrontPanel_HANDLE hnd, const char *serial)
        if (_okFrontPanel_OpenBySerial)
    ;  return((*_okFrontPanel_OpenBySerial)(hnd, serial));
        return(ok_UnsupportedFeature);
    In the okFrontPanel.h file I found:
    and also:
    okDLLEXPORT ok_ErrorCode DLL_ENTRY okFrontPanel_OpenBySerial(okFrontPanel_HANDLE hnd, const char *serial);
    So, I see them in the .h & .c files, but the linker is bombing out.
    I smell a problem with actual code to link being in the DLL...  How do I resolve this, any ideas?  Or am I doing something so stupidly (and obviously) wrong that I'm being blinded to it?

    Hi tomii,
    My suspicion is that these issues are due to using a C++ dll in a C environment. There are inherent challenges with performing such an operation as you have to make sure all your parameters and settings are correct.
    I also could not find the documentation that the Opal Kelly dll is ANSI C but it sounds like you can use this in C with some reconfiguration. I would recommend using their forums to get more information on what steps need to take place to get things working in ANSI C.
    From the information you provided, I did find some resources on the missing prototype error and undefined symbol issue with the linker.
    For the missing prototype I found a thread of someone actually using LabWindows and seeing this compiler error you may want to look at
    http://bytes.com/topic/c/answers/695019-missing-prototype
    I found a few cases where using a function definition of int func(void) removes such issue when int func() does not.
    Another link I found that may be worth a look can be found at http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html
    It gives some good pointers to mixing C and C++ code. Some of it may be applicible in your case.
    And, a resource for your undefined symbol linking issue.
    http://www.cprogramming.com/tutorial/compiler_linker_errors.html
    Hopefully these resources will give some context for getting things compiling and working with your dll.
    Good luck!
    James W.
    Applications Engineer
    National Instruments

  • OS9 Quicktime update 4.1.2 error-- Pro Tools 5.1.1

    I have a Pro Tools optimized OS9 G4 graphite (?) mac
    When I try to open Pro Tools LE, I get an error message:  
    can not be opened because "Soundlib--SoundConverterFillBuffer" could not be found.
    After googling this error message, on an Avid Forum, I found that it refers to a Quicktime 4.1.2 update that must be made before Pro Tools LE 5.1.1 can run on OS9:
    http://duc.avid.com/showthread.php?t=23094
    Ok, so, I downloaded the Quicktime update onto my MacBook laptop USB-stick, then tried to install on my OS9 G4-- but to no avail-- when trying to install, I get the following error message:
    "Quicktime Installer" could not be opened because an error type -39 occurred.
    I'm not finding anything useful on Google in regard to this "error type -39"
    I'd be eternally grateful if anyone here has any ideas on what I might try to remedy the above problems.
    A "friend" gave me this G4 to use for a inexpensive recording device-- he told me "it worked." Maybe he was wrong, or didnt wanna admit that it had this problem (?) Or maybe its something simple that anyone familiar with OS9 would know about-- I've never worked much on one of these os9 macs...

    That error is often caused by Stuffit Expander intruding where it should not, particularly when the download is in a .smi (self-mounting image) format, a format generated by Apple's Disk Copy. Stuffit Expander has ShrinkWrap technology built-in, which allows it to mount some kinds of disk images - but not .smi ones. Yet ShrinkWrap tries to - hence the error message.
    The solution - double-click Stuffit Expander, and open its Preferences (under the File menu). Select "Disk Images" from the list on the left, then turn off (uncheck) "Mount Disk Images". Quit Stuffit Expander.

  • Undefined method error in custom package even with proper import

    I edited the title of this thread to be a little more descriptive about the help I need.
    The background: I have a multi-file Flash application that allows users to navigate through multiple pages (similar to a website). I realized yesterday that with each mouse click, I'm loading a page into memory, but not unloading it. After navigating through several pages, my memory really starts to take a hit. So, I want to define a custom package that loads each page and unloads the previous page.
    I've gotten as far as defining the pageLoad function, but I keep getting an error that doesn't make sense to me (unless I'm importing the wrong flash packages).
    When I test the Flash, I consistently get the following error:
    dtutils.as – 1180: Call to a possibly undefined method addChild. – addChild(pageLoader);
    Everything I have found indicates that to import the addChild method, I need to import flash.display.Sprite, which I'm doing, but I am still getting the error.
    You'll have to forgive me as I'm not extremely familiar with objects or actionscript. I'm more of a hacker, but I grasp things quickly and can build on what I've already learned. This might be obvious to others, but I can't find anything that indicates that I'm doing anything wrong with my code, so any help you can give is greatly appreciated!!
    My package code:
    package com.clientname.demo
        import flash.display.Sprite;
        import flash.display.Loader;
        import flash.events.MouseEvent;
        import flash.net.URLRequest;
        public class dtutils
            //Properties
            public var pageLoader:Loader = new Loader();
            public var pagePath:URLRequest;
            //Constructor
            public function loadPage(url:String)
                pagePath = new URLRequest(url);
                pageLoader.load(pagePath);
                addChild(pageLoader);
    I've also attempted to replace the four import lines in my package with the following 3 import lines, but I still get the same error message:
    import flash.display.*;
    import flash.events.*;
    import flash.net.*;
    The code I'm using to import my package and call the function in my flash file is:
    import com.clientname.demo.dtutils;
    dtutils.loadPage("../filepath/filename.swf");
    I appreciate any help anyone can give me.

    Thanks for the feedback. Being fairly new with actionscript (and an object approach, in general), and not being a real developer, I often struggle with naming conventions. Didn't even realize there was a specific convention for what is considered a utility and what isn't. However, I appreciate your feedback and will rename my package so that it isn't confusing to any other real developers that may need to do something with this code in the future.
    Thanks!

  • Getting undefined reference error

    Hi Iam using GCC 4.1.2 in solaris with Oracle 9.0.2
    I have the following program
    #include <iostream.h>
    #include <occi.h>
    using namespace oracle::occi;
    using namespace std;
    int main()
    Environment *Env = Environment::createEnvironment(Environment::DEFAULT);
    When I do compile Iam getting the error
    undefined Reference Environment::createEnvironment(Environment::Mode,void,void.....
    etc error
    Please let me mkw what Iam missing

    After also Iam getting this error still in Solaris, g++ 4.1.2 with Oracle 9.2.0
    Undefined first referenced
    symbol in file
    __1cG__CrunKpure_error6F_v_ /usr/local/pkg/oracle/9.2.0/lib/libocci.so
    __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2G6Mpkc_r1_ /usr/local/pkg/oracle/9.2.0/lib/libocci.so
    __1cG__CrunIex_alloc6FI_pv_ /usr/local/pkg/oracle/9.2.0/lib/libocci.so
    __1cG__CrunIex_throw6Fpvpkn0AQstatic_type_info_pF1_v_v_ /usr/local/pkg/oracle/9.2.0/lib/libocci.so
    __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2G6Mrk1_r1_ /usr/local/pkg/oracle/9.2.0/lib/libocci.so
    __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2t6MpkcIrkn0C__v_ /usr/local/pkg/oracle/9.2.0/lib/libocci.so
    __1cH__rwstdRexcept_msg_string2t6MIE_v_ /usr/local/pkg/oracle/9.2.0/lib/libocci.so
    __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2t6Mpkcrkn0C__v_ /usr/local/pkg/oracle/9.2.0/lib/libocci.so
    __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___Gassign6Mrk1II_r1_ /usr/local/pkg/oracle/9.2.0/lib/libocci.so
    _

  • Undefined symbol error when calling stat from extproc

    Hi, I'm trying to call an external procedure written in C that calls stat, and am getting the following error. Note that we have other extprocs running, and we are on Oracle 8.1.7 on redhat 6.2...
    SQL Error: ORA-06520: PL/SQL: Error loading external library
    ORA-06522: /tmp/extproc.so: undefined symbol: stat
    OS/compiler
    Linux enchilada 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknown
    gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
    Oracle version: 8.1.7
    added following lines to file plsql/demo/extproc.c:
    (at top of file)
    #include <unistd.h>
    #include <sys/types.h>
    #include <sys/stat.h>
    #include <fcntl.h>
    (inside UpdateSalary function)
    struct stat mystat;
    stat("/tmp/foo", &mystat);
    reported error:
    SQL Error: ORA-06520: PL/SQL: Error loading external library
    ORA-06522: /tmp/extproc.so: undefined symbol: stat
    NOTE: when I remove call to stat, procudure runs properly.
    null

    I've talked to support, and this is supposedly a problem with Oracle not recognizing the library path. It is supposed to be fixed in 8.1.7.1.

  • ORA-20100: Column name undefined invalid Error - Table splitting

    Hi
    While tablesplitting in our upgraded ECC6.0 (EHP4) system, we are facing the below error
    BEGIN table_splitter.ranges('SOFFCONT1','undefined',5,'/tmp/sapinst_instdir/ERPEhP4/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PRETABSPLIT/Split/DATA'); END;
    ERROR at line 1:
    ORA-20100: Column name undefined invalid
    ORA-06512: at "SAPR3.TABLE_SPLITTER", line 775
    ORA-06512: at line 1
    In our R3hint file we have the below entry, but still we face the issue.
    (kdecc01)#cat R3ta_hints.txt | grep SOFF
    SOFFCONT1       PHIO_ID
    Has anyone faced this issue before?
    Senthil

    see SAP note 1043380
    Ensure the directory being reference does actually exist and ensure
    privilege are provided for access. Also, a Directory Alias should be
    used instead of the database parameter UTL_FILE_DIR which has been
    deprecated.
    Grant the READ or WRITE privileges to the username accessing the
    DIRECTORY.
    Ensure that the file being read does exist and actually contains
    information to be read.
    regards,
    Vincent

  • 1180: Call to a possibly undefined method error for DEFINED method

    Hi,
    I have Document Class  main.Core  that in package main
    In the first frame of the .fla I have:
    stop();
    startGame();
    public function startGame():void {
           world = new World();
            world.startWorld();
    World is class in package world.
    I use import world.World;
    When I am tryng to export I get the error:
    1180: Call to a possibly undefined method startWorld.
    Can someone tell me why?
    Thanks.

    what's the following show:
    package world {
    import flash.display.MovieClip;
         public class World extends MovieClip {
              public function World():void {
    trace(this);         
              public function startWorld():void {
                   trace("b");

Maybe you are looking for

  • Aging Report for A/p

    I mean is there anyway to user decode for showing sum(amount) for different period of dates is there any idea to make faster ageing report for accounts payable module. Thanks AHON Edited by: [email protected] on Nov 22, 2009 7:09 AM

  • IPod not recognized -- an UPDATE (note iPod HP users)

    After nearly 3 months, I'm finally listening to an iPod again! First of all, let me offer MUCH THANKS to HP. They were efficient, courteous, and timely in helping me with this problem. Do you have an HP iPod? I bought mine at costco a few months ago,

  • Application Runs, Won't Quit Or Force Quit... Ideas?

    Issue: My computer has been running slow and now I have been having issues with the applications. I will launch an application (such as Firefox or Mail) and it runs fine. I then try to quit the application and the window will close. The application d

  • Out of Sync Audio

    I know this topic has been posted hundreds of times but none of the solutions i've read have helped heres the problem: i have a project in FCE (of course) made up of assets from livetype after effects and then raw footage from my friends camcorder. H

  • Using Multiple LTS in BMM Layer - OBIEE 10g

    Hi, I have 3 tables heirarchies as follows, Project Detail --> Activity Detail --> Sub-Activity Detail. Sub-Activity being the lowest level. But the project also has some fact data, like the Total-Project-Cost, if I include that in my report, the que