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

Similar Messages

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

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

  • 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

  • Error during compiling cobol code after upgrading tuxedo 6.5 with 11

    cc: 1501-238 configuration file /etc/vac.cfg does not exist
    cob64: error(s) in C compilation: BS-c5050.c
    CMDTUX_CAT:1832: ERROR: can't execute cobcc -I$TUXDIR/include -DTMMAINEXIT -o BS-c5050.c -L${TUXDIR}/lib -brtl -qstaticinline -lcobatmis -ltux -lbuft -lfml -lfml32 -lengine -lpthread
    We are getting the above mentioned error while trying to run the tuxbuild. The make file is not getting completely executed and the above error is encountered.
    Please help us with this..
    Thanks,
    Shama
    Edited by: user13277723 on Oct 25, 2010 3:21 AM

    Hi Todd/Ed,
    We have one more doubt on which we need your help..
    We are using AIX 6.1,Oracle 11g and all are 64 bit. MFCOBOL which we are using is 32 bit.While compling the code we are switching to 64 bit by using the command cobmode -s 64 and trying to run tuxbuild all+ command and we are encountering the errors which i have metioned in my earlier posts.
    As vac.cfg file was missing we copied older versions as vac.cfg and tried to complie the codes again.we encountered the following error.
    "BS-710b2.c", line 128.10: 1506-296 (S) #include file "mainexit.h" not found.
    cob64: error(s) in C compilation: BS-710b2.c
    so we added a script mainexit.h with cobinit() function declaration in the current directory.
    As we tried with tuxbuild all command we are facing this error.
    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: .memcpy
    ld: 0711-224 WARNING: Duplicate symbol: memcpy
    ld: 0711-224 WARNING: Duplicate symbol: .userlog
    ld: 0711-224 WARNING: Duplicate symbol: userlog
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    ld: 0711-317 ERROR: Undefined symbol: .SQLADR
    ld: 0711-317 ERROR: Undefined symbol: .SQLADRVC
    ld: 0711-317 ERROR: Undefined symbol: .SQLBEX
    CMDTUX_CAT:1832: ERROR: can't execute cobcc -I$TUXDIR/include -DTMMAINEXIT -o /BS-eb000.c -L${TUXDIR}/lib TPSVRINIT.o -brtl -qstaticinline -lcobatmis -ltux -lbuft -lfml -lfml32 -lengine -lpthread
    we have included this file as well /usr/local/opt/oracle/product/ostl133/precomp/lib/cobsqlintf.o still we are not able to solve this issue..
    Please help us with this.. :-(
    Thanks,
    Shama

  • Compiling COBOL

    I tried compiling a sample cobol program (with embedded sql) with precompiler pro*COBOL for Oracle 8i. I used IBM visual Age for COBOl as the compiler. I was able to pre compile and compile the sample program provided with Oracle demo
    (precomp/demo/procob2) . I got the following linker error
    _SQLADR@8 could not resolve ..
    _SQLADRVC@12 """"
    _SQLBEX@0  etc...
    Could anyone help me in linking this.. I just have one library included (ORASQL8.lib)
    Thanks and Regards,
    Lal Praksh..

    Hi Todd/Ed,
    We have one more doubt on which we need your help..
    We are using AIX 6.1,Oracle 11g and all are 64 bit. MFCOBOL which we are using is 32 bit.While compling the code we are switching to 64 bit by using the command cobmode -s 64 and trying to run tuxbuild all+ command and we are encountering the errors which i have metioned in my earlier posts.
    As vac.cfg file was missing we copied older versions as vac.cfg and tried to complie the codes again.we encountered the following error.
    "BS-710b2.c", line 128.10: 1506-296 (S) #include file "mainexit.h" not found.
    cob64: error(s) in C compilation: BS-710b2.c
    so we added a script mainexit.h with cobinit() function declaration in the current directory.
    As we tried with tuxbuild all command we are facing this error.
    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: .memcpy
    ld: 0711-224 WARNING: Duplicate symbol: memcpy
    ld: 0711-224 WARNING: Duplicate symbol: .userlog
    ld: 0711-224 WARNING: Duplicate symbol: userlog
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    ld: 0711-317 ERROR: Undefined symbol: .SQLADR
    ld: 0711-317 ERROR: Undefined symbol: .SQLADRVC
    ld: 0711-317 ERROR: Undefined symbol: .SQLBEX
    CMDTUX_CAT:1832: ERROR: can't execute cobcc -I$TUXDIR/include -DTMMAINEXIT -o /BS-eb000.c -L${TUXDIR}/lib TPSVRINIT.o -brtl -qstaticinline -lcobatmis -ltux -lbuft -lfml -lfml32 -lengine -lpthread
    we have included this file as well /usr/local/opt/oracle/product/ostl133/precomp/lib/cobsqlintf.o still we are not able to solve this issue..
    Please help us with this.. :-(
    Thanks,
    Shama

  • Probl?me buildtms

    La commande buildtms -o TMS_ORACLE -r Oracle_XA produit les messages suivants :
    ld: 0711-224 WARNING: Duplicate symbol: tpsvrinit
    ld: 0711-224 WARNING: Duplicate symbol: .tpsvrinit
    ld: 0711-224 WARNING: Duplicate symbol: ._tmsvrstop
    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: tpsvrdone
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    Merci de nous téléphoner au plus tôt,

    Pierre,
    These messages may occur with e.g. TUXEDO 8.1 and can be ignored.
    The cause for the messages is that identical symbols, like tpsvrdone end up in
    different libraries that are all used with the buildtms. The linker then warns
    you - rightfully so. Investigation of the origin of the symbols will reveal that
    they are identical, and therefore the warning can be ignored. If the origin had
    been different, the warning would have to be taken seriously. But that's not the
    case.
    Winfried
    PIERREG <[email protected]> wrote:
    La commande buildtms -o TMS_ORACLE -r Oracle_XA produit les messages
    suivants :
    ld: 0711-224 WARNING: Duplicate symbol: tpsvrinit
    ld: 0711-224 WARNING: Duplicate symbol: .tpsvrinit
    ld: 0711-224 WARNING: Duplicate symbol: ._tmsvrstop
    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: tpsvrdone
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    Merci de nous téléphoner au plus tôt,

Maybe you are looking for