make error: NR_clock_gettime undeclared

Help
George
2010-01-23
2013-05-29
  • George

    George - 2010-01-23

    When trying to compile the new CVS vesion following error message pops up

    dev # make
    Compiling uuid.c
    uuid.c: In function `monotonic_us':
    uuid.c:40: error: `__NR_clock_gettime' undeclared (first use in this function)
    uuid.c:40: error: (Each undeclared identifier is reported only once
    uuid.c:40: error: for each function it appears in.)
    uuid.c: In function `generate_uuid':
    uuid.c:151: error: `__NR_clock_gettime' undeclared (first use in this function)
    The following command failed:
    gcc -Wall -g -O3 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/ffmpeg -I/usr/include/libavutil -I/usr/include/libavcodec -I/usr/include/libavformat -I/usr/include/ffmpeg/libavutil -I/usr/include/ffmpeg/libavcodec -I/usr/include/ffmpeg/libavformat -o uuid.o -c uuid.c
    make: ***  Error 1
    dev #

    Would be great if someone could point me into the right direction
    Thx

     
  • Justin Maggard

    Justin Maggard - 2010-01-25

    What OS?

     
  • George

    George - 2010-01-26

    OS: eisfair.org with ubuntu kernel 2.4.35

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks