By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,235 Members | 1,485 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,235 IT Pros & Developers. It's quick & easy.

Error While Compiling UserExit program

P: n/a
Hi,

We are getting the following error while compiling the UserExit
program. Not sure where the problem is. We are using the IBM supplied
UserExit sample program. We have changed some variables according to
our environment.

DB2 8.2 on HP-UX. Using gcc compiler.

Errors are as below:

$ /usr/local/bin/gcc -o db2uext2 db2uext2.c

ld: Unsatisfied symbol "dsmBindMC" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmRegisterFS" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmGetNextQObj" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmEndTxn" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmGetObj" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmBeginQuery" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmEndSendObj" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmEndGetData" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmBeginTxn" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmSetUp" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmCleanUp" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmInit" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmGetData" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmQueryApiVersion" in file
/var/tmp//ccnHCb3c.o
ld: Unsatisfied symbol "dsmSendObj" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmTerminate" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmEndGetObj" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmSendData" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmEndQuery" in file /var/tmp//ccnHCb3c.o

ld: Unsatisfied symbol "dsmBeginGetData" in file /var/tmp//ccnHCb3c.o

20 errors.

collect2: ld returned 1 exit status
Any help is appreciated.

Thanks,
Divakar

Aug 15 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Ian
Divakar wrote:
Hi,

We are getting the following error while compiling the UserExit
program. Not sure where the problem is. We are using the IBM supplied
UserExit sample program. We have changed some variables according to
our environment.

DB2 8.2 on HP-UX. Using gcc compiler.

Errors are as below:

$ /usr/local/bin/gcc -o db2uext2 db2uext2.c

ld: Unsatisfied symbol "dsmBindMC" in file /var/tmp//ccnHCb3c.o

Do you have the TSM API client installed on your system? You probably
also need to specify the location of the API client files (using
-I<include_pathand -L<lib_pathwhen you compile.
Also, if you're on Fixpack 9 or later, check out the new (preferred)
archive log manager -- it replaces the user exit in most instances.
See the LOGARCHMETH1 database configuration parameter.
Aug 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.