Libgpib.a(cib.o): In function `oserr', undefined reference to `errno'

Hi,
I just tried to compile my DAQ code using nigpib-0.8.3 using gcc3.2 on linux.
I get the following error:
/usr/local/nigpib/libgpib.a(cib.o): In function `oserr':
/home/dwilson/src/nigpib-0.8.2/Linux-x86/cib.c:59: undefined reference to `errno'
collect2: ld returned 1 exit status
I get the same error for nigpib-0.8.2
Any ideas?
Thanks a lot.
Wolfgang

Hi Wolfgang,
It seems that somehow the cib.c file had some extra information left over that caused the problem! Sorry. Just redownload the driver and you should be set!
Best Regards,
Aaron K.
Application Engineer
National Instruments

Similar Messages

  • 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.

  • Function Module Undefined during message mapping.

    Hi,
    My Scenario is Idoc to Multiple Files without any condition i have to drop 2 files at the 2 differient directories of  FTP,
    So we are using PI 7.1 and in the Message Mapping using Signature Tab we have added 2 Target messages and at the source we have used the IDOC.
    When we see the structure under Definition Tab in Message Mapping, We are facing the below error
    "FUNCTION MODEL UNDEFINED"
    So can anyone suggest what could be the problem, do i need to change any occurence in the signature tab for the message types else what shuld i do to get the structures in the Definiton Tab.
    Please suggest how to approach this..
    Thanks,
    --Kishore

    My Scenario is Idoc to Multiple Files without any condition i have to drop 2 files at the 2 differient directories of FTP,
    1. Use multi mapping - /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    2. use two different inbound interfaces, and do two different interface determination without conditions for the same receiver determination

  • Function model undefined

    Hi experts,
    yesterday I tried to open a message mapping definition in Enterprise Services Builder to continue working on it. But instead of showing the mapping definition there was only the error message "Function model undefined". Does anyone know what this means and what causes this error? How can I get back to the mapping again?
    Thanks in advance for all answers!
    Regards,
    Torben

    Hi Torben,
    Are you using any IDoc or RFC in your message mapping? If yes then try to re-import & activate them and then open your Message Mapping.
    Regards
    Suraj

  • Copy of Message Mapping between SW-Components: Function Module undefined

    Hi Gurus,
    we want to copy a Message Mapping from one Software Component to an other. We right click on it and say "copy to" and choose the Target Softwarecomponent and Namespace. When we say ok.. we got an error "Function Module Undefined (FUNCMODL_UNDEF)"
    Has anybody an idea what can be wrong?
    Big Thanks in Advance

    Hi Everybody. Thanks for your fast replies.
    I have played a bit with the PI System and ihave the following Situation
    SW-T (Target SWC)
    SW-A (Source A)
    SW-B  (Source B)
    SW-A Copy to SW-T without Dependencies --> Error Function Model Undefined
    SW-A Copy to SW-T with Dependecies --> It works correct
    SW-B Copy to SW-T without Dependencies --> It works correct.
    The Strange Thing is, if i Copy SW-A to SW-T without Dependencies i get the Error but a Message Mapping with the Correct Name is created, but it is empty. IT has no content. For me this looks like an Program Error?!??!

  • MuseJSAssert: Error calling selector function:TypeError: 'undefined' is not an object

    My Safari browser on my iPhone4s reads the following error when I visit my site www.premiercreativegroup.com:                   MuseJSAssert: Error calling selector function:TypeError: 'undefined' is not an object (evaluating 'this.elem.get(0).currentStyle').
    Not sure where to start on fixing this. Any ideas?

    You might to start by going to the Muse forum
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use

  • Adobe Muse error: "MuseJSAssert: Error calling selector function:TypeError: 'undefined' is not a function"

    Very frustrated here. I'm getting the following error on the home page on my Muse site. Looks like it could be the banner slider: "MuseJSAssert: Error calling selector function:TypeError: 'undefined' is not a function (evaluating 'a.watch("height",function(){b.height($(this).outerHeight())})')"
    When I click OK the error message goes away. Not a problem for me, but I can't have potential new customers seeing this when I show
    I see this error on Safari 6.1.2. I don't see the error on IE.
    I'm using the latest Muse CC 2014.
    Here's the site: www.optimumfitness.com
    Please help anyone. I've been building Muse sites for a long time and have never seen this problem.
    Thanks,
    Greg

    Hi,
    take a look to this thread, see if you get something usefil
    MuseJSAssert: Error calling selector function:TypeError: 'undefined' is not a function (evaluating '

  • Build cvm error: /UNIXProcess_md.c undefined reference to `__libc_wait'

    Hello,
    I used the follow command to build cvm in cdc:
    make CVM_DEBUG=true CVM_JAVABIN=$JAVA_HOME/bin
    CVM_GNU_TOOLS_PATH=/usr/bin
    The gcc's version is 2.95.3. J2SE version is J2SE 1.4. OS is Fedora 3. I got the following error message:
    Linking ../../build/linux-i686/bin/cvm
    ../../build/linux-i686/obj/UNIXProcess_md.o(.text+0x3ab): In function `sigchld_handler':
    /root/cdcfoundation/build/linux-i686/../../src/linux/native/java/lang/UNIXProcess_md.c:213: undefined reference to `__libc_wait'
    collect2: ld returned 1 exit status
    make: *** [../../build/linux-i686/bin/cvm] Error 1
    I think this problem relates to java and glibc library in redhat. Can someone give some propositions?
    Thanks a lot for help in advance!!
    zhiyong

    See here (original topic was double posted)
    http://forum.java.sun.com/thread.jspa?messageID=3528322&#3528322

  • PRO*C: undefined reference to sqlcxt

    Precompilation runs without error (proc test.pc).
    But Linker (after compiler-run) says:
    gcc -L/save/u01/app/oracle/product/815/lib
    -I/save/u01/app/oracle/product/815/precomp/public test.c
    /tmp/ccKOZqpD: In function `main':
    /tmp/ccKOZqpD(.text+0x1d7): undefined reference to `sqlcxt'
    /tmp/ccKOZqpD(.text+0x37b): undefined reference to `sqlcxt'
    bash-2.01$
    Looking up test.c I found a comment saying that sqlcxt is
    member of sqllib:
    /* SQLLIB Prototypes */
    extern sqlcxt (/*_ void **, unsigned int *,
    struct sqlexd *, struct sqlcxp * _*/);
    Unfortunately in library .../lib/sqllib I can3t find sqlcxt.
    No Problems running sqlplus, sqlload, exp, imp,...
    Anybody any idea why linking doesn3t work?
    Which library includes function sqlcxt?
    Thank You.
    null

    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

  • Error compiling OCCI example -  undefined reference

    Hello.
    I am having trouble linking a simple Oracle OCCI example using SunStudio 12 , Update 1 on RHEL 5.2 . This is the error.
    ~/demo]$ cat new.C
    #include<occi.h>
    using namespace oracle::occi;
    int main(){
    Environment *envr;
    envr=Environment::createEnvironment(Environment::DEFAULT);
    ~/demo]$ CC -L/apps/oracle/product/10.2.0/lib -I/apps/oracle/product/10.2.0/rdbms/public -locci -lclntsh new.C
    new.o: In function `main':
    new.C:(.text+0x64): undefined reference to `oracle::occi::Environment*oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode,void*,void*(*)(void*,unsigned long),void*(*)(void*,void*,unsigned long),void(*)(void*,void*))'
    The same example compiles and links with a warning with g++ . executable is created.
    ~/demo]$ g++34 -L/apps/oracle/product/10.2.0/lib -I/apps/oracle/product/10.2.0/rdbms/public -locci -lclntsh new.C
    /usr/bin/ld: warning: libstdc++.so.5, needed by /apps/oracle/product/10.2.0/lib/libocci.so, may conflict with libstdc++.so.6
    Any ideas what may be wrong here ?
    Edited by: machambi on Jun 24, 2010 1:56 PM

    Well, without being able to recreate it myself, I think I'm stumped. I figured it was a linking error based on the error message but the format of the error message isn't familiar to me. What platform is this being done on?
    Other things I would do to try to track down the issue (I'm sure you've probably done most of these, but just to be thorough):
    Verify that the ${ORACLE_HOME}/lib/libocci.a library exists and you have read access to it. It will often be a symbolic link to a versioned library such as ${ORACLE_HOME}/lib/libocci10.a. In our Oracle installation we have a ${ORACLE_HOME}/lib and an ${ORACLE_HOME}/lib32, and in our case the libocci.a file is actually installed in the lib32 directory. However, I doubt the library is missing otherwise you would get a library not found error instead, but I'm not sure what error you would get if you didn't have read permissions.
    Try linking it directly instead of going through CC.
    Use a command like:
    ~/demo]$ nm -C ${ORACLE_HOME}/lib/libocci.a |grep "::createEnvironment(oracle" to make sure the function can be found within the occi library and in the format the linker is looking for.
    Look over the man pages on your linker looking for clarification on how it locates libraries, if it looks in additional locations or if there are any environment variables that would effect the paths you provided on the command line.
    -Christian

  • Linker error----undefined reference to

    Hi
    i'm getting this error on linking ie on executing the command gcj --main=apps -o apps apps.o
    apps is the name of the file.....the code is compliling without error...
    Can anyone tell why this, 'undefined reference to......' error coming and how to correct it
    Here is the complete error msg...plz help
    [root@localhost ~]# gcj --main=apps -o apps apps.o
    apps.o: In function `javax::mail::PasswordAuthentication* SendMailUsingAuthentication$SMTPAuthenticator::getPasswordAuthentication()':
    apps.java:(.text+0x48cc): undefined reference to `javax::mail::PasswordAuthentication::class$'
    apps.java:(.text+0x48e9): undefined reference to `javax::mail::PasswordAuthentication::PasswordAuthentication(java::lang::String*, java::lang::String*)'
    apps.o: In function `SendMailUsingAuthentication$SMTPAuthenticator::SendMailUsingAuthentication$SMTPAuthenticator(SendMailUsingAuthentication*)':
    apps.java:(.text+0x490c): undefined reference to `javax::mail::Authenticator::Authenticator()'
    apps.o: In function `void SendMailUsingAuthentication::run()':
    apps.java:(.text+0x4ca5): undefined reference to `javax::mail::Session* javax::mail::Session::getDefaultInstance(java::util::Properties*, javax::mail::Authenticator*)'
    apps.java:(.text+0x4cd6): undefined reference to `void javax::mail::Session::setDebug(bool)'
    apps.java:(.text+0x4cdd): undefined reference to `javax::mail::internet::MimeMessage::class$'
    apps.java:(.text+0x4cfd): undefined reference to `javax::mail::internet::MimeMessage::MimeMessage(javax::mail::Session*)'
    apps.java:(.text+0x4d0d): undefined reference to `javax::mail::internet::InternetAddress::class$'
    apps.java:(.text+0x4d3c): undefined reference to `javax::mail::internet::InternetAddress::InternetAddress(java::lang::String*)'
    apps.java:(.text+0x4da1): undefined reference to `javax::mail::internet::InternetAddress::class$'
    apps.java:(.text+0x4de4): undefined reference to `javax::mail::internet::InternetAddress::class$'
    apps.java:(.text+0x4e13): undefined reference to `javax::mail::internet::InternetAddress::InternetAddress(java::lang::String*)'
    apps.java:(.text+0x4e82): undefined reference to `javax::mail::internet::InternetAddress::class$'
    apps.java:(.text+0x4ea5): undefined reference to `javax::mail::internet::InternetAddress::InternetAddress(java::lang::String*)'
    apps.java:(.text+0x4ee7): undefined reference to `javax::mail::Message$RecipientType::class$'
    apps.java:(.text+0x4ef1): undefined reference to `javax::mail::Message$RecipientType::TO'
    apps.java:(.text+0x4fb1): undefined reference to `void javax::mail::Transport::send(javax::mail::Message*)'
    apps.o:(.data+0x3168): undefined reference to `javax::mail::PasswordAuthentication* javax::mail::Authenticator::requestPasswordAuthentication(java::net::InetAddress*, int, java::lang::String*, java::lang::String*, java::lang::String*)'
    apps.o:(.data+0x316c): undefined reference to `java::net::InetAddress* javax::mail::Authenticator::getRequestingSite()'
    apps.o:(.data+0x3170): undefined reference to `int javax::mail::Authenticator::getRequestingPort()'
    apps.o:(.data+0x3174): undefined reference to `java::lang::String* javax::mail::Authenticator::getRequestingProtocol()'
    apps.o:(.data+0x3178): undefined reference to `java::lang::String* javax::mail::Authenticator::getRequestingPrompt()'
    apps.o:(.data+0x317c): undefined reference to `java::lang::String* javax::mail::Authenticator::getDefaultUserName()'
    apps.o:(.data+0x31f0): undefined reference to `javax::mail::Authenticator::class$'
    collect2: ld returned 1 exit status

    Double-post

  • Linker error in c++ -- undefined reference to `vtable for String'

    While linking cpp file : wrapGetRndAmt.cpp which is below:
    wrapGetRndAmt.cpp .....
    #include <iostream.h>
    #include "archinfo.h"
    #include "syscodes.h"
    #include "currency_directory.h"
    extern MESSAGE_TYPE SetMemMarker();
    extern MESSAGE_TYPE FreeMemBlock();
    extern "C" int dm_login();
    extern "C" int dm_commit();
    extern "C" int dm_rollback();
    //extern MESSAGE_ARRAY *messageArray;
    struct tpsvcInfo *funcAry;
    /* Wrapper function to apply rounding rule (to the amount)*/
    int wrapGetRndAmt(char * ou_id, char * currency , double& amount)
    SetMemMarker();
    int rndng_rule=0;
    double rndng_val=0.0;
    double l_rtrnCode=0.0;
    double l_tmp=0.0;
    String * s_curr = new String(currency); ///This is the call of the String
    The error coming is:
    /home/gcrmdev/3.5/B/lib/h/xlstring.h:54: undefined reference to `vtable for String'
    /home/gcrmdev/3.5/B/lib/h/xlstring.h:54: undefined reference to `vtable for String'
    Header file is below:
    xlstring.h
    #ifdef SOLARIS
    11 #include "mystring.h"
    12 #else
    13 #include <string.h>
    14 #endif
    15 #include "xdr.h"
    16 #include <cppdefs.h>
    17 /* added by prabhat */
    18 #include "bglb.h"
    19 /* added by prabhat ends */
    20
    21 /*
    22 *-----------------------------------------------------------------------------
    23 * CLASS : String
    24 * PURPOSE : For performing all string operation
    25 * BASE CLASS : Object
    26 * PARENT CLASS : Object
    27 * COMMENT :
    28 * HISTORY :
    29 *-----------------------------------------------------------------------------
    30 */
    31 class String : public CppObj {
    32 int len;
    33 char *s;
    34
    35 public:
    36
    37 int operator == (const String &s1){ return strcmp(s,s1.s) ? 0 : 1;}
    38 int operator==(const Object &o)
    39 {
    40 return ( strcmp ( Type() , o.Type() ) == 0 )
    41 ? operator ==( ( const String &)o)
    42 : 0 ;
    43 }
    44 int operator != (const String &s1){ return strcmp(s,s1.s) ? 1 : 0;}
    45 int operator < (const String &s1){ return ( strcmp(s,s1.s) < 0 ) ? 1 : 0;}
    46 int operator <= (const String &s1){ return ( strcmp(s,s1.s) <= 0 ) ? 1 : 0;}
    47 int operator > (const String &s1){ return ( strcmp(s,s1.s) > 0 ) ? 1 : 0;}
    48 int operator >= (const String &s1){ return ( strcmp(s,s1.s) >= 0 ) ? 1 : 0;}
    49 operator String *() const { return new String( s ); }
    50 /* INT4 Length( INT4 & l ) const { l = len; return len; } */
    51 MESSAGE_TYPE Length( INT4 & l ) const { l = len; return XL_SUCCESS; }
    52 INT4 Length() const { return len; }
    53 /* DelhiPuneSync Changes : to take care of memAlloc fail */
    54 String( char const *s1) {
    55 if ( s1 == NULL) return;
    56 s = (char *)memAlloc((len = strlen(s1))+1);
    57 if (s != NULL)
    58 strcpy(s,s1);
    59 }
    Can someone help why this error is coming??
    Thanks is advance.
    Arabinda

    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

  • Again with the Environment::createEnvironment undefined reference

    Gentlemen,
    I've read through your posts on how to fix this item. However, none of your suggestions have worked.
    So using the simple make of the rdbms demo program I ran this:
    sudo make -f demo_rdbms.mk buildocci EXE=exename OBJS=occidml.o
    and got this:
    /usr/bin/g++ -c -I/u01/app/oracle/product/9.2.0.5/rdbms/demo -I/u01/app/oracle/product/9.2.0.5/rdbms/public -I/u01/app/oracle/product/9.2.0.5/plsql/public -I/u01/app/oracle/product/9.2.0.5/network/public occidml.cpp
    /usr/bin/g++ -L/u01/app/oracle/product/9.2.0.5/lib/ -L/u01/app/oracle/product/9.2.0.5/rdbms/lib/ -o exename occidml.o -locci -lclntsh `cat /u01/app/oracle/product/9.2.0.5/lib/sysliblist` -ldl -lm
    occidml.o(.gcc_except_table+0x100): undefined reference to `typeinfo for oracle::occi::SQLException'
    occidml.o(.gcc_except_table+0x150): undefined reference to `typeinfo for oracle::occi::SQLException'
    occidml.o(.gcc_except_table+0x1a8): undefined reference to `typeinfo for oracle::occi::SQLException'
    occidml.o(.gcc_except_table+0x200): undefined reference to `typeinfo for oracle::occi::SQLException'
    occidml.o(.gcc_except_table+0x25c): undefined reference to `typeinfo for oracle::occi::SQLException'
    occidml.o(.gnu.linkonce.t._ZN7occidmlC1ESsSsSs+0x20): In function `occidml::occidml(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, void*, void* (*)(void*, unsigned int), void* (*)(void*, void*, unsigned int), void (*)(void*, void*))'
    occidml.o(.gnu.linkonce.t._ZN7occidmlD1Ev+0x2e): In function `occidml::~occidml()':
    : undefined reference to `oracle::occi::Environment::terminateEnvironment(oracle::occi::Environment*)'
    occidml.o(.gnu.linkonce.t._ZN7occidml10insertBindEiSs+0x1cf): In function `occidml::insertBind(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::SQLException(oracle::occi::SQLException const&)'
    occidml.o(.gnu.linkonce.t._ZN7occidml10insertBindEiSs+0x20f): In function `occidml::insertBind(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::getErrorCode() const'
    occidml.o(.gnu.linkonce.t._ZN7occidml10insertBindEiSs+0x252): In function `occidml::insertBind(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::getMessage() const'
    occidml.o(.gnu.linkonce.t._ZN7occidml10insertBindEiSs+0x2ae): In function `occidml::insertBind(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    occidml.o(.gnu.linkonce.t._ZN7occidml10insertBindEiSs+0x2c2): In function `occidml::insertBind(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    occidml.o(.gnu.linkonce.t._ZN7occidml9insertRowEv+0x18f): In function `occidml::insertRow()':
    : undefined reference to `oracle::occi::SQLException::SQLException(oracle::occi::SQLException const&)'
    occidml.o(.gnu.linkonce.t._ZN7occidml9insertRowEv+0x1cf): In function `occidml::insertRow()':
    : undefined reference to `oracle::occi::SQLException::getErrorCode() const'
    occidml.o(.gnu.linkonce.t._ZN7occidml9insertRowEv+0x212): In function `occidml::insertRow()':
    : undefined reference to `oracle::occi::SQLException::getMessage() const'
    occidml.o(.gnu.linkonce.t._ZN7occidml9insertRowEv+0x26e): In function `occidml::insertRow()':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    occidml.o(.gnu.linkonce.t._ZN7occidml9insertRowEv+0x282): In function `occidml::insertRow()':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    occidml.o(.gnu.linkonce.t._ZN7occidml9updateRowEiSs+0x1cf): In function `occidml::updateRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::SQLException(oracle::occi::SQLException const&)'
    occidml.o(.gnu.linkonce.t._ZN7occidml9updateRowEiSs+0x20f): In function `occidml::updateRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::getErrorCode() const'
    occidml.o(.gnu.linkonce.t._ZN7occidml9updateRowEiSs+0x252): In function `occidml::updateRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::getMessage() const'
    occidml.o(.gnu.linkonce.t._ZN7occidml9updateRowEiSs+0x2ae): In function `occidml::updateRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    occidml.o(.gnu.linkonce.t._ZN7occidml9updateRowEiSs+0x2c2): In function `occidml::updateRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    occidml.o(.gnu.linkonce.t._ZN7occidml9deleteRowEiSs+0x1cf): In function `occidml::deleteRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::SQLException(oracle::occi::SQLException const&)'
    occidml.o(.gnu.linkonce.t._ZN7occidml9deleteRowEiSs+0x20f): In function `occidml::deleteRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::getErrorCode() const'
    occidml.o(.gnu.linkonce.t._ZN7occidml9deleteRowEiSs+0x252): In function `occidml::deleteRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::getMessage() const'
    occidml.o(.gnu.linkonce.t._ZN7occidml9deleteRowEiSs+0x2ae): In function `occidml::deleteRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    occidml.o(.gnu.linkonce.t._ZN7occidml9deleteRowEiSs+0x2c2): In function `occidml::deleteRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    occidml.o(.gnu.linkonce.t._ZN7occidml14displayAllRowsEv+0x234): In function `occidml::displayAllRows()':
    : undefined reference to `oracle::occi::SQLException::SQLException(oracle::occi::SQLException const&)'
    occidml.o(.gnu.linkonce.t._ZN7occidml14displayAllRowsEv+0x274): In function `occidml::displayAllRows()':
    : undefined reference to `oracle::occi::SQLException::getErrorCode() const'
    occidml.o(.gnu.linkonce.t._ZN7occidml14displayAllRowsEv+0x2b7): In function `occidml::displayAllRows()':
    : undefined reference to `oracle::occi::SQLException::getMessage() const'
    occidml.o(.gnu.linkonce.t._ZN7occidml14displayAllRowsEv+0x313): In function `occidml::displayAllRows()':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    occidml.o(.gnu.linkonce.t._ZN7occidml14displayAllRowsEv+0x327): In function `occidml::displayAllRows()':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `cerr'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__pure_virtual'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `exception type_info function'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__cp_push_exception'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `endl(ostream &)'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__uncatch_exception'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__out_of_range(char const *)'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__rtti_user'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__ctype_toupper'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__rtti_si'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__check_eh_spec'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__throw'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `ostream::operator<<(char const *)'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `terminate(void)'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__start_cp_handler'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__cp_pop_exception'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `exception type_info node'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__builtin_vec_new'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__eh_rtime_match'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__length_error(char const *)'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__builtin_vec_delete'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `exception virtual table'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__rtti_class'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__builtin_delete'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__builtin_new'
    /u01/app/oracle/product/9.2.0.5/lib//libocci.so: undefined reference to `__eh_alloc'
    collect2: ld returned 1 exit status
    make: *** [buildocci] Error 1
    so thinking I've got library problems I ran this:
    nm libocci.so:
    nm: libocci.so: no symbols,
    forgoing any particular program, I get this on 3 different programs here is a much simpler output from a personal copy of occidml.cpp, I ran this:
    /usr/bin/g++ -I$ORACLE_HOME/rdbms/demo -I$ORACLE_HOME/rdbms/public -L/home/gsmith/lib -t -o testcppora main.cpp -locci -lclntst9
    and got this:
    /tmp/ccVtuhIM.o(.gcc_except_table+0x104): undefined reference to `typeinfo for oracle::occi::SQLException'
    /tmp/ccVtuhIM.o(.gcc_except_table+0x15c): undefined reference to `typeinfo for oracle::occi::SQLException'
    /tmp/ccVtuhIM.o(.gcc_except_table+0x1b8): undefined reference to `typeinfo for oracle::occi::SQLException'
    /tmp/ccVtuhIM.o(.gcc_except_table+0x214): undefined reference to `typeinfo for oracle::occi::SQLException'
    /tmp/ccVtuhIM.o(.gcc_except_table+0x278): undefined reference to `typeinfo for oracle::occi::SQLException'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidmlC1ESsSsSs+0x20): In function `occidml::occidml(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, void*, void* (*)(void*, unsigned int), void* (*)(void*, void*, unsigned int), void (*)(void*, void*))'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidmlD1Ev+0x2e): In function `occidml::~occidml()':
    : undefined reference to `oracle::occi::Environment::terminateEnvironment(oracle::occi::Environment*)'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml10insertBindEiSs+0x10): In function `occidml::insertBind(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml10insertBindEiSs+0x1d8): In function `occidml::insertBind(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::SQLException(oracle::occi::SQLException const&)'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml10insertBindEiSs+0x218): In function `occidml::insertBind(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::getErrorCode() const'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml10insertBindEiSs+0x25b): In function `occidml::insertBind(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::getMessage() const'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml10insertBindEiSs+0x2b7): In function `occidml::insertBind(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml10insertBindEiSs+0x2cb): In function `occidml::insertBind(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml10insertBindEiSs+0x342): In function `occidml::insertBind(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml10insertBindEiSs+0x35f): In function `occidml::insertBind(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9insertRowEv+0x10): In function `occidml::insertRow()':
    : undefined reference to `oracle::occi::SQLException::SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9insertRowEv+0x198): In function `occidml::insertRow()':
    : undefined reference to `oracle::occi::SQLException::SQLException(oracle::occi::SQLException const&)'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9insertRowEv+0x1d8): In function `occidml::insertRow()':
    : undefined reference to `oracle::occi::SQLException::getErrorCode() const'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9insertRowEv+0x21b): In function `occidml::insertRow()':
    : undefined reference to `oracle::occi::SQLException::getMessage() const'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9insertRowEv+0x277): In function `occidml::insertRow()':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9insertRowEv+0x28b): In function `occidml::insertRow()':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9insertRowEv+0x302): In function `occidml::insertRow()':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9insertRowEv+0x31f): In function `occidml::insertRow()':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9updateRowEiSs+0x10): In function `occidml::updateRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9updateRowEiSs+0x1d8): In function `occidml::updateRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::SQLException(oracle::occi::SQLException const&)'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9updateRowEiSs+0x218): In function `occidml::updateRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::getErrorCode() const'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9updateRowEiSs+0x25b): In function `occidml::updateRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::getMessage() const'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9updateRowEiSs+0x2b7): In function `occidml::updateRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9updateRowEiSs+0x2cb): In function `occidml::updateRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9updateRowEiSs+0x342): In function `occidml::updateRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9updateRowEiSs+0x35f): In function `occidml::updateRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9deleteRowEiSs+0x10): In function `occidml::deleteRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9deleteRowEiSs+0x1d8): In function `occidml::deleteRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::SQLException(oracle::occi::SQLException const&)'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9deleteRowEiSs+0x218): In function `occidml::deleteRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::getErrorCode() const'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9deleteRowEiSs+0x25b): In function `occidml::deleteRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::getMessage() const'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9deleteRowEiSs+0x2b7): In function `occidml::deleteRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9deleteRowEiSs+0x2cb): In function `occidml::deleteRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9deleteRowEiSs+0x342): In function `occidml::deleteRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml9deleteRowEiSs+0x35f): In function `occidml::deleteRow(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml14displayAllRowsEv+0x10): In function `occidml::displayAllRows()':
    : undefined reference to `oracle::occi::SQLException::SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml14displayAllRowsEv+0x23d): In function `occidml::displayAllRows()':
    : undefined reference to `oracle::occi::SQLException::SQLException(oracle::occi::SQLException const&)'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml14displayAllRowsEv+0x27d): In function `occidml::displayAllRows()':
    : undefined reference to `oracle::occi::SQLException::getErrorCode() const'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml14displayAllRowsEv+0x2c0): In function `occidml::displayAllRows()':
    : undefined reference to `oracle::occi::SQLException::getMessage() const'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml14displayAllRowsEv+0x31c): In function `occidml::displayAllRows()':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml14displayAllRowsEv+0x330): In function `occidml::displayAllRows()':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml14displayAllRowsEv+0x3c5): In function `occidml::displayAllRows()':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /tmp/ccVtuhIM.o(.gnu.linkonce.t._ZN7occidml14displayAllRowsEv+0x3e2): In function `occidml::displayAllRows()':
    : undefined reference to `oracle::occi::SQLException::~SQLException()'
    /usr/bin/ld: link errors found, deleting executable `testcppora'
    /usr/bin/ld: mode elf_i386
    /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../crt1.o
    /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../crti.o
    /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/crtbegin.o
    /tmp/ccVtuhIM.o
    -lstdc++ (/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/libstdc++.so)
    -lm (/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libm.so)
    -lgcc_s (/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/libgcc_s.so)
    /lib/libc.so.6
    (/usr/lib/libc_nonshared.a)elf-init.oS
    -lgcc_s (/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/libgcc_s.so)
    /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/crtend.o
    /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../crtn.o
    collect2: ld returned 1 exit status
    I've dug through the ld and gcc/g++ parameters and found nothing or create more linking problems. Someone suggested that the install of 9.2.0.5 Oracle C++ did not complete correctly...so I've asked our DBAs to see if they can relink that portion.
    If anyone has any other thoughts it would be greatly appreciated.
    Jerry.

    looks like you are using the wrong compiler. I think you should use gcc2.96 with OCCI 9.2.

  • CC -xlang=f90 error: undefined reference to `_Qgt'

    I am trying to use SS12u1 to build a project in which a C++ main calls f90 subroutines. I compile all the object files separately, with their relevant compilers, and then I try to link with CC -xlang=f90. The result is
    tmp$ CC -xlang=f90 test.o doit.o
    /opt/SunStudio12u1-Linux-x86-tar-ML/sunstudio12.1/prod/lib/libfsu.a(io.o): In function `Q_GT':
    io.c:(.text+0x11b9): undefined reference to `_Qgt'
    /opt/SunStudio12u1-Linux-x86-tar-ML/sunstudio12.1/prod/lib/libfsu.a(io.o): In function `Q_GE':
    io.c:(.text+0x1205): undefined reference to `_Qge'
    /opt/SunStudio12u1-Linux-x86-tar-ML/sunstudio12.1/prod/lib/libfsu.a(io.o): In function `Q_LT':
    io.c:(.text+0x1251): undefined reference to `_Qlt'
    /opt/SunStudio12u1-Linux-x86-tar-ML/sunstudio12.1/prod/lib/libfsu.a(io.o): In function `Q_SUB':
    io.c:(.text+0x12a1): undefined reference to `_Qsub'
    /opt/SunStudio12u1-Linux-x86-tar-ML/sunstudio12.1/prod/lib/libfsu.a(io.o): In function `Q_DIV':
    io.c:(.text+0x1311): undefined reference to `_Qdiv'
    /opt/SunStudio12u1-Linux-x86-tar-ML/sunstudio12.1/prod/lib/libfsu.a(io.o): In function `Q_MUL':
    io.c:(.text+0x1381): undefined reference to `_Qmul'
    The missing entry points are in libsunquad.a, but placing -lsunquad on the link line doesn't change the behavior.
    How can I successfully link?

    The problem you describe is a bug in the CC driver. Please
    report the bug.
    You are correct that the program needs to link with the
    library libsunquad.a. The easiest workaround is probably
    to spell out the full pathname for libsunquad.a on the
    link line.
    Bob Corbett

  • Occi 11.1 Error on compile: undefined reference to `oracle::occi::Enviro...

    I'm trying to compile an hello world example on my computer. I've read the documentation for requirements occi on the site
    http://docs.oracle.com/cd/E11882_01/install.112/e24322/pre_install.htm#CHDHFGBJ
    It says that the g++ compiler 3.4.6 or later is supported. I have:
    Ubuntu 12.04
    gcc 4.6.3
    oracle instant client 11.2
    and the error is below, does anyone have a suggestion?
    g++ main.cpp -c -I/home/tim/skrivbord/bin/oracle/instantclient_11_2/include/ -D_REENTRANT -g -Wall
    g++ -o pippo -L/home/tim/skrivbord/bin/oracle/instantclient_11_2/ -locci -lclntsh -lociei -lnnz11 main.o
    main.o: In function `main':
    /home/tim/skrivbord/dev/cpp/main.cpp:21: undefined reference to `oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, void*, void* (*)(void*, unsigned int), void* (*)(void*, void*, unsigned int), void (*)(void*, void*))'
    collect2: ld returned 1 exit status
    make: *** [buildocci] Error 1
    main.cpp:
    #include <iostream>
    #include <occi.h>
    using namespace std;
    using namespace oracle::occi;
    int main(){
    Environment *environment;
    environment = Environment::createEnvironment();
    return 0;
    }

    For correctness I will close this question. I had made some errors with my environment variables LD_LIBRARY_PATH and specially I did not have libaio installed which is well documented that it has to be.

Maybe you are looking for

  • I am trying to use the T. S. operator interface I need to add pass fail and error

    Hello: I  am using Labview 6.1 and Test Stand 2.0 I have made some modification to a copy of the T.S. Labview operator interface. How do I get the pass/fail or error from test stand to be pass to LabView so I can tell the operator that the unit pass

  • Applet not Working.Why???

    I have written an applet program but it does not work It works when i did it as an application. I have installed JAVA plug in.The HTML and Applet codes are in the same directory as JDK The web browser comes up with a grey area & the following message

  • Combo box in javascript

    I have a combo box (combo1), and on changing the value selected in it, a second combo box (combo 2) is displayed on the screen. I need to be able to add some java script code for Combo2, as depending on the value selected in it, some further action h

  • InDesign CS5 - PDF Book Flow

    I am in the process of creating an InDesign book that is meant to be viewed as web-only. They are facing pages as the design requires the pages to be viewed side by side. There is a problem, though, with the chapters that have an uneven amount of pag

  • Tables and views relevant to concurrent program parameters

    I'd like to know all the tables and views relevant to concurrent program parameters. As far as I know, fnd_descr_flex_col_usage_vl, fnd_flex_value_sets, and fnd_parameters are such kind of tables or views. They can not provide enough information I wa