I did include the -lApiDS for what it's worth, I just forgot to type it down
below in my "output". You get the same error.



-----Original Message-----
From: Dominique Pasquier [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 3:41 PM
To: [EMAIL PROTECTED]
Subject: Re: DB2 v7.2 Backups on linux

IMHO : there is a " -lApiDS " missing in the command line for cc
so the compiler cannot link to the functions related to the libApiDS.a
...
but I did not check if the error where from functions of this lib...

--
DominiX

----- Original Message -----
From: "Gerald Wichmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 18:01 PM
Subject: DB2 v7.2 Backups on linux


> I should have added this to my previous question..
>
> If indeed you can backup DB2 hot on the linux platform, how do you
compile
> the user exit as per the instructions on doing hot backups using TDP?
I
get
> errors as follows:
>
> [root@sfweb1 tivdb2]#
> cc  I/opt/Tivoli/tsm/client/api/bin/sample  L/usr/lib  o db2uext2
db2uext2.c
> db2uext2.c: In function `ArchiveFile :
> db2uext2.c:824: `offset_t  undeclared (first use in this function)
> db2uext2.c:824: (Each undeclared identifier is reported only once
> db2uext2.c:824: for each function It appears in.)
> db2uext2.c:824: parse error before `logFileSize
> db2uext2.c:953: parse error before `offsetll
> db2uext2.c:957: `logFileSize  undeclared (first use in this function)
> db2uext2.c:985: `offsetll  undeclared (first use in this function)
> [root@sfweb1 tivdb2]#
>
>
>
> I suppose I could try to debug the .c program  sigh :-\
>
> Any help/suggestions appreciated
>

Reply via email to