I have compiled db2uext2.c on AIX 5L using gcc commandline:

gcc -g -o db2uext2 db2uext2.c /usr/tivoli/tsm/client/api/bin/libApiDS.a -I/usr/tivoli/tsm/client/api/bin/sample

And the resulting error output is:

/usr/include/time.h:236: warning: `struct sigevent' declared inside parameter list
/usr/include/time.h:236: warning: its scope is only this definition or declaration, which is probably not what you want.

The line in time.h is as follows:

extern int timer_create(clockid_t, struct sigevent *, timer_t *);

Has anyone ran across this error before?

Does anyone know of the significance of this error?

Is there a possible workaround such as a modification to either db2uext2.c or time.h?

Would appreciate any ideas and information...

Thanks in advance

Doug Conneway
Network & Systems Manager
North Coast Electric