Hi All,
I'm trying to compile aravis 0.3.7 on a non-realtime RHEL6.7 machine. aravis
0.3.5 compiled fine, but in 0.3.7 I get the following error after doing make:
CC arvrealtime.lo
../../aravis/src/arvrealtime.c: In function 'arv_make_thread_realtime':
../../aravis/src/arvrealtime.c:239: error: storage size of 'p' isn't known
../../aravis/src/arvrealtime.c:244: warning: implicit declaration of function
'sched_setscheduler'
../../aravis/src/arvrealtime.c:244: error: 'SCHED_RR' undeclared (first use in
this function)
../../aravis/src/arvrealtime.c:244: error: (Each undeclared identifier is
reported only once
../../aravis/src/arvrealtime.c:244: error: for each function it appears in.)
../../aravis/src/arvrealtime.c:239: warning: unused variable 'p'
Adding:
#include <sched.h>
at the top of arvrealtime.c seemed to sort it.
Has anyone else seen something like this?
Thanks,
Tom
--
This e-mail and any attachments may contain confidential, copyright and or
privileged material, and are for the use of the intended addressee only. If you
are not the intended addressee or an authorised recipient of the addressee
please notify us of receipt by returning the e-mail and do not use, copy,
retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not
necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments
are free from viruses and we cannot accept liability for any damage which you
may sustain as a result of software viruses which may be transmitted in or with
the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and
Wales with its registered office at Diamond House, Harwell Science and
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom