Re: trying to compile with clock_settime(...)



jchludzinski@xxxxxxxxx wrote:
Trying to compile using clock_settime(...) [in time.h] but get:
"undefined reference to `clock_settime'".  Looking at time.h I see the
declaration is sandwiched between:

#ifdef __USE_POSIX199309
...
#endif

so I tried: gcc -D__USE_POSIX199309
to no avail.

Any suggestions?

---John

PS> I don't know if this is the proper group for this posting but I had
to start somewhere.

This is not the right group since we only deal with C not with system specific extension be they POSIX, Windows or CPM. Might I suggest comp.unix.programmer after reading their FAQ or possibly one of the GNU mailing lists?
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
.




Relevant Pages

  • ~~~~~~~~~~~~~~ FILE NAME ~~~~~~~~~~~~~~
    ... adapter description file file name extension ... apple script to change file names ... batching file name changes in windows ... change short file names in dos ...
    (sci.misc)
  • Re: Windows Explorer exits unexpectedly Windows XP Pro
    ... another FYI - I did the same thing on our windows 2000 and 2003 ... This gz extensiion is a unix extension from the ... for this on XP Pro. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Shell Image View Control in System32
    ... How To Update Video Driver ... the "Choose Program" applet still will not display ... While still in Windows Explorer, ... Scroll down the list on the right and see of there is a file extension ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Shell Image View Control in System32
    ... How To Update Video Driver ... the "Choose Program" applet still will not display ... While still in Windows Explorer, ... Scroll down the list on the right and see of there is a file extension ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Excel Templates
    ... extension means that it's a brand new workbook. ... try changing that windows setting. ... you can tell if the users are opening the template ... Am I supposed to see the file ext in Excel? ...
    (microsoft.public.excel.misc)