Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2006
    Posts
    1

    Red face Unanswered: Compiling db2uext2 using gcc in AIX

    Hi all,

    I am running db2 V 8.1.2 on AIX 5.3 and using TSM 5.3.2 which are 64bit .

    I try to compile the db2uext2 for tsm (source is db2uext2.ctsm) and receive errors.

    ld: 0711-317 ERROR: Undefined symbol: .dsmQueryApiVersion
    ld: 0711-317 ERROR: Undefined symbol: .dsmSetUp
    ld: 0711-317 ERROR: Undefined symbol: .dsmInit
    ld: 0711-317 ERROR: Undefined symbol: .dsmCleanUp
    ld: 0711-317 ERROR: Undefined symbol: .dsmBeginQuery
    ld: 0711-317 ERROR: Undefined symbol: .dsmGetNextQObj
    ld: 0711-317 ERROR: Undefined symbol: .dsmEndQuery
    ld: 0711-317 ERROR: Undefined symbol: .dsmBeginGetData
    ld: 0711-317 ERROR: Undefined symbol: .dsmGetObj
    ld: 0711-317 ERROR: Undefined symbol: .dsmGetData
    ld: 0711-317 ERROR: Undefined symbol: .dsmEndGetObj
    ld: 0711-317 ERROR: Undefined symbol: .dsmEndGetData
    ld: 0711-317 ERROR: Undefined symbol: .dsmTerminate
    ld: 0711-317 ERROR: Undefined symbol: .dsmRegisterFS
    ld: 0711-317 ERROR: Undefined symbol: .dsmBindMC
    ld: 0711-317 ERROR: Undefined symbol: .dsmBeginTxn
    ld: 0711-317 ERROR: Undefined symbol: .dsmSendObj
    ld: 0711-317 ERROR: Undefined symbol: .dsmSendData
    ld: 0711-317 ERROR: Undefined symbol: .dsmEndSendObj
    ld: 0711-317 ERROR: Undefined symbol: .dsmEndTxn
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
    information.

    I'm using the below command:

    gcc -maix64 -I/usr/tivoli/tsm/client/api/bin64/sample -L/usr/tivoli/tsm/client/api/bin64/libApiTSM64.a -o db2uext2 /usr/tivoli/tsm/client/api/bin64/db2uext2.c

    What went wrong actually? Did i miss anything out?


    Regards

    Zareyna

  2. #2
    Join Date
    Jun 2006
    Posts
    471

    userexit

    In v8 there are other db setting that avoid using the userexit
    see logarchmeth1 : disk/tsm..
    Only if special needs are required, the userexit should still be used
    according the messages you have, some setting i missing, have you looked at online info center how to compile ? will also have a look
    Best Regards, Guy Przytula
    DB2 UDB LUW certified V6/7/8

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •