Ld: 0711-224 WARNING: Duplicate symbol: p_xargc

Hi, im having this WARNING Duplicate and i dont know how to resolve it.
Iam in AIX 6
Sorry for my bad english.
---- Precompilando
proc iname=./Concatenador.pc oname=./Concatenador.c
Pro*C/C++: Release 11.2.0.1.0 - Production on Mon Mar 19 12:43:07 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
System default option values taken from: /oraclient/product/11.2.0/client/precomp/admin/pcscfg.cfg
---- Compilando Fuente Intermedio
/oraclient/product/11.2.0/client/bin/oraxlc -O3 -q64 -DSS_64BIT_SERVER -qwarn64 -qinfo=uni -DAIXRIOS -qflag=s:s -I/oraclient/product/11.2.0/client/precomp/hdrs -I/oraclient/product/11.2.0/client/precomp/public -I/oraclient/product/11.2.0/client/precomp/include -I/oraclient/product/11.2.0/client/oracore/include -I/oraclient/product/11.2.0/client/oracore/public -I/oraclient/product/11.2.0/client/oracore/port/include -I/oraclient/product/11.2.0/client/xdk/include -I/oraclient/product/11.2.0/client/xdk/public -I/oraclient/product/11.2.0/client/nlsrtl/include -I/oraclient/product/11.2.0/client/ldap/public/sslinc -I/oraclient/product/11.2.0/client/ldap/include/sslinc -I/oraclient/product/11.2.0/client/slax/include -I. -DLDAP_CM -c ./Concatenador.c -o ./Concatenador.o
-------- Compilando ejecutable
/oraclient/product/11.2.0/client/bin/oraxlc -q64 -o ./Concatenador ./Concatenador.o -L/oraclient/product/11.2.0/client/lib/ -lclntsh -b rtl -lld -lm `cat /oraclient/product/11.2.0/client/lib/sysliblist` -lm -lc_r -lpthreads
ld: 0711-224 WARNING: Duplicate symbol: p_xargc
ld: 0711-224 WARNING: Duplicate symbol: p_xargv
ld: 0711-224 WARNING: Duplicate symbol: p_xrcfg
ld: 0711-224 WARNING: Duplicate symbol: p_xrc
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
Thanks a lot.

Hi, that is the total output from executing
make -f Concatenador.mk all
The makefile contents is:
# Makefile original: Concatenador.mk
include $(ORACLE_HOME)/precomp/lib/env_precomp.mk
MODULO = concatenador
APLICACION = ./$(MODULO)
FUENTE_PROC = ./$(MODULO).pc
FUENTE_INTERMEDIO =./$(MODULO).c
OBJETO = ./$(MODULO).o
all: $(APLICACION)
$(APLICACION) : $(OBJETO)
     @@echo
     @@echo ------------------------------------
     @@echo -------- Compilando ejecutable
     @@echo ------------------------------------
     $(CC) -q64 -o $(APLICACION) $(OBJETO) -L$(ORACLE_HOME)/lib/ -lclntsh -b rtl -lld -lm `cat $(ORACLE_HOME)/lib/sysliblist` -lm -lc_r -lpthreads
$(OBJETO) : $(FUENTE_INTERMEDIO)
     @@echo
     @@echo ------------------------------------
     @@echo ---- Compilando Fuente Intermedio
     @@echo ------------------------------------
     $(CC) $(CFLAGS) -c $(FUENTE_INTERMEDIO) -o $(OBJETO)
$(FUENTE_INTERMEDIO) :
     @@echo
     @@echo ------------------------------------
     @@echo ---- Precompilando
     @@echo ------------------------------------
     $(PROC) $(PROCFLAGS) iname=$(FUENTE_PROC) oname=$(FUENTE_INTERMEDIO)
# FIN Makefile original: Concatenador.mk
If you need something more please tell me.
Thanks.

