If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Compiling db2uext2 using gcc in AIX

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-02-06, 12:25
zareyna zareyna is offline
Registered User
 
Join Date: Nov 2006
Posts: 1
Red face 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
Reply With Quote
  #2 (permalink)  
Old 11-03-06, 03:10
guyprzytula guyprzytula is offline
Registered User
 
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On