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 > gcc db2uext2 compile errors - time.h

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-30-04, 14:08
dougy dougy is offline
Registered User
 
Join Date: Mar 2004
Posts: 1
gcc db2uext2 compile errors - time.h

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
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