C Code NI-VISA linker error

I wrote the following C command to pass SCPI commands to Rohde&Schwarz FSL
#define NIVISA_PXI
#include <visa.h>
#define MAX_CNT 200
int main(void)
ViStatus status; /* For checking errors */
ViSession defaultRM, instr; /* Communication channels */
ViUInt32 retCount; /* Return count from string I/O */
ViChar buffer[MAX_CNT]; /* Buffer for string I/O */
status = viOpenDefaultRM(&defaultRM);
if (status < VI_SUCCESS)
return -1;
status = viWrite(instr, "*RST", 6, &retCount);
status = viClose(instr);
status = viClose(defaultRM);
return 0;
I am getting linker errors.   [Linker error] undefined reference to `viOpenDefaultRM@4' 
I use Bloodshed Dev C++ . I have included the header files from the VXIPNP folder to the include folder od Dev C++. It had 11 files.it had 4 header files visa.h, visatype.h, vpptype.h and rsfsp.h
Do i need to install any header file or libraries? Please help, this is the first time I am using VISA.H 
Solved!
Go to Solution.

[root@localhost raavan]# gcc main.c -L /usr/local/lib/libvisa.so
/tmp/ccKHyQta.o: In function `sendscpi':
main.c: (.text+0x2e): undefined reference to `viWrite'
/tmp/ccKHyQta.o: In function `main':
main.c: (.text+0x52): undefined reference to `viOpenDefaultRM'
main.c: (.text+0x99): undefined reference to `viOpen'
main.c: (.text+0xbb): undefined reference to `viSetAttribute'
main.c: (.text+0xd9): undefined reference to `viClose'
main.c: (.text+0xeb): undefined reference to `viClose'
collect2: ld returned 1 exit status
contents of main.c are:
 #include "visa.h"
#include "stdio.h"
#include "string.h"
#define MAX_CNT 200
char scpi[50]; /*To store the SCPI commands*/
ViStatus status; /* For checking errors */
ViSession defaultRM, instr; /* Communication channels */
ViUInt32 retCount; /* Return count from string I/O */
ViChar buffer[MAX_CNT]; /* Buffer for string I/O */
void sendscpi (char *s)  
     status = viWrite(instr, (ViBuf)s, strlen (s), &retCount);
int main(void)
/* Begin by initializing the system*/
status = viOpenDefaultRM(&defaultRM);
if (status < VI_SUCCESS) {
return -1;
/* Open communication with TCPIP Device at Primary Addr FSL (192.168.186.107)*/
status = viOpen(defaultRM, "192.168.186.107", VI_NULL, VI_NULL,&instr);
/* Set the timeout for message-based communication*/
status = viSetAttribute(instr, VI_ATTR_TMO_VALUE, 5000);
/* Send SCPI commands for the test case */
sendscpi ("*RST" ) ;
/* Close down the system */
status = viClose(instr);
status = viClose(defaultRM);
return 0;
Please help!
Message Edited by rohit_rs on 03-12-2009 07:04 AM
Message Edited by rohit_rs on 03-12-2009 07:04 AM

Similar Messages

  • Old visa open, error code 1073807343, using VISA with a GPIB device, and VISA resource names

    Hi everyone,
    I'm trying to get a SRS model SR720 LCR meter (manual on this page) working with LabView, connecting it to my PC with an Agilent 82357A GPIB/USB interface (manual on this page). I'm running MAX version 14.0, and NI-VISA version 14.0. I'm running LabView version 13.0f2, 32 bit.
    I followed the directions on this page, and I'm pretty confident I can communicate with my LCR meter, because I can go to NI MAX->GPIB0::17::INSTR under "devices and interfaces", then go to the VISA test panel, go to the I/O tab, and I can enter a few commands from the SR720 manual, like changing the frequency, and I see the light on the LCR meter change to what I just told it to do. Here is a picture, just to illustrate it:
    Also, if I do the *IDN? command, it returns "
    9: Write Operation (*IDN?)
    Return Count: 5 bytes
    10: Read Operation
    Return Count: 41 bytes
    StanfordResearchSystems,SR720,08087,1.03\n
     So, that's good too. I also made the alias of this device "MyLCRmeter", but that shouldn't matter for now.
    Now I'm trying to get it to work in a more usable way. The SR7xx drivers that LabView found for me came with a couple sample programs, one called "Getting Started.vi". I tried to just simply see if it worked, changing the "instrument descriptor" field to "GPIB0::17::INSTR", since that's the one that seemed to be the right device in MAX. Here is a picture of the front panel of "Getting Started.vi":
    Trying to run it like this gave me this error (code -1073807343):
    Old VISA Open in SR715/720 Initialize.vi->SR715/720 Getting Started.vi
    Doing a bit of searching on these forums, I found these few threads (1 2 3), which seem to tell me that, since this program was written, the way you open VISA has changed. In the 2nd of those links, one guy said:
    You just have to replace the Old VISA Open function with the VISA Open that is on the Instrument I/O>VISA>VISA Advanced palette. When you do that, the wire to the string that was used for the resource name will be broken. Delete the string and make the actual VISA Resource Name visible on the front panel. Wire the VISA Resource Name control to the connector pane where the string control was (upper left connection).
    So, I went into the sub-VI Initialize.vi, and did that. Here is a picture of what the front panel and block diagram of the sub-VI Initialize2.vi (I changed the name in case I screwed things up, but I'm pretty sure the new one is the one being called by Getting Started.vi) looked like before I changed anything (you can see the Old VISA Open):
    and here it is after replacing that with the regular VISA Open, deleting the instrument descriptor string and replacing it with a VISA resource, and connecting that to the VISA Open:
    However, as you can see in the image above, and it seems like someone else had this problem in the 2nd thread linked above, I don't see my device listed in the drop-down menu (even if I refresh), only "LPT1" (I don't even know what that is):
    No, I wasnt able to select the visa resource from the pull down menu. somehow it seems disabled or something.
     If I just enter the VISA resource name from MAX manually, GPIB0::17::INSTR, and save and try running that, I get the error(code -1073807346):
    VISA Open in SR715/720 Initialize2.vi->SR715/720 Getting Started.vi
    So I'm not sure where to go from there, or why it's not in the drop down menu to begin with. I'm sorry if I've missed something but I've searched about as far as I can go. If I had to guess, maybe one thing could be that in MAX, under Tools->NI-VISA->VISA Options->My System->Conflict manager, I have both Agilent VISA and NI VISA enabled; I know sometimes problems arise from conflicts between different software fighting over the same hardware. Is this okay, or do I need to change it?
    Thank you and please let me know if there is any other code/screenshots I could provide that could help!

    Hi, I did indeed enable NiVisaTulip.dll under MAX->Tools->NI-VISA->VISA Options->My system->Passports->List of passports. Sorry, I should have mentioned that explicitly.
    By install as primary, do you just mean as it is here, where it is selected as the "Preferred VISA"?
    Or somewhere else? I installed NI-VISA first I believe, and then the Agilent one, and during the installation of the Agilent one, I'm pretty sure I made it not the primary. Here's what I have in the Agilent (it's called Keysight now) Connection Expert software:
    I also have this under the "Keysight 488 options" tab:
    Should that be checked? I don't actually know the role of VISA vs 488 here...
    What could I try?
    Thank you!

  • 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

  • I'm trying to update my Photoshop CS5, but continue to receive the same problem every time. The application manager update dialogue box simply states "some updates failed to install." There's no specific error code, but a link to contact support for furth

    I'm trying to update my Photoshop CS5, but continue to receive the same problem every time. The application manager update dialogue box simply states "some updates failed to install." There's no specific error code, but a link to contact support for further assistance. It doesn't take me to customer support, but does take me to a screen which states. "Error "This serial number is not for a qualifying product." I've checked my account and the product serial number is associated with my account., so I don't see any problem.  I have not been able to find a resolution to this problem, so I hope that someone can point me in the right direction.  Thank you!

    update directly, Product updates

  • An error encounter on test devise (real devise) i.e "apple mach -o linker error linker command failed with exit code 1", please any body help me to solve the problem

    Hello, I am using tesseract api in my app, which run perfectly on simulator but on test devise (real devise) it is showing an error i.e "apple mach -o linker error linker command failed with exit code 1", please any body help me to solve the problem

    if you can't compile the webutil.pll in your forms developer you need to set the forms_builder_classpath in you windows registry. You have to add the frmwebutil.jar,jacob.jar to the registry key. The configuration files you mention are for running the forms.

  • Getting Linker errors while porting InDesign CC plugin code to InDesign CC 2014

    Hello,
    I am getting following linker errors during porting of plugin code from InDesign CC to InDesign CC 2014
    > PlugInStatics.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAAEBVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'posix_category''(void)" (??__Eposix_category@system@boost@@YAXXZ)
    > PlugInStatics.obj : error LNK2019: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAAEBVerror_category@12@XZ) referenced in function "void __cdecl boost::system::`dynamic initializer for 'native_ecat''(void)" (??__Enative_ecat@system@boost@@YAXXZ)
    I am using following environment :
    OS : Windows 7 SP1 (64bit)
    Visual Studio : VS 2013 with platform tool set = Visual Studio 2010 (v100)
    InDesign SDK : InDesign CC 2014 plugin SDK (070)
    Boost Libraries : 1.55
    I have added external boost library paths in visual studio -> Linker properties -> Additional Library paths, still above linker errors persists, can someone help ?
    Thanks,
    -Harsh.

    Hello Bartek,
    Your answer resolved similar linker errors I faced while porting InDesign plug-ins from CC to CC 2014.
    I added the macro - BOOST_SYSTEM_NO_DEPRECATED to the Preprocessor Definitions in VS 2012 SP4 and the build succeeded.
    The second option of adding the macros - BOOST_ALL_DYN_LINK;BOOST_REGEX_USE_CPP_LOCALE;BOOST_REGEX_RECURSIVE;BOOST_HAS_ICU=1;BOOST_ FILESYSTEM_VERSION=3;BOOST_CHRONO_HEADER_ONLY;BOOST_SIGNALS_NO_DEPRECATION_WARNING; did not work for me.
    Can you explain why this linker error showed up? And how the macro solved it?
    Thanks,
    Vijayasri

  • Gettling linker error:LNK2001 while porting InDesign CS6 plugin code to InDesign CC plugin

    Hello,
    I am working on porting our existing InDesign CS6 plugin code to support InDesign CC plugin (client plugin on Windows platform)
    The plugin code gets compiled successfully after makeing neccessory code (API) changes but now gettling following linker error
    StackListBoxTVWidgetMgr.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: long __thiscall NodeID::GetNodeType(void)const " (__imp_?GetNodeType@NodeID@@QBEJXZ)
    IBClientPluginDialogController.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall DVHostedWidgetEH::AddRef(void)const " (?AddRef@DVHostedWidgetEH@@UBEXXZ)
    I have checked every configuration setting, all the paths to include headers and static libraries are pointing to InDesign CC SDK.
    Note : Getting these linker errors in all the UI component class objects where following interfaces are inherited :
    CTreeViewWidgetMgr
    CIDEditBoxEventHandler
    etc.
    Build Environment :  Windows 7 ultimate + Visual Studio 2010 SP1 + InDesign CC Products SDK Build 244

    Try including DV_WidgetBin.lib.

  • Linking error - JNI code

    Hi
    I am new to JNI.
    I am getting linking error as below:
    --------------------Configuration: InvokeJava - Win32 Debug--------------------
    Compiling...
    invoke.c
    invoke.obj : error LNK2001: unresolved external symbol __imp__JNI_CreateJavaVM@12
    invoke.exe : fatal error LNK1120: 1 unresolved externals
    Error executing cl.exe.
    InvokeJava.exe - 2 error(s), 0 warning(s)
    Please help me.
    Code is pasted below:
    #include<stdlib.h>
    #include <jni.h>
    #define PATH_SEPARATOR ';' /* define it to be ':' on Solaris */
    #define USER_CLASSPATH "." /* where Prog.class is */
    main() {
         JNIEnv *env;
         JavaVM *jvm;
         jint res;
         jclass cls;
         jmethodID mid;
         jstring jstr;
         jclass stringClass;
         jobjectArray args;
    #ifdef JNI_VERSION_1_2
         JavaVMInitArgs vm_args;
         JavaVMOption options[1];
         options[0].optionString =
              "-Djava.class.path=" USER_CLASSPATH;
         vm_args.version = 0x00010002;
         vm_args.options = options;
         vm_args.nOptions = 1;
         vm_args.ignoreUnrecognized = JNI_TRUE;
         /* Create the Java VM */
         res = JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);
    #else
         JDK1_1InitArgs vm_args;
         char classpath[1024];
         vm_args.version = 0x00010001;
         JNI_GetDefaultJavaVMInitArgs(&vm_args);
         /* Append USER_CLASSPATH to the default system class path */
         sprintf(classpath, "%s%c%s",
              vm_args.classpath, PATH_SEPARATOR, USER_CLASSPATH);
         vm_args.classpath = classpath;
         /* Create the Java VM */
         res = JNI_CreateJavaVM(&jvm, &env, &vm_args);
    #endif /* JNI_VERSION_1_2 */
         if (res < 0) {
              fprintf(stderr, "Can't create Java VM\n");
              exit(1);
         cls = (*env)->FindClass(env, "Prog");
         if (cls == NULL) {
              goto destroy;
         mid = (*env)->GetStaticMethodID(env, cls, "main",
              "([Ljava/lang/String;)V");
         if (mid == NULL) {
              goto destroy;
         jstr = (*env)->NewStringUTF(env, " from C!");
         if (jstr == NULL) {
              goto destroy;
         stringClass = (*env)->FindClass(env, "java/lang/String");
         args = (*env)->NewObjectArray(env, 1, stringClass, jstr);
         if (args == NULL) {
              goto destroy;
         (*env)->CallStaticVoidMethod(env, cls, mid, args);
    destroy:
         if ((*env)->ExceptionOccurred(env)) {
              (*env)->ExceptionDescribe(env);
         (*jvm)->DestroyJavaVM(jvm);
    }

    Hi,
    you have to link jni.lib with your code. This lib is contained in the lib subdirectory of your JDK. Add jni.lib to the list of libraries and don't forget to add the directory where jni.lib is located to the library search path.
    Martin

  • Visa, BorladC++ Builder3.1, linking errors

    I have linking error, then building my program written in BorlandC++ Builder3.1
    (program has no compiling errors)
    I need to use header in my program.
    It was installed in C:\VXIpnp\Win95\include directory.
    I have 2 linking errors:
    Undefined symbol _viClose in module
    Undefined symbol _viOpen in module
    I copied all VISA (driver from National Insruments (www.ni.com), i use it to communicate with serial port RS232)
    so I copied all VISA files from C:\VXIpnp\Win95 to C:\BorlandC dirctory ("include" ant "lib" folders respectively)
    errors persist.
    In BorlandC++ Options>>Directories i wrote paths to library and to include in C:\VXIpnp\Win95.
    errors persist.
    I also tried with following
    3 programs:
    1) BorlandC++ Builder 6 (evaluation version)
    2) Icc – win32 (free) and
    3) SoftIntegration Ch 4.5 standart (free)
    They all throwed the same error messages:
    Undefined symbol _viClose in module
    Undefined symbol _viOpen in module
    ViClose and viOpen are defined in hereby:
    72) ViStatus _VI_FUNC viOpenDefaultRM (ViPsession vi);
    83) ViStatus _VI_FUNC ViClose (ViObject vi);
    I opened visatype.h to fined out how ViStatus....are defined and made table:
    Are _VI_FUNC and VIPSession defined correctly?
    (Because there is no such variable as ViPtr and VISAFN in BorlandC.)
    If they are not how must i define them?
    I attached visa.h and visatype.h and table for convenience.
    Thanks in advise
    Gintare
    Attachments:
    table.doc ‏34 KB
    visatype.h ‏6 KB
    visa.h ‏34 KB

    Are you linking against C:\VXIpnp\Win95\lib\bc\visa32.lib? If not, do so and that should solve your problems.
    If you are trying to link with that library, and it's not working, perhaps you'll need to create your own import library based on visa32.dll. We haven't changed the Borland import library in awhile, and I don't know if it's still compatible with the latest versions of the Borland products.
    Dan Mondrik
    National Instruments

  • Build Collada DOM 2.2 in X-Code and got _unZOpen, Close a link errors

    I am trying to build Collada DOM 2.2 in XCode and getting following link error.
    Collada DOM is providing minizip (library) which contains zip.h and unzip.h, which is called after calling mac libraries; Is any way I can specify in XCode project build specifications to read minizip from Collada first?
    Building target “viewer” of project “viewer” with configuration “Debug” — (8 errors)
    "_unzGoToNextFile", referenced from:
    daeZAEUncompressHandler::extractArchive(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libdom.a(daeZAEUncompressHandler.o)
    "_unzGetCurrentFileInfo", referenced from:
    daeZAEUncompressHandler::extractFile(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libdom.a(daeZAEUncompressHandler.o)
    "_unzCloseCurrentFile", referenced from:
    daeZAEUncompressHandler::extractFile(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libdom.a(daeZAEUncompressHandler.o)
    "_unzOpenCurrentFile", referenced from:
    daeZAEUncompressHandler::extractFile(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libdom.a(daeZAEUncompressHandler.o)
    "_unzReadCurrentFile", referenced from:
    daeZAEUncompressHandler::extractFile(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libdom.a(daeZAEUncompressHandler.o)
    "_unzGetGlobalInfo", referenced from:
    daeZAEUncompressHandler::extractArchive(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libdom.a(daeZAEUncompressHandler.o)
    "_unzClose", referenced from:
    daeZAEUncompressHandler::~daeZAEUncompressHandler()in libdom.a(daeZAEUncompressHandler.o)
    "_unzOpen", referenced from:
    daeZAEUncompressHandler::daeZAEUncompressHandler(daeURI const&)in libdom.a(daeZAEUncompressHandler.o)
    Your help greatly appreciated.
    Thanks

    Please look into following link
    https://sourceforge.net/forum/forum.php?threadid=2643729&forumid=531263

  • NiseCfg library link errors - will not compile working code on replicate system

    i have working software trying to install on a replicate system.    it does not compile on the replicate system.   the problem is nise, niseCfg link errors  for example:  
    Undefined symbol:  '_niseCfg_GetVirtualDeviceProperty@20' referenced in "TestSystem_Config.c"
    originally it complained it couldn't find the nise.h and niseCfg.h header files.   i copied the header and some other object and fp files (yeah, yeah, i know :-/ from my working system to the replicate system (in the NI/Shared/CVI directory path).
    it then found the header file and prototypes but now the undefined link errors.   i have nise.dll in my WIndows System directory.
    Please help.   what do i do to fix this?   thanks!

    The CVI IDE needs to know someway where to find the resources your program is using and this can be done in several ways. One of them is loading the instruments in the Instrument menu: this is valid if your instrument is used in only one project of yours or a few one. Another method, which is useful for insrtument you use intensively in all your projects, is to add them to the Library menu (option Customize...): this will make your libraries and FPs available for every project you are working on without need to explicitly add the instruments to the Instrument menu.
    If you are using an instrument and you don't see it in the project it must be loaded in one of the ways I described before: you can check in the original system which method was used.
    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?

  • Installation of 11i on 32-Bits OEL4 having linking error.

    Hi,
    I am trying to install 11i (11.5.10.2) on OLE 4.x 32-Bits, but having linking errors when adlnkoh.sh running. The log show following error message cat 10120907.log".
    adlnkoh.sh started at Fri Oct 12 09:21:06 EDT 2012
    logfile located in /ebs11i/oracle/visdb/9.2.0/install/make.log
    Error while running adlnkoh.sh. Please check logfile
    Errors while running adlnkoh.sh
    There was an error while running the command - /ebs11i/oracle/visdb/9.2.0/temp/VIS_ebs11i40/adrun9i.sh APPS APPS
    /ebs11i/oracle/visdb/9.2.0/appsutil/install/adlnkoh.sh: line 207: /ebs11i/oracle/visdb/9.2.0/bin/sqlplus: No such file or directory
    RW-50010: Error: - script has returned an error: 1
    RW-50004: Error code received when running external process. Check log file for details.
    Running Database Install Driver for VIS instance
    Now the make log /ebs11i/oracle/visdb/9.2.0/install/make.log is showing following messages:
    running genclntsh...
    /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o: file not recognized: File format not recognized
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.10.1
    rm -f oracle dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest expdp impdp imp exp sqlldr rman nid extjob extjobo genezi ikfod grdcscan /ebs11i/oracle/visdb/9.2.0/rdbms/lib/ksms.s /ebs11i/oracle/visdb/9.2.0/rdbms/lib/ksms.o
    But when I check details about file kpudfo.o, it is showing 64-Bits, How come this file is 64-Bits when I am installing 32-Bits application?
    [oracle@ebs11i40:/ebs11i]$ file /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o
    /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped
    Please help me with this issue.
    Thanks.

    There was an error while running the command - /ebs11i/oracle/visdb/9.2.0/temp/VIS_ebs11i40/adrun9i.sh APPS APPS
    /ebs11i/oracle/visdb/9.2.0/appsutil/install/adlnkoh.sh: line 207: /ebs11i/oracle/visdb/9.2.0/bin/sqlplus: No such file or directory
    RW-50010: Error: - script has returned an error: 1
    RW-50004: Error code received when running external process. Check log file for details.
    Running Database Install Driver for VIS instanceWhat version of gcc have you installed? Please make sure you are using the correct version (Perl Adcfgclone.pl dbTechStack Failed While Relink /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to`dl_iterate_phdr@GLIBC_2.2.4' [ID 417605.1]).
    /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o: file not recognized: File format not recognized
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.10.1
    rm -f oracle dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest expdp impdp imp exp sqlldr rman nid extjob extjobo genezi ikfod grdcscan /ebs11i/oracle/visdb/9.2.0/rdbms/lib/ksms.s /ebs11i/oracle/visdb/9.2.0/rdbms/lib/ksms.o
    But when I check details about file kpudfo.o, it is showing 64-Bits, How come this file is 64-Bits when I am installing 32-Bits application?
    [oracle@ebs11i40:/ebs11i]$ file /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o
    /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped
    Please help me with this issue.What is the output of "uname -m" command? -- Installing onto Linux And Receive error: Genclntsh: Failed To Link Libclntsh.So.10.1 [ID 340861.1]
    Thanks,
    Hussein

  • Link errors on HP Itanium and Oracle 9.0.1.0.1 Developers Release

    We have pulled down the Oracle Developers release for HP-UX 11.22 and were not able to compile the Oracle code
    because of a link error. We are getting the following errors in the make.log file:
    (Bundled) cc: error 1913: `16M' does not exist or cannot be read
    (Bundled) cc: error 1913: `L' does not exist or cannot be read
    (Bundled) cc: error 1913: `1M' does not exist or cannot be read
    (Bundled) cc: error 1913: `1M' does not exist or cannot be read
    *** Error exit code 1
    Stop.
    Has anyone run into this issue and how was it resolved?
    Thanks,
    Walter

    Alex,
    does a
    select xmlelement("SQLX", 'Hello ,World!') from dual; work?
    SQL> select xmlelement("SQLX", 'Hello World!') from dual;
    XMLELEMENT("SQLX",'HELLOWORLD!')
    <SQLX>Hello World!</SQLX>
    It works for me in 9.2
    SQL> select xmlelement("orderid", order_num) from orders;
    XMLELEMENT("ORDERID",ORDER_NUM)
    <orderid>1</orderid>
    <orderid>2</orderid>
    <orderid>3</orderid>
    <orderid>1</orderid>
    <orderid>2</orderid>
    <orderid>3</orderid>
    6 rows selected.
    SQL>

  • Received HTTP response code 500 : Internal Server Error

    Hi All,
    In my scenario EANCOM to IDOC, I am getting an error in the sender communication channel (FILE Adapter). It is being picked up from the ‘sender’ directory successfully but not reaching the XI box (no messages seen in SXMB_MONI).
    The error in the runtime Workbench says the following:
    “Transmitting the message to endpoint http://gdrsap.nestle.com:50000/XIAxisAdapter/MessageServlet? using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 500 : Internal Server Error.”
    Regards,
    Manohar

    Hi Murli
    error code 500 stands for Internal Server Error
    This code is the default for an error condition when none of the other 5xx codes apply.
    for more details on error code follow the link
    http://www.web-cache.com/Writings/http-status-codes.html
    you have to restart J2EE engine
    steps to restart J2EE engine
    1) run transaction SMICM
    2) then in the tab administration => J2EE instance(local) =>send soft shutdown with restart
    by this java engine will restart and will be up in 5-10 minutes and your problem will be solved
    Thanks
    sandeep sharma
    PS ; if helpful kindly reward points

  • The NLS operation failed because the registry key Control Panel\International\User Profile cannot be opened. Error code is 2. Error message: The system cannot find the file specified.

    H,
    Since upgrading Windows server 2008 R2 to Server 2012 Standard edition, we get this repetitious critical error in the event log:
    Event 1001
    Op Code NLS initialization
    The NLS operation failed because the registry key Control Panel\International\User Profile cannot be opened. Error code is 2. Error message: The system cannot find the file specified.
    We originally found that the regional date settings after changing them in regional settings (DD/MM/YYYY) and they did not inherit properly from the upgrade but they are ok now. 
    I've looked at HKCU\.Default\Control Panel\International and nothing looks obviously wrong. Country codes, time & date formats are correct.
    How do we ascertain the  cause of this error and the specific registry key that might be problematic?

    Hi,
    This could be caused by firewall rules or security softwares.
    http://www.tomshardware.com/forum/242579-44-hkcu-control-panel-international-opened
    And in addition, the fix is worth a try.
    Nothing happens when you double-click "Region" in Control Panel 
    http://support.microsoft.com/kb/2958845
    Please Note: Since the first web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

Maybe you are looking for