Linking Error Compiling OCI Demos with Visual C++

First let me say that I am new to using Visual C++. But my problem is that I am getting a Linking Error when compiling cdemo81.c. The error I get is as follows:
Linking ...
cdemo81.obj: error LNK2001: unresolved external symbol _OCITransCommit
cdemo81.obj: error LNK2001: ...
Debug/cdemo81.exe: fatal error LNK 1120: 14 unresolved externals
Error executing link.exe
I think that the problem is that I am not linking in the OCI executable files correctly. So if someone could help me out, it would be greatly appreciated.

Do you link oci.lib? Thats the only lib file you need actially.
If you are using MS VC++, you can add lib path from Tools>Options>Directories.Choose "Library files" from "Show directories for" dropdown list, adn then add you ora.lib path (usually $ORAHOME\oci\lib\).
You also need to add oci.lib in the project settings in the Object/library modules filed of Link tab. Do not forget to add oci.lib for both Debug end Release settings.
Cheers,
Tolkun.

Similar Messages

  • Link error in Workshop 6u2 with lib built by Studio 9

    I have a shared library built with Sun Studio 9.
    I'm trying to use it in an application that I build using Sun
    Workshop 6 update 2.
    This gives me a link error:
    Undefined symbol first referenced in file
    __rwstd::__null_string_ref_rep<char,std::char_traits<char>,
    std::allocator<char>,__rwstd::__string_ref_rep<std::allocator<char>
    >>::__null_string_ref_rep()
    /home/me/lib/libFoo.so
    std::basic_string<char,std::char_traits<char>,std::allocator<char>>::~basic_string()
    /home/me/lib/libFoo.so
    The lib is built using:
    JAVA_INCLUDE = -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris
    JAVA_LIBS = -L${JAVA_HOME}/jre/lib/sparc -L${JAVA_HOME}/jre/lib/sparc/client
    CXX = g++
    CXXFLAGS = -g -w -fPIC -I./include ${JAVA_INCLUDE}
    LDFLAGS = -shared ${JAVA_LIBS} -ljava -ljvm
    $(CXX) ${LDFLAGS} ${LIBS} -o ../$@ ${OBJS}
    Any ideas what could be wrong?
    Thanks in advance,
    /Mikael

    You can use a binary created by an older compiler in a program built with a newer compiler. We take care not to invalidiate old binary interfaces in new compilers.
    You cannot use a binary created by a newer compiler in a program built with an older compiler. The newer compiler will in general use features from headers or system libraries that are unknown to the older compiler.
    If you have a set of binaries created by different compiler versions, you must build the final program using a compiler at least as new as the newest compiler that was used.
    Similar rules apply to verions of Solaris where the binaries are built. If you build a binary on an older Solaris version, you can use it on a newer Solaris version -- but not the reverse.

  • Linking Error :: Solaris 8 machine with 3rd party libraries

    Hi,
    I am working on a Solaris8 migration project.
    I need an explanation for a problem I have compiling a rather old program I am working with at work. I tried compiling it,
    however I get a bunch of errors of the same type:
    Undefined symbol first referenced in file
    unsafe_ostream::do_opfx(void) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
    operator new(unsigned int) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.
    so
    endl(ostream&) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
    ws(istream&) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
    exthrow /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
    RWCString RWLocaleSnapshot::asString(double,int,bool)const ./objs/CalcFinancial.o
    FDRMSCash::FDRMSCash(const RWDBDatabase&,const RWCString&) ./objs/CalcFinancial.o
    RWDBMemTable::~RWDBMemTable() ./objs/CalcFinancial.o
    exalloc /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
    ostream::operator <<(double) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
    ostream::operator <<(long) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
    istream::operator >>(double&) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
    istream::operator >>(int&) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
    istream::operator >>(long&) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
    istream::operator >>(char*) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
    Iostream_init::Iostream_init(void) /xenv/RKCurves/sun4/5.x/1.0_A0_beta/lib/librk.so
    FDRMSvsCash::FDRMSvsCash(const RWDBDatabase&,const RWCString&) ./objs/CalcFinancial.o
    RWDBValue&RWDBRow::operator[](unsigned)const ./objs/CalcFinancial.o
    RWDBRow&RWDBMemTable::operator[](unsigned) ./objs/CalcFinancial.o
    RWDecimalPortableInit::RWDecimalPortableInit() ./objs/CalcFinancial.o
    ld: fatal: Symbol referencing errors. No output written to CalcFinancial
    *** Error code 1
    make: Fatal error: Command failed for target `CalcFinancial'
    I can understand that it has to do with linking problems...Compiling is ok..
    I am working on Solaris 8 machine with additional 3rd party libraries like rogue wave etc..
    I have added the library path to the makefile with the -L option & also given the library name with -l option.
    Any help would be appreciated...
    regards
    Debkumar

    I am using FORTE 6 compiler on Solaris 8, & Rogue Wave Source Pro.
    The LINK command is
    $(ALTCC) -mt -library=rwtools7,iostream -staticlib=rwtools7,iostream -lCcFi -lCcDt /xenv/RK
    Curves/sun4/5.x/1.0_A0_beta/lib/librk.a -L/software/development/fdrms/ab83445/src/lib/sun4-5 -lFDRMS
    Calc -L/software/development/fdrms/ab83445/src/lib/sun4-5.5.1 -lFDRMSCalc -ptr$(OBJDIR) -o $@ $(OBJECTS:%=$(OBJDIR)/%)
    The librk.so linking errors can be eliminated if i force it to link the static libraries by including the complete paths to it...
    The errors with CalcFinancial still persists..
    RWCString RWLocaleSnapshot::asString(double,int,bool)const ./objs/CalcFinancial.o
    FDRMSCash::FDRMSCash(const RWDBDatabase&,const RWCString&) ./objs/CalcFinancial.o
    RWDBMemTable::~RWDBMemTable() ./objs/CalcFinancial.o
    FDRMSvsCash::FDRMSvsCash(const RWDBDatabase&,const RWCString&) ./objs/CalcFinancial.o
    RWDBValue&RWDBRow:perator[](unsigned)const ./objs/CalcFinancial.o
    RWDBRow&RWDBMemTable:perator[](unsigned) ./objs/CalcFinancial.o
    RWDecimalPortableInit::RWDecimalPortableInit() ./objs/CalcFinancial.o
    bool RWLocaleSnapshot::stringToNum(const RWCString&,unsigned long*)const ./objs/CalcFinancial.o
    bool RWLocaleSnapshot::stringToNum(const RWCString&,long*)const ./objs/CalcFinancial.o
    FDRMSDebugger::FDRMSDebugger() ./objs/CalcFinancial.o
    bool RWLocaleSnapshot::stringToTime(const RWCString&,std::tm*)const ./objs/CalcFinancial.o
    void DestroyCurves() ./objs/CalcFinancial.o
    FDRMSvsNonCash::FDRMSvsNonCash(const RWDBDatabase&,const RWCString&) ./objs/CalcFinancial.o
    RWDBDatabase::~RWDBDatabase() ./objs/CalcFinancial.o
    RWDBDatabase RWDBManager::database(const RWCString&,const RWCString&,const RWCString&,const RWCStrin
    g&,const RWCString&) ./objs/CalcFinancial.o
    RWDate getValueDate(const RWDBDatabase&) ./objs/CalcFinancial.o
    FDRMSDebugger::~FDRMSDebugger() ./objs/CalcFinancial.o
    unsigned RWDBTable::index(const RWCString&)const ./objs/CalcFinancial.o
    RWCString RWDBValue::asString()const ./objs/CalcFinancial.o
    void closeDatabase(RWDBDatabase&) ./objs/CalcFinancial.o
    unsigned RWDBMemTable::entries()const ./objs/CalcFinancial.o
    bool RWLocaleSnapshot::stringToDate(const RWCString&,std::tm*)const ./objs/CalcFinancial.o
    FDRMSFinancial::FinancialType FDRMSFinancial::convertStringToFinancialType(const RWCString) ./objs/C
    alcFinancial.o
    void CreateCurves() ./objs/CalcFinancial.o
    RWCString arg(RWCString,int,char**) ./objs/CalcFinancial.o
    RWDBMemTable*getRefsByFinclSrcAndBatchStp(const RWDBDatabase&,const RWCString&,const RWCString&,cons
    t RWCString&,const int,const int) ./objs/CalcFinancial.o
    bool RWLocaleSnapshot::stringToMoney(const RWCString&,double*,RWLocale::CurrSymbol)const ./objs/Calc
    Financial.o
    bool FDRMSDebugger::start(const RWCString&) ./objs/CalcFinancial.o
    bool RWLocaleSnapshot::stringToNum(const RWCString&,double*)const ./objs/CalcFinancial.o
    bool RWDBDatabase::isValid()const ./objs/CalcFinancial.o
    ld: fatal: Symbol referencing errors. No output written to CalcFinancial
    *** Error code 1
    make: Fatal error: Command failed for target `CalcFinancial'
    Any help...
    Thanks in advance.
    Deb

  • Compile Plug-in with Visual Studio 2010 beta

    Hello there,
    I know that only Visual Studio 2005 is supported for the Acrobat SDK. But maybe one of you is also experimenting with visual Studio 2010 and got it to work.
    I get the following error message. Did anyone solve this problem.
    Error    105    error MSB3073: The command "if not "¬roSDKPIDir%"a == ""a if not exist "¬roSDKPIDir%" mkdir "¬roSDKPIDir%"
    if not "¬roSDKPIDir%"a == ""a copy "C:\Users\test\Documents\Visual Studio 2010\Projects\EPapers_Button\EPapers_Button\Debug\EPapers_Button.dll" "¬roSDKPIDir%"
    if not "¬roSDKPIDir%"a == ""a echo EPapers_Button copied to "¬roSDKPIDir%".
    if "¬roSDKPIDir%"a == ""a echo not performed. AcroSDKPIDir environment variable not set.
    :VCEnd" exited with code 255.
    Thanks for your help.

    this is something that i tried i set AcroSDKPIDir to
    C:\acrobatxsdk\Adobe\Acrobat 10 SDK\Version 1\PluginSupport\Samples\WeblinkDemo\win32\Debug
    and in th e post build events i did the following
    <Target Name="PostBuildEvent" Condition="'$(PostBuildEventUseInBuild)'!='false'">
        <Message Text="Description: %(PostBuildEvent.Message)" Condition="'%(PostBuildEvent.Message)' != '' and '$(AcroSDKPIDir)'"/>
        <Exec Command="%(PostBuildEvent.Command)$(BuildSuffix)" Condition="$(AcroSDKPIDir)"/>
      </Target>
    can u be plzz more specific in terms of it
    the error i got is
    Error
    84
    error MSB4100: Expected "$(AcroSDKPIDir)" to evaluate to a boolean instead of "C:\acrobatxsdk\Adobe\Acrobat 10 SDK\Version 1\PluginSupport\Samples\WeblinkDemo\win32\Debug", in condition "'%(PostBuildEvent.Message)' != '' and '$(AcroSDKPIDir)'".
    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets
    112
    61
    WeblinkDemo

  • Linker error: Compiling C++ code on linux platform with 64 bit oracle lib

    uname -a : Linux pnl36a-4203 2.6.5-7.308.PTF.352368.0-smp #1 SMP Mon Dec 10 11:36:40 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux
    /app/devtools/gcc-4.2.3-64/bin/g++ -L/home/john/sdc/lib/Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64 -L/home/john/oracle/lib -L/app/gcc-3.3.4/lib -L/app/gcc-3.2.3/lib -ldl -lpthread -lnsl -lrt -lstdc++ -lvs -lclntsh -L/home/cdev/pkgs/oas/Linux64/oaslinux64_2_4_05_03/lib -loas Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64-R/db.o Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64-R/owl.o Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64-R/queue.o Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64-R/log.o Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64-R/titan.o -o /home/amehta17/sdc/bin/Linux_2.6.5-7.308.PTF.352368.0-smp.gcc-4.2.3-64/titan
    /usr/bin/ld: warning: libnnz10.so, needed by /home/john/oracle/lib/libclntsh.so, not found (try using -rpath or -rpath-link)
    /home/amehta17/oracle/lib/libclntsh.so: undefined reference to `nzos_ServiceWriteQueue'
    /home/amehta17/oracle/lib/libclntsh.so: undefined reference to `nzosCipherSpecToStr'
    /home/amehta17/oracle/lib/libclntsh.so: undefined reference to `nzos_setCRLPath'
    /home/amehta17/oracle/lib/libclntsh.so: undefined reference to `nzteOpenPersona'
    /home/amehta17/oracle/lib/libclntsh.so: undefined reference to `nzdsi_initialize'
    All these symbols are not defined in libclntsh.so and also does not exist in libnnz10.so.
    Heading 5:h5
    I checked 32bit version of libnnz10.so has all above undefined symbols. This looks really weird to me why 64 bit version of libnnz10.so doesn't define these symbols.
    Let me know if you have any idea.

    Subsequent to your reply, I found that Openmotif is not available in Fedora, so we thought Oracle linux is best in terms of compatibility. But looks like it is not that easy to install EBS R12 on Oracle Linux also. Anyway, we installed EBS R12 on OEL-5 64 bit. Able to run forms after installing openmotif 21. Applied RUP 2. The patch application is failing to link some executables. (specifically FEMCCE, and all the executables in MSC product, MSCCPP. etc...)
    Could you give some insights into this ?
    Error messages:
    `.gnu.linkonce.t._ZN14SimpleTreeIterI3ValEppEv' referenced in section
    `.rodata' of
    /home/orasfa/apps/apps_st/appl/fem/12.0.0/lib/libfem.a(FCDbCrSumExElem.o):
    defined in discarded section `.gnu.linkonce.t._ZN14SimpleTreeIterI3ValEppEv'
    of /home/orasfa/apps/apps_st/appl/fem/12.0.0/lib/libfem.a(FCDbCrSumExElem.o)
    `.gnu.linkonce.t._ZN14SimpleTreeIterI3ValEppEv' referenced in section
    `.rodata' of
    /home/orasfa/apps/apps_st/appl/fem/12.0.0/lib/libfem.a(FCMathExecOp.o):
    defined in discarded section `.gnu.linkonce.t._ZN14SimpleTreeIterI3ValEppEv'
    of /home/orasfa/apps/apps_st/appl/fem/12.0.0/lib/libfem.a(FCMathExecOp.o)
    collect2: ld returned 1 exit status
    make: *** [home/orasfa/apps/apps_st/appl/fem/12.0.0/bin/FEMCCE] Error 1
    Done with link of fem executable 'FEMCCE' on Wed Aug 15 11:26:06 PDT 2007
    Relink of module "FEMCCE" failed.
    See error messages above (also recorded in log file) for possible
    ------------------------------------------------------------------------------------------------------------------------------

  • How to compile AnyConnect API with Visual Studio 2005?

    Gooday,
    I have downloaded anyconnect-win-vpnapi-2.5.3055.zip and am unable to build successfully examples.sln on a Windows XP SP2 platform. I would appreciate help in how to build examples.sln sucessfully. I get the following errors depending on the type of build using Visual Studio 2005 with service pack 1:
    1. Debug configuration for all - "Fatal error C1900: mismatch between 'P1' version '20060201' and 'P2' version '20050411'
    - appears a static lib file is out of date?
    - i downloaded and used as is so don't know how else to resolve it
    2. Release configuration for all - "Fatal error C1047: The object or library file '.\Release\PrivateApi.obj' was created with an older compiler than other objects; rebuild old objects and libraries' "
    Thanx,tom.

    You duplicated Java_Test_getWord. The function signature should read:JNIEXPORT jstring JNICALL Java_Test_getWord(JNIEnv *env, jobject obj) Regards

  • Error while making iview with visual composer

    I am trying to make an iview usign visual composer.
    In the document that i have for making the iview , it says that when you have the bapi list you need to drag and drop the bapi to the empty iview pane . When i do so it gives me the following error ...
    "Portal request failed
    (com/sap/mdi/ObjectFactory)"
    What do i do ?
    Would appreciate a prompt help!
    thanks again for making me move ahead
    I had a conversation with a parson on the forum named Venkat . I am posting the same for other people in the forum to understand what exactly is my problem and how much have we explored .
    Regards
    Deepak Singh
    Hi Venkat ,
    I tried to do so research on the problem and it is being talked about in a thread on the forum . They ask to refer to the sap note 765461 to resolve the mdi reference . In the note they ask you to refer the installation guide of the installed version of EP . I have EP 6.0 SP2 . The installation guide says the following ...
    7.1.2 Adding References
    To enable some of the features in the portal environment, add references to reference file.
    To add a reference:
    1. With a text editor, open the file:
    Windows: <installation drive>:\usr\sap\<SAP J2EE instance name>\j2ee\<instance
    number>\cluster\state\services\file\work\managers\reference.txt
    Unix: /usr/sap/<SAP J2EE instance name>/j2ee/j2ee_<instance number>/
    cluster/state/services/file/work/managers/reference.txt
    2. Look for the line:
    reference service:eisconnector library:jco
    3. After the line mentioned in previous step, add the following in a new line:
    reference service:eisconnector library:com.sap.mdi
    4. Save your changes and close the file.
    5. Delete the file:
    Windows: <installation drive>:\usr\sap\<SAP J2EE instance name>\j2ee\<instance
    number>\cluster\state\services\file\work\managers.bin
    Unix: /usr/sap/<SAP J2EE instance name>/j2ee/j2ee_<instance number>/
    cluster/state/services/file/work/managers.bin
    6. Restart the SAP J2EE Engine. See Starting the SAP J2EE Engine [Page 60].
    7. Restart the SAP J2EE Engine again.
    I did the same ....but now my server is not starting . By chance i didn't keep a bakup of the file which they asked me to delete .
    Now what do i do ?
    I think i am stuck up badly here .
    EVERYBODY IN THE FORUM PLEASE HELP
    I am not sure how a thing that is mentioned in the installation guide cannot work !
    Regards
    Deepak Singh
    Deepak,
    It is not that bad. By deleting you are recreating that managers.bin file during startup based on the reference.txt and library.txt (recollecting from my memory). This could also happen if there is a typo or some special characters in the reference.txt
    I don't know what J2EE patch you are at, but after PL22 you can actually add the reference using the "add reference" command from the administrator console.
    could you please send the error you are getting? To revert back the simplest thing is removing the line you have added and restart.
    Hope this helps.
    -Venkat Malempati
    Note: Please reward points if your problem is solved or useful.
    Venkat ,
    I am using J2EE engine 6.20 SP2 .I tried to get the server started by the following two methods
    1) I removed my entry in the reference.txt file and then start the engine by running go.bat from the required path .
    2) I got the original file managers.bin which i deleted and then placed in the required path and restarted the server
    Both the options didn't work .
    I am not getting any error when i restart the server. When i run the batch file go.bat it starts the console and shows me the various managers loading . After it shows the Clustermanager loading , it stops and gets stuck .
    Not sure what should i do now .Is reinstallation the only solution ?
    Is there a solution from the administrator console ?
    Regards
    Deepak Singh
    Deepak,
    No you don't need to re-install. Try the following.
    1. First start the state controller by runing go.bat in the following directory.
    /usr/sap/xxx/j2ee/cluster/state/go.bat
    You get the message waiting for cluster manager.
    2. start the server in a different window
    /usr/sap/xxx/j2ee/cluster/server/go.bat
    You get the message waiting for cluster manager
    3. Start the dispatcher
    /usr/sap/xxx/j2ee/cluster/dispatcher/go.bat
    Please let me the know the error messages.
    You can chat with me between 10:00 - 11:00 PM US EST.
    Regards
    -Venkat Malempati

    People ,
       I tried to do what venkat suggested . Infact I had mailed him the snapshot of the screen when i start the state controller as he suggested . For other people in the forum this is what is happening . When i start the state controller it displays an error and then the window closes immediately . I have managed the screen shots somehow and in those i could find two messeges in the begining and the end which could be useful for debugging the problem ...they are
    1) [DBMS]: ID3004:DB file header do not match exception .
    com.inqmy.services.dbms.server.interfaces.DatabaseException: Error while opening database ...
    2) ID000544: Error statrting service dbms. DBMS service not started properly due to: Errro while opening database
    [Framework -> criticalShutdown] Service dbms startup error !
    After the state controller window closes i run the server in a different window and i get a message waiting for the cluster manager as suggested . Now i start the dispatcher and i get the same messege there as well ie waiting for the cluster manager .
    What is to be done now . Is this information sufficient to suggest me something ? Please let me know if you require any other information .
    Regards
    Deepak singh

  • I keep getting an "error compiling movie" message with my C100 video

    I even used Clipwrap to rewrap my footage and then did a sequence in a new project where I replaced the footage that's there with the footage that was clip wrapped.  On first attempt I actually got a successful export. That was the last of that.  From that point forward I keep trying to export it and it wouldn't work.  I'm trying everything. Media Encoder, reinterpreting footage as progressive but maintaining the frame rate.  I always have this issue with the C100. I shoot in PF24 (23.976) and the NLE always reads it as 1080i and 29.97 even though it's 23.976 and 1080p.  So I try doing a new sequence (Arri 29.97) and (Arri 23.976) and interpreting the footage to be progressive.  I keep getting this error and it's bad.  HELP me!!!!!!!!!!! I can't seem to export a darn thing even when I leave it as interlaced. It worked once but never again and no the second time I exported I didn't change a thing so it wasn't because I interpreted the footage, that came later.
    I really need to export my video to my client and this error just keeps right on coming! I need serious help here!

    randers4,
    Thanks for your suggestion.  I started to sign off, but was uncomfortable deleting iCal data from my iMac in case there were old entries not sync'd to iCloud.  So I decided to  only delete Notes data from my iMac. 
    I first checked Notes on different devices and saw that they contained more data than my iMac, so I was pretty certain this is what I had in iCloud (another way would be to log on to icloud.com).  I then unchecked Notes under System Preferences>iCloud, which prompted me to delete Notes from this Mac.  I clicked on Delete from Mac, allowed it to finish, then clicked on the Notes checkbox again, and it sync'd the data from iCloud back to Notes on my iMac.

  • Error Compiling Obj-C with GNUstep

    I have installed gnustep-base and gnustep-gui from the Arch repo's and am attempting to try and compile some basic Obj-C code, although I am running into errors.
    First of all, I am following this tutorial http://www.techotopia.com/index.php/Ins … C_on_Linux
    Here are the commands that I am using and their output in the terminal.
    [devin@devin-linux Objc]$ gcc 'gnustep-config --objc-flags' -lgnustep-base hello.m -o hello
    gcc: error: gnustep-config --objc-flags: No such file or directory
    [devin@devin-linux Objc]$ gnustep-config --objc-flags
    -MMD -MP -D_FORTIFY_SOURCE=2 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fgnu-runtime -fconstant-string-class=NSConstantString -fexec-charset=UTF-8 -I. -I/home/devin/GNUstep/Library/Headers -I/usr/include -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/include -I/usr/include -I/usr/lib/libffi-3.0.13/include/ -I/usr/lib/libffi-3.0.13/include -I/usr/include/libxml2 -I/usr/include/p11-kit-1
    [devin@devin-linux Objc]$
    Also, here is the code that I am attempting to execute.
    #include <Foundation/Foundation.h>
    int main(int argc, const char* argv[]) {
    NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
    NSLog(@"Hello world");
    [pool drain];
    return 0;
    Last edited by ProtoTech (2014-06-07 00:04:42)

    Stefan Husmann wrote:
    In
    gcc 'gnustep-config --objc-flags' -lgnustep-base hello.m -o hello
    the ' have to be replaced by backtics `
    gcc `gnustep-config --objc-flags` -lgnustep-base hello.m -o hello
    Ah, thank you. This is where copying and pasting catches up to you.

  • Error in FOD demo with Data Visualization statistics TAB

    I have FOD for Jdev11 is working fine but whenever I select statistics TAB it gave error as graph3_swf is undefined I need help whenever I used a template and graphics I got the same error.

    I am not certain I understand the problem. Can you currently see an graph in the Fusion Order Demo? If not ensure that you have the flash plugin installed.
    --RiC                                                                                                                                                                                                                                                                                                                                           

  • Jdeveloper toolbox -  links fail with "Errors compiling:C:\jdevhome\jdev\myclasses\.jsps\\_OA.java"

    Hi,
    I'm running 12.1.3 in virtualbox and the OAF toolbox tutorials work after logging onto EBS.
    After installing jdeveloper (on windows 8) and doing the documented setup, even the "Hello World" test fails when run in jdeveloper.
    I've double checked the setup and that the jdeveloper patch version is right (p9879989_R12_GENERIC)
    and have the "Default Local IP address" checkbox selected as well.
    I guess some windows install/config is incorrect,but don't know what.  Any ideas?
    Thanks.
    The exact browser error is -
    500 Internal Server Error
    JSP Error:
    Request URI:/OA_HTML/OA.jsp
    Exception:
    OracleJSP:oracle.jsp.provider.JspCompileException:
    Errors compiling:C:\jdevhome\jdev\myclasses\.jsps\\_OA.java
    and the full stack is  -
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
    C:\jdevbin\jdk\bin\javaw.exe -hotspot -classpath C:\jdevbin\j2ee\home\oc4j.jar;C:\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -XX:MaxPermSize=256M -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    26/12/2013 11:09:23 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    26/12/2013 11:09:23 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source C:\jdevbin\jdev\appslibrt\xml.jar (from <library> in /C:/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source C:\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /C:/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in C:\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source C:\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /C:/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /C:/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in C:\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from WEB-INF/lib/ directory in C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same filename but is not identical to /C:/jdevbin/jdev/appslibrt/uix2.jar (from <library> in /C:/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 10061 ms.
    Target URL -- http://192.168.56.1:8988/OA_HTML/test_fwktutorial.jsp
    13/12/26 11:09:29 Oracle Containers for J2EE 10g (10.1.3.3.0)  initialized
    26/12/2013 11:09:44 oracle.jsp.logger.JspMessages infoCannotDispatchJspPage
    INFO: Unable to dispatch JSP Page : oracle.jsp.provider.JspCompileException: <H3>Errors compiling:C:\jdevhome\jdev\myclasses\.jsps\\_OA.java</H3><pre></pre>
        at oracle.jsp.app.JspJavacCompiler.compile(JspJavacCompiler.java:304)
        at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:731)
        at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:456)
        at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:413)
        at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:705)
        at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:694)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
        at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
        at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
        at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
        at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
        at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
        at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
        at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:595)

    Hi,
    i think you missed JDEV_HOME environment variable.
    below blog may help,
    Oracle Apps By Kishore: Steps to make JDeveloper Environment

  • Win98 - Unsatisfied Link Error with OCI

    I'm trying to install the JDBC 8.0.5 driver locally. I have "classes111.zip" in my CLASSPATH, and I've put "oci805jdbc.dll" and "oci805jdbc_g.dll" into C:\orawin95\BIN" (which is in my PATH). When I try to connect from Java, I get the following:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\orawin95\BIN\oci805jdbc.dll: One of the library files needed to run this application cannot be found.
    The docs say that this means I'm missing DLL's, but how do I find out which ones???
    Thanks in advance.
    Dave Lyons
    null

    OCI DRIVERS ALSO REQUIRE A CLIENT INSTALL MATCHING THE DRIVER VERSION NUMBER.
    734 OCI DLL WITH 734 CLIENT
    804 OCI DLL WITH 804 CLIENT
    805 OCI DLL WITH 805 CLIENT
    806 OCI DLL WITH 806 CLIENT
    815 OCI DLL WITH 815 CLIENT

  • Unsatisfied Link Error With OCI JDBC & 8i

    Does anyone know why I am getting a java.lang.UnsatisfiedLinkError when trying to connect to an Oracle 8i database using the OCI JDBC drivers? I have even tried copying all of the 8i dlls where the system can be sure to find them.
    Thank you for any help,
    Wynne Crisman
    [email protected]

    OCI DRIVERS ALSO REQUIRE A CLIENT INSTALL MATCHING THE DRIVER VERSION NUMBER.
    734 OCI DLL WITH 734 CLIENT
    804 OCI DLL WITH 804 CLIENT
    805 OCI DLL WITH 805 CLIENT
    806 OCI DLL WITH 806 CLIENT
    815 OCI DLL WITH 815 CLIENT

  • Linker Error during compiling ODBC WinCE C++_Sample Project

    I am devloping a ODBC application for PocketPC2003 using OLite 10g Release 10.3.0.2. before that i am understanding the sample application provided with Olite.
    I followed all the instructions provided in ReadMe.txt file available before using VC++ sample. After making all the settings and compiling i am getting following linker errors as mentioned below.
    Any solution for this problem at the earliest will be appreciated, i have tried link all the libraries provided with WinCE armv4.
    Linker Error Messages:
    Error     1     error LNK2019: unresolved external symbol SQLExecDirect referenced in function "public: virtual __cdecl CSQLResult::~CSQLResult(void)" (??1CSQLResult@@UAA@XZ)     dbaccess.obj     
    Error     2     error LNK2019: unresolved external symbol SQLFreeStmt referenced in function "public: virtual __cdecl CSQLResult::~CSQLResult(void)" (??1CSQLResult@@UAA@XZ)     dbaccess.obj     
    Error     3     error LNK2019: unresolved external symbol SQLGetData referenced in function "public: class CRowObj const * __cdecl CSQLResult::Fetch(int)" (?Fetch@CSQLResult@@QAAPBVCRowObj@@H@Z)     dbaccess.obj     
    Error     4     error LNK2019: unresolved external symbol SQLFetch referenced in function "public: class CRowObj const * __cdecl CSQLResult::Fetch(int)" (?Fetch@CSQLResult@@QAAPBVCRowObj@@H@Z)     dbaccess.obj     
    Error     5     error LNK2019: unresolved external symbol SQLFreeEnv referenced in function "public: void __cdecl COLiteDB::Disconnect(void)" (?Disconnect@COLiteDB@@QAAXXZ)     dbaccess.obj     
    Error     6     error LNK2019: unresolved external symbol SQLFreeConnect referenced in function "public: void __cdecl COLiteDB::Disconnect(void)" (?Disconnect@COLiteDB@@QAAXXZ)     dbaccess.obj     
    Error     7     error LNK2019: unresolved external symbol SQLDisconnect referenced in function "public: void __cdecl COLiteDB::Disconnect(void)" (?Disconnect@COLiteDB@@QAAXXZ)     dbaccess.obj     
    Error     8     error LNK2019: unresolved external symbol SQLConnect referenced in function "public: int __cdecl COLiteDB::Connect(void)" (?Connect@COLiteDB@@QAAHXZ)     dbaccess.obj     
    Error     9     error LNK2019: unresolved external symbol SQLAllocConnect referenced in function "public: int __cdecl COLiteDB::Connect(void)" (?Connect@COLiteDB@@QAAHXZ)     dbaccess.obj     
    Error     10     error LNK2019: unresolved external symbol SQLAllocEnv referenced in function "public: int __cdecl COLiteDB::Connect(void)" (?Connect@COLiteDB@@QAAHXZ)     dbaccess.obj     
    Error     11     error LNK2019: unresolved external symbol SQLError referenced in function "public: class CSQLResult * __cdecl COLiteDB::Execute(wchar_t const *)" (?Execute@COLiteDB@@QAAPAVCSQLResult@@PB_W@Z)     dbaccess.obj     
    Error     12     error LNK2019: unresolved external symbol SQLDescribeCol referenced in function "public: class CSQLResult * __cdecl COLiteDB::Execute(wchar_t const *)" (?Execute@COLiteDB@@QAAPAVCSQLResult@@PB_W@Z)     dbaccess.obj     
    Error     13     error LNK2019: unresolved external symbol SQLNumResultCols referenced in function "public: class CSQLResult * __cdecl COLiteDB::Execute(wchar_t const *)" (?Execute@COLiteDB@@QAAPAVCSQLResult@@PB_W@Z)     dbaccess.obj     
    Error     14     error LNK2019: unresolved external symbol SQLAllocStmt referenced in function "public: class CSQLResult * __cdecl COLiteDB::Execute(wchar_t const *)" (?Execute@COLiteDB@@QAAPAVCSQLResult@@PB_W@Z)     dbaccess.obj

    Hi,
    The OLITE forum (Database Mobile Server (inc. legacy Database Lite) would be a better place to post your issue. This forum deals with the ODBC driver that connects to a "normal" Oracle database.
    Hope it helps,
    Greg
    Edited by: gdarling on Nov 12, 2008 8:31 AM

  • I am getting an linker error LNK2001 : unresolved symbol _main while compiling Microsoft c code

    I am writng a simple application in C language for communicating with GPIB. when I compile the c file I am getting a linker error
    LIBC.lib(ctr0.obj): LNK2001 error: unresolved sysmbol _main
    I compile the application in the dos window using the command
    cl gpibApplication.c gpib-32.obj.
    Could anyone tell me how to remove this error

    Hello-
    It sounds like the main function is missing from the gpibApplication.c file. Be sure that the following function is somewhere in the code:
    int main (int argc, char *argv[])
    Also, note that this function is case sensitive, so be sure main is not capitalized.
    Randy Solomonson
    Application Engineer
    National Instruments

Maybe you are looking for

  • How do i add more memory to my mack book

    need help

  • Get error message

    When ever I go to use Adobe I get this message Windows cannot access the specified device, path, file. You may not have the appropiate permissions to access the items. I had version 7 and it used to work just fine. I tried to down load version 9. Now

  • What does it take to have a clean billing/exchange transaction?

    OK, it started with my repeated calls to tech support regarding my flaky HD-DVR (6xxx series). Finally I was told by the tech support to call the billing and ask for a replacement/exchange to the newer model (7xxx). I did that and asked the the CSR r

  • USB port power failure?

    I'm a user of Macbook Pro 13'' Early 2011, OS X Lion pre-installed. I'm having a tiny problem with my USB port located the nearest from the front. Everytime I freshly boot-up to either Mac OS X or Window with a pre-plugged optical mouse I cannot move

  • Error message ORA-06413

    We cannot find error message ORA-06413 in any message manual. To solve this kind of error what action whould be taken?