Similar Messages

  • WARNING: Duplicate symbol: tpsvrinit

    During the compilation of a Tuxedo server on AIX 4.3.3 with Tuxedo 8.1 we receive
    the following warnings :
    ld: 0711-224 WARNING: Duplicate symbol: .tpsvrdone
    ld: 0711-224 WARNING: Duplicate symbol: .tpsvrinit
    ld: 0711-224 WARNING: Duplicate symbol: tpsvrinit
    ld: 0711-224 WARNING: Duplicate symbol: tpsvrdone
    Our server implement the function tpsvrinit and tpsvrdone but both function are
    also provided in the libtux.a library.
    Is it possible to avoid this warning message ?
    Kind Regards

    I knew it.
    This problem has been reported for TUX 7.1 and 8.0.
    The release notes of TUX 8.1 claim that the problem has been solved, but apparently
    that is not quite true.
    I just talked to the company that suffered from the problem with TUX 8.0.
    They stated that "we simply ignore the problem, because it wasn't fixed by the
    TUX 8.0 rolling patch". But most importantly: their TUX apps have run smoothly
    for 3/4 years now, so you shouldn't worry about these warnings.
    Any BEA comments?
    Regards,
    Winfried Scheulderman
    See
    "Winfried Scheulderman" <[email protected]> wrote:
    >
    Vincent,
    I have seen the same warning messages when compiling TUX 8.0 on AIX 4.3.3
    using
    xlC, which you must be using as well. I cannot recollect the exact nature
    of the
    warnings, but it had to do with the definition of symbols in some TUX
    libraries
    and the redefinition of these symbols when building your own servers.
    I think
    we even reported this issue to BEA, since we couldn't get rid of the
    warnings
    (and being professional you would like to resolve these, just like compiler
    warnings,
    wouldn't you?). So, by the end of the day we had to live with them -
    the servers
    that you build will be fine. The servers we built have behaved OK in
    production.
    Anybody remembers the exact cause of this duplicate symbol issue?
    Cheers, Winfried
    "Vincent" <[email protected]> wrote:
    During the compilation of a Tuxedo server on AIX 4.3.3 with Tuxedo 8.1
    we receive
    the following warnings :
    ld: 0711-224 WARNING: Duplicate symbol: .tpsvrdone
    ld: 0711-224 WARNING: Duplicate symbol: .tpsvrinit
    ld: 0711-224 WARNING: Duplicate symbol: tpsvrinit
    ld: 0711-224 WARNING: Duplicate symbol: tpsvrdone
    Our server implement the function tpsvrinit and tpsvrdone but both function
    are
    also provided in the libtux.a library.
    Is it possible to avoid this warning message ?
    Kind Regards

  • Pro*C /AIX /11.1.0.X :demo programs return "duplicate symbol" warnings

    this problem has been raised in SR 7229372.994.
    Working in 11.1.0.6 or 11.1.0.7 on AIX , compilation of the proc*C "sample1" demo program returns various duplicate symbol warnings:
    ld: 0711-224 WARNING: Duplicate symbol: p_xargc
    ld: 0711-224 WARNING: Duplicate symbol: p_xargv
    ld: 0711-224 WARNING: Duplicate symbol: p_xrcfg
    ld: 0711-224 WARNING: Duplicate symbol: p_xrc
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    -this is true using all versions of the AIX xlc compiler 7,8,9 and is true for both 32bit and 64bit compilations. As far as I am aware this problem only occurs on AIX.
    -using the -bloadmap linker option, customer reports the following duplicate symbol mappings:
    ld: 0711-228 WARNING: Duplicate symbols were found while resolving symbols.
    The following duplicates were found:
    Symbol Source-File(Object) OR Import-File{Shared-object}
    p_xargc crt0main.s(/lib/crt0.o) ** Duplicate ** {oravl01/oracle/11.1.0.7/lib32//libclntsh.so}
    p_xargv crt0main.s(/lib/crt0.o) ** Duplicate ** {oravl01/oracle/11.1.0.7/lib32//libclntsh.so}
    p_xrcfg crt0main.s(/lib/crt0.o) ** Duplicate ** {oravl01/oracle/11.1.0.7/lib32//libclntsh.so}
    p_xrc crt0main.s(/lib/crt0.o) ** Duplicate ** {oravl01/oracle/11.1.0.7/lib32//libclntsh.so}
    -which indicates that these various OS symbols have been included in linclntsh.so, which is puzzling and confusing.
    -customer raising the issue is a VAR who's application is heavilly dependent on Pro*C code: they need more information as to why this behavior has changed from earlier releases and why these OS symbols
    have apparently been included in Oracle libraries. It is not acceptable to this VAR to be told not to be concerned with duplicate symbol warnings or that they are "meaningless" : there is no such thing as meaningless at this VAR's level of engineering and QA. VAR needs a much more detailed explanation as to what is happening here.
    -can someone provide more information about what has changed in 11g to result in these warnings, and why? I am unable to find any documentation on this matter.

    Is any news from this error.
    I really want to know how to fix this WARNING messages.
    Im in
    uname -aM
    AIX "HOST" 1 6 "HEXA" IBM,9117-MMB
    Pro*C/C++: Release 11.2.0.1.0 - Production on Mon Mar 19 12:43:07 2012
    Thanks.

  • Duplicate Symbol Error when using my own namespace

    Hi.
    When making a new project -> Command line util -> c++ tool, and then adding a new c++ file (includes the .h) to the project, I try making my own namespace like this:
    //ns.h
    #ifndef _TMSDF
    #define _TMSDF
    namespace testns
    int i;
    void somefunc();
    int retInt();
    #endif _TMSDF
    //ns.cpp
    #include "ns.h"
    namespace testns
    void somefunc()
    i = 10;
    int retInt()
    return i;
    and then the main, using the namespace:
    //main.cpp
    #include "ns.h"
    #include <iostream>
    using namespace testns;
    int main()
    somefunc();
    std::cout << "result: " << retInt() << std::endl;
    return 0;
    When hitting the "Build and go" the build results shows the following error:
    duplicate symbol testns::i in [path]/Debug/testname.build/Objects-normal/i386/ns0 and [path]/Debug/testname.build/Objects-normal/i386/main.o
    Tried searching and reading numerous posts, but can't seem to find the answer for this error. Any hints?
    Xcode vers.: 3.1.2
    Project properties:
    Arch.: 32/64-bit universal
    Base SDK: Mac OS X 10.5
    C++ compiler version: GCC 4.0
    Along with default project settings
    TIA.
    Christian

    chrcphdkny wrote:
    But I find it strange that my C++ books (by Savitch) doesn't mention this at all.
    Never heard of Savitch. Stroustrup knows a thing or two.
    I would assume that declarations go in the header file and implementations and instantiating variables is done in the cpp file.
    Not necessarily. With templates, everything goes in the headers.

  • Pro*C using Oracle 11g - ld: 0711-317 ERROR: Undefined symbol: .sqlcxt

    Hi
    We we are migrating from oracle 10g to 11g and AIX 5.3 to AIX 6.1. When I run the make file I get the following link errors. Note the 10g system is running using 32bit libs, and the new system is runing the 64bit libs.
    makegmake -f Makefile.all all SYSTEM=rs6k CC="cc_r" LINKER="cc_r"
    cc_r -lclntsh -L/wfm/usr/oracle/product/11.2.0/db/lib /home/Builds/CommonLib/Lib/AIX/cuCommonLib.a TagCommonLib/tagCommonLi
    b.a ObjFiles/TagDailyStats.o ObjFiles/TagCreate.o ObjFiles/EventLogMessageFormat.o ObjFiles/TagHeartBeatMsg.o ObjFiles/TagWriteTimingLog.o ObjFiles/Ta
    gGenMain.o -o TagTG
    ld: 0711-317 ERROR: Undefined symbol: .sqlcxt
    ld: 0711-317 ERROR: Undefined symbol: .sqlglm
    ld: 0711-317 ERROR: Undefined symbol: .sqlbuft
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    gmake: *** [TagTG] Error 8
    make: 1254-004 The error code from the last command is 2.
    After reading some of the ideas on the web, I added the following options, -lsql11 -I/wfm/usr/oracle/product/11.2.0/db/precomp/public, but got the same error.
    > make
    gmake -f Makefile.all all SYSTEM=rs6k CC="cc_r" LINKER="cc_r"
    cc_r -lclntsh -lsql11 -I/wfm/usr/oracle/product/11.2.0/db/precomp/public -L/wfm/usr/oracle/product/11.2.0/db/lib /home/Buil
    ds/CommonLib/Lib/AIX/cuCommonLib.a TagCommonLib/tagCommonLib.a ObjFiles/TagDailyStats.o ObjFiles/TagCreate.o ObjFiles/EventLogMessageFormat.o ObjFiles
    /TagHeartBeatMsg.o ObjFiles/TagWriteTimingLog.o ObjFiles/TagGenMain.o -o TagTG
    ld: 0711-317 ERROR: Undefined symbol: .sqlcxt
    ld: 0711-317 ERROR: Undefined symbol: .sqlglm
    ld: 0711-317 ERROR: Undefined symbol: .sqlbuft
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    gmake: *** [TagTG] Error 8
    make: 1254-004 The error code from the last command is 2.
    Can anyone please suggest to me what I am doing wrong .
    Thanks,
    Jim

    Hi,
    I'm experiencing the same problem, thank you for your 32 bit tip.
    I installed InstantClient for 64bit and didn't find any of the sql??? functions.
    http://download.oracle.com/otn/linux/instantclient/112010/oracle-instantclient11.2-precomp-11.2.0.1.0-1.x86_64.zip
    After that I installed the 64 bit client with universal installer, sql*plus, programmer and OCI packets, got lots of errors, cause I have not the official distribution and scripts are partly wrong.
    T24-SMS-1:/usr/lib# uname --all
    Linux T24-SMS-1 2.6.26-2-amd64 #1 SMP Wed May 12 18:03:14 UTC 2010 x86_64 GNU/Linux
    Then again I searched for sql??? functions sqlcxt I took and found them: (Note: they were not present with the instantclient distri with proc libraries
    T24-SMS-1:/usr/lib# find /home/sms/instantclient_11_2/lib -type f -exec grep -H -i sqlcxt {} \; | grep Binary
    Binary file /home/sms/instantclient_11_2/lib/libsql11.a matches
    Binary file /home/sms/instantclient_11_2/lib/liborasdk.so.11.1 matches
    Binary file /home/sms/instantclient_11_2/lib/libsrvmhas11.so matches
    Binary file /home/sms/instantclient_11_2/lib/libclntsh.so.11.1 matches
    Binary file /home/sms/instantclient_11_2/lib/libsqlplus.a matches
    After that I again got the same errors. I will try the 32 bit distribution and I hope I will find some header file with sql??? functions in it.

  • Xcode multiple C/Header files error: duplicate symbol _heading

    I am working on a 3D FPS written in C using Xcode. I have only just begun to split main.c into keys.c, init.c and others.
    When I try to compile, it spits out this:
    duplicate symbol _xxx in xxx/xxx/xxx ...
    I have main.c, keys.c , and func-dec.h.
    In func-dec.h I externally declare some vars:
    extern GLfloat heading = 0.0f , xp = 0.0f, yp = 20.0f, zp = 0.0f , pitch = 0.0f;
    In keys.c I use these vars, after #including "func-dec.h" .
    As said earlier, It says I have duplicated heading variable. However, if I swap the heading and pitch (or any other var) it says I've duplicated that one.
    Can someone please help?
    Thanks.

    You declare the externs (with no values) in the .h file.
    Then, define and initialize the global variables in a .c file.

  • Duplicate symbol in iOS native extension

    I'm trying to add an Objective C class to an existing native extension that I have for iOS. The code builds fine in Xcode, and the ANE process still seems to work fine. But when I try to package the application for debugging on my iPhone I get this error:
    Error occurred while packaging the application:
    ld: duplicate symbol _OBJC_METACLASS_$_EmailViewDelegate in C:\Users\jmiller\AppData\Local\Temp\18faba99-de69-437b-8fed-c983e5ce2882/libTspNativeExt. a(EmailViewDelegate.o) and C:\Users\jmiller\AppData\Local\Temp\18faba99-de69-437b-8fed-c983e5ce2882/libnet.theservic epro.a(EmailViewDelegate.o) for architecture armv7
    Compilation failed while executing : ld64
    EmailViewDelegate is the name of the class I'm trying to add. libTspNativeExt.a is the library I'm building in Xcode. I have no idea where libnet.theservicepro.a is coming from but it is based on the id from my extension.xml (which is net.theservicepro). I've inspected the ANE with WinRAR and although I see my libTspNativeExt.a in the iOS folder, I do not see this other library anywhere.
    The only fix I'm seeing is to use hideAneLibSymbols=yes in the launch parameters. However, when I do that I get this error while packaging:
    Error occurred while packaging the application:
    Compilation failed while executing : ld64
    Most people are running into this problem with two native extensions that actually conflict. But something in my flow seems to be duplicating the code within my single ANE. Any suggestions?

    And all it took was typing out the question for the answer to hit me. I'm going to share it here incase anyone else runs into this same problem.
    The problem was in my platform_options.xml file for iOS. The previous coder had set it up like this:
    <packagedDependencies>
        <packagedDependency>libTspNativeExt.a</packagedDependency>
        <packagedDependency>BMSPrinterKit_US.framework</packagedDependency>
    </packagedDependencies>
    So behind the scenes, ADT is putting all these dependancies into a libextensionid.a library which means we were telling it to import our library a second time. I'm amazed it actually worked before!

  • Can I break a duplicate symbol's association to its original parent?

    I'm guessing this has been asked before but I'm having trouble finding a straight answer.  I want to duplicate a symbol that contains text, but when I change the text in the duplicate symbol, the original's text changes too.  This is really annoying.  Is there a way I can "break" this association to the original symbol so the duplicate becomes independent?
    Thanks,
    David

    If you are hinting that someone should submit a feature request, that someone should be you.  BEing user to user forums, there aren't normally any Adobe employees lurking around here looking for such input. The following URL is where you go to make suggestions....
    Adobe - Wishlist & Bug Report
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • How to randomize position of many duplicate symbols

    I have a rectangle (Named "Data") that falls down the stage on a loop. This is all contained within the symbol itself. The stage has this code in it:
    var randX;
    var randShouldWait;
    var randSpeed;
    var baseXVal = 215;
    function randomNumbers() {
              randX = Math.floor(Math.random()*6);
              randShouldWait = Math.floor(Math.random()*3);
              randSpeed = Math.floor(Math.random()*100);
              moveMe();
    randomNumbers();
    function moveMe(){
              if (randShouldWait == 1) {
                        randShouldWait = Math.floor(Math.random()*3);
                        sym.$("Data").animate({left: 0 + 20 * randX, top: sym.$("Data").y}, 150 + randSpeed, moveMe);
              else
                        sym.$("Data").animate({left: 0 + 20 * randX, top: sym.$("Data").y}, 150 + randSpeed, randomNumbers);
    This creates a nice looking randomized "shifting" as the block falls. The issue is that this code is specifically related to the "Data" object and when I duplicate the symbol it names it "Data_1" which obviously doesn't shift randomly. The goal is to have this expandable to have dozens of these rectangles at once, so Ideally I'd like to find a way to create new ones programmatically that each have individualized behavior so my timeline isn't so busy.

    ok if you want to make them move seperatly try this way:
    w = "Data_1"
    y = "Data_2"
    z = "Data_3"
    var randX;
    var randShouldWait;
    var randSpeed;
    var baseXVal = 215;
    function randomNumbers(f) {
              randX = Math.floor(Math.random()*6);
              randShouldWait = Math.floor(Math.random()*3);
              randSpeed = Math.floor(Math.random()*100);
                                   moveMe(f);
    function moveMe(x){
              if (randShouldWait == 1) {
                        randShouldWait = Math.floor(Math.random()*3);
                        sym.$(x).animate({left: 0 + 20 * randX, top: sym.$(x).y}, 150 + randSpeed, moveMe);
              else
                        sym.$(x).animate({left: 0 + 20 * randX, top: sym.$(x).y}, 150 + randSpeed, randomNumbers);
    randomNumbers(w)
    randomNumbers(y)
    randomNumbers(z)
    and you can check it by repeating functions, to repeat just replace last three lines with these:
    // will Repeat every 151 milisec
    function retry(){
    randomNumbers(w)
    randomNumbers(y)
    randomNumbers(z)
    setInterval(retry,151);
    Zaxist

  • Warning RGB symbol in the links palette.

    What about a small warning symbol in the links palette to say if RGB so you can see at a glance and edit original/convert to CMYK with one click?
    It would improve workflow somewhat. Yes, I know, arguably we should be sorting our PSDs first but in the real working world...! Plus RGB to CMYK is possibly the most often performed task when working on a document with images
    Thanks for reading this.

    Hi Peter
    Not sure where I'm supposed to see this info in the links palette? I have tried to use the drop down menu and looked in the prefs. Where do you change this settting? I'm using CS3 so maybe this is a new feature in CS4?
    Also, I take your point about Preflight, but what I meant was a quick, one-click affair where maybe InDesign linked into a Photoshop action and changed all the colour modes. Or, potentially another simple script via the links palette. In a similar way to how "edit original" works by opening up the file or similarly, "object layer options" turning on or off.
    This could also serve some use as a "multi-program action set" where other simple scripts could be accessed this way to deal with batch items. i.e. image size, minor colour correction etc etc...
    Hopefully I'm making more sense. Only the other day (after rushing through placing a load of RGB jpeg files - bad practice I know) I had to then find which ones were still RGB from the list/preflight and deal with each one individually. If I had this little warning symbol you say is there already, things would be somewhat easier and if we had the one-click/action idea, things would be vastly easier. If I'm still missing something, then I apologise.
    Thanks again

  • Shadow & clipping warning icon symbol colors

    Hi: Using Photoshop cs3 and camera raw 4.3 with win Xp. When I go to the curves icon and start adjusting the shadows, highlights, darks, and lights sliders I noticed that the shadow and highlight warning icons displayed in the upper left and right corners of the histogram box change various colors as you move the various sliders. It changes from white to green to blue then yellow then black. Do these colors of the icons mean anything? If so what do they mean and what are their purpose? It seems that I get the best results when the icon colors are black. Thanks in advance... Alan

    Do you mean the triangles at either end of the histogram in the ACR dialog box?
    CLICK HERE
    AND HERE

  • Warning/Caution symbol in lower left corner!! Help!!!

    Ok, I just started using this software recently for a school project. After shooting the video I overcame the obstacles of importing the video. All of my videos are saved in DV format. After uploading the video and doing a lot of work arranging clips and adding transitions my videos stopped working. My movie in the project window no longer shows any video, it is black during the time of playing. The audio still works fine, but a movie without video might as well just be a podcast. I noticed that as soon as the video stopped working, little yellow triangles with exclamation marks appeared in the lower left corner of all of my clips. I have not messed around with anything because I do not want to make the problem worse. I have restarted iMovie and checked for updates. If anyone has any information on this subject, please share it with me. Thanks!

    Welcome to discussions!
    Are you using an external hard drive?
    Read this discussion:
    http://discussions.apple.com/thread.jspa?messageID=5525326&#5525326
    :)Sue

  • How to use FPRINT32 function in MF cobol

    Hi,
    How to use FPRINT32 function to check the value of any buffer defined in MF cobol code.
    When we tried, CALL FPRINT32 USING OUTPUT-FML
    OUTPUT-FML is a buffer which is defined in our cobol code.
    We are getting below error.
    ld: 0711-224 WARNING: Duplicate symbol: p_xargc
    ld: 0711-224 WARNING: Duplicate symbol: p_xargv
    ld: 0711-224 WARNING: Duplicate symbol: .tpsvrdone
    ld: 0711-224 WARNING: Duplicate symbol: .tpsvrinit
    ld: 0711-224 WARNING: Duplicate symbol: TPSVRINIT
    ld: 0711-224 WARNING: Duplicate symbol: .TPSVRINIT
    ld: 0711-224 WARNING: Duplicate symbol: tpsvrinit
    ld: 0711-224 WARNING: Duplicate symbol: tpsvrdone
    ld: 0711-224 WARNING: Duplicate symbol: .userlog
    ld: 0711-224 WARNING: Duplicate symbol: userlog
    ld: 0711-224 WARNING: Duplicate symbol: p_xrcfg
    ld: 0711-224 WARNING: Duplicate symbol: p_xrc
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    ld: 0711-317 ERROR: Undefined symbol: .FPRINT32
    CMDTUX_CAT:1832: ERROR: can't execute cobcc -I$TUXDIR/include -L/lib -lpthreads -L/usr/local/opt/oracle/product/ostl133/lib/ -lclntsh -lrtl -lld -lm /lib/crt0_64.o -ldl -lc -lm -lpthreads -lodm -lbsd_r -lld -lperfstat -lm -lc_r -lpthreads /usr/local/opt/oracle/product/ostl133/precomp/lib/cobsqlintf.o /usr/local/opt/oracle/product/ostl133/lib/libclntsh.a -C linkcount=1024 -o BS-f804a.c -L${TUXDIR}/lib TPSVRINIT.o -brtl -qstaticinline -lcobatmis -ltux -lbuft -lfml -lfml32 -lengine -lpthread
    Please help in this regard,
    Thanks

    Hi,
    As far as I know there is no FPRINT32 function in the Tuxedo COBOL interface.
    The ATMI COBOL Function Reference for the latest Tuxedo 11.1.1.2.0 release at
    http://download.oracle.com/docs/cd/E18050_01/tuxedo/docs11gr1/rf3cbl/rf3cbl.html shows FINIT, FINIT32, FVFTOS, FVFTOS32, FVSTOF, and FVSTOF32 as the only supported COBOL interface functions related to FML.
    COBOL is better suited to dealing with the fixed record structure of views than with the variable record format of FML buffers. The COBOL interface offers functions to initialize and FML buffer and to convert an FML buffer to and from a VIEW so that preexisting services taking FML buffers as input or output parameters can be called, but the expectation is that the COBOL program will conver the FML buffer to a VIEW before accessing it.
    It is possible to call the Tuxedo C interface Fprint32() function from COBOL using standard interlanguage calling conventions. Also, you may want to check with other developers on your project to see if someone may have already implemented such a function.
    Regards,
    Ed

  • Using an AIX archive file as a library for an external procedure.

    I cannot use an archive file, created with the ar command, that contains a shared object that was created with the xlc and ld commands as a library for external procedures. I can use the shared object file created with the ld command as a library for an external procedure. Why would I encounter an invalid magic number and what is the resolution?
    Example:
    oracle:@husk21:/home/oracle> ksh -x ./Oracle_demo.ksh
    + rm shell.o shell.so shell.so.exp shell.so.imp
    + make -f /u01/oracle/product/11.1.0.7/db/rdbms/demo/demo_rdbms32.mk extproc_no_context SHARED_LIBNAME=shell.so OBJS=shell.o
    /u01/oracle/product/11.1.0.7/db/bin/oraxlc -q32 -c -I/u01/oracle/product/11.1.0.7/db/rdbms/demo -I/u01/oracle/product/11.1.0.7/db/rdbms/public -I/u01/oracle/product/11.1.0.7/db/plsql/public -I/u01/oracle/product/11.1.0.7/db/network/public -I/u01/oracle/product/11.1.0.7/db/precomp/public shell.c
    generate_export_list() { /bin/nm -X32_64 -B -h -g "$1" | grep -v ' U ' | awk '{print $3}' | egrep -v '^\.|^TOC' | sort | uniq ; }; generate_import_list() { LIB_NAME=$1; IMP_FILE=$2; cat /u01/oracle/product/11.1.0.7/db/rdbms/lib/xa.imp | head -1 | awk '{print $0, "." }' > ${IMP_FILE}; /bin/nm -X32_64 -C -B -h -g ${LIB_NAME} | grep ' U ' | grep -v "::" | grep -v "(" | grep -v "\.cc" | awk '{print $3}' | sed -e "s/\.//g" | grep -v "^_" >> ${IMP_FILE}; }; generate_import_list shell.o shell.so.imp; generate_export_list shell.o > shell.so.exp; /bin/ld -b32 -bnoentry -bM:SRE -bE:shell.so.exp -bI:shell.so.imp -o shell.so shell.o -L/u01/oracle/product/11.1.0.7/db/lib -lc_r -lm
    ld: 0711-224 WARNING: Duplicate symbol: .system
    ld: 0711-224 WARNING: Duplicate symbol: system
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    oracle:@husk21:/home/oracle> ar rv libshell.a shell.so
    ar: Creating an archive file libshell.a.
    a - shell.so
    oracle:@husk21:/home/oracle> ar tv libshell.a
    rwxr-xr-x 3514/3516 1263 Sep 08 10:00 2009 shell.so
    oracle:@husk21:/home/oracle> file shell.so
    shell.so: executable (RISC System/6000) or object module not stripped
    oracle:@husk21:/home/oracle> file libshell.a
    libshell.a: archive (big format)
    SQL> CREATE OR REPLACE LIBRARY shell_lib is '/home/oracle/libshell.a';
    / 2
    Library created.
    SQL> CREATE OR REPLACE PROCEDURE shell(command IN char)
    AS EXTERNAL
    NAME "shell"
    LIBRARY shell_lib
    LANGUAGE C
    PARAMETERS (command string);
    / 2 3 4 5 6 7
    Procedure created.
    SQL> exec shell('ls');
    BEGIN shell('ls'); END;
    ERROR at line 1:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: 0509-022 Cannot load module /home/oracle/libshell.a.
    0509-103 The module has an invalid magic number.
    ORA-06512: at "V500.SHELL", line 1
    ORA-06512: at line 1
    SQL> CREATE OR REPLACE LIBRARY shell_lib is '/home/oracle/shell.so';
    2 /
    Library created.
    SQL> exec shell('ls');
    PL/SQL procedure successfully completed

    Using an AIX archive file as a library for an external procedure.

  • Applying CPUApr2010 to GC 10.2.0.5

    Hi all,
    Has anyone tried applying the CPUApr2010 patch to Grid Control 10.2.0.5?
    We have an installation of GC 10.2.0.5 on AIX 5.3. My understanding is that the Management Server is running inside is 10.1.2.3. We are using 11.2.0.1 as our repository database. According to the CPUApr2010 Availability note, we are to install Patch 9357237.
    The OPatch process completed with warnings:
    The following warnings have occurred during OPatch execution:
    1) OUI-67303:
    Following patches will be rolled back from Oracle Home on application of the patches in the given list :
    9352208 9357234
    2) OUI-67215:
    OPatch found the word "error" in the stderr of the make command.
    Please look at this stderr. You can re-run this make command.
    Stderr output:
    ld: 0711-317 ERROR: Undefined symbol: .kglsim_end_sample
    ld: 0711-317 ERROR: Undefined symbol: .kglsim_start_sample
    ld: 0711-317 ERROR: Undefined symbol: .kglsim_set_objtyp
    ld: 0711-317 ERROR: Undefined symbol: .kpummTLSGLOP
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    ar: No such file or directory
    ar: 0707-117 The fopen system call failed on file /u01/app/oracle/product/10.2.0/grid/oms10g/lib32/shr.o.
    mv: cannot rename /u01/app/oracle/product/10.2.0/grid/oms10g/lib32/shr.o to libclntsh.so:
    No such file or directory
    ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait
    ld: 0711-224 WARNING: Duplicate symbol: aio_nwait
    ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait_timeout
    ld: 0711-224 WARNING: Duplicate symbol: aio_nwait_timeout
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait
    ld: 0711-224 WARNING: Duplicate symbol: aio_nwait
    ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait_timeout
    ld: 0711-224 WARNING: Duplicate symbol: aio_nwait_timeout
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    ld: 0711-317 ERROR: Undefined symbol: .kglsim_end_sample
    ld: 0711-317 ERROR: Undefined symbol: .kglsim_start_sample
    ld: 0711-317 ERROR: Undefined symbol: .kglsim_set_objtyp
    ld: 0711-317 ERROR: Undefined symbol: .kpummTLSGLOP
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    ar: No such file or directory
    ar: 0707-117 The fopen system call failed on file /u01/app/oracle/product/10.2.0/grid/oms10g/lib32/shr.o.
    OPatch Session completed with warnings.
    OPatch completed with warnings.
    Has anyone encountered a similar issue?
    Many thanks.

    We are receiving the exact same error when trying to apply CPUApr1020 to the oms home of enterprise manager. The application will not start and we had to roll back the patch.
    The local system has been patched and can be restarted.
    UtilSession: N-Apply done.
    The following warnings have occurred during OPatch execution:
    1) OUI-67215:
    OPatch found the word "error" in the stderr of the make command.
    Please look at this stderr. You can re-run this make command.
    Stderr output:
    ld: 0711-317 ERROR: Undefined symbol: .kglsim_end_sample
    ld: 0711-317 ERROR: Undefined symbol: .kglsim_start_sample
    ld: 0711-317 ERROR: Undefined symbol: .kglsim_set_objtyp
    ld: 0711-317 ERROR: Undefined symbol: .kpummTLSGLOP
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    ar: A file or directory in the path name does not exist.
    ar: 0707-117 The fopen system call failed on file /oracle07/app/oracle/product/oem/oms10g/lib32/shr.o.
    mv: 0653-401 Cannot rename /oracle07/app/oracle/product/oem/oms10g/lib32/shr.o to libclntsh.so:
    A file or directory in the path name does not exist.
    ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait
    ld: 0711-224 WARNING: Duplicate symbol: aio_nwait
    ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait_timeout
    ld: 0711-224 WARNING: Duplicate symbol: aio_nwait_timeout
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait
    ld: 0711-224 WARNING: Duplicate symbol: aio_nwait
    ld: 0711-224 WARNING: Duplicate symbol: .aio_nwait_timeout
    ld: 0711-224 WARNING: Duplicate symbol: aio_nwait_timeout
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    ld: 0711-317 ERROR: Undefined symbol: .kglsim_end_sample
    ld: 0711-317 ERROR: Undefined symbol: .kglsim_start_sample
    ld: 0711-317 ERROR: Undefined symbol: .kglsim_set_objtyp
    ld: 0711-317 ERROR: Undefined symbol: .kpummTLSGLOP
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    ar: A file or directory in the path name does not exist.
    ar: 0707-117 The fopen system call failed on file /oracle07/app/oracle/product/oem/oms10g/lib32/shr.o.
    OPatch Session completed with warnings.

Maybe you are looking for

  • Error while deleting PSA Request Manually

    Hi Experts, I am trying to delete Older PSA Request, but it is throwing an Error "Internal Error occured during Authorization Check".... Also, when i tried to see the Monitor, it is not showing any records anything...Its showing as no logs found... I

  • Folio Builder doesn't allow me to add certain articles

    I'm adding articles to folio builder and it's being a little picky about which ones I can add and which ones I can't. They're all formatted in the same size etc., but for some reason 3 of my 30 articles won't give me the "add" option or if I add them

  • Error message when moving to a different page

    Post Author: EvDev CA Forum: .NET I have an ASP.NET 2.0 and Crystal Reports 11.5 project that works fine when it's being debugged and when it's on our test server, but when we move it to our production server the user will receive an error message wh

  • Question of SAP Methodology of Implementation esp. System Testing and Test Script

    Dear SAP Member, As a very new and inexperienced customer to the SAP and the business. My company is preparing for the retail shop establishment which part of the preparation includes SAP implementation. At first, we strongly believe SAP can fit and

  • Problems with Creating Real-Time InfoCube in BI 7.0

    Hello, Everybody, I try to create Real-Time cube for BW-BPS planning, but when i want to insert a key figure into real-time info cube i get error: <i><b>Short dump has not been completely stored(too big)</b></i> <i><b>Exception condition "Node_relate