sample compilation failure: sleep was not declared

Bug #1518690 reported by Joseph Hindin on 2015-11-22
This bug affects 3 people
Affects Status Importance Assigned to Milestone

Bug Description

When trying to compile ecap sample adapters on Ubuntu 14.04 with g++ version 4.8.4, I run into compilation problem: the 'sleep' functions was not declared.

The suggested fix is to add '#include <unistd.h>' statement.

Joseph Hindin (hindin) wrote :
Alex Rousskov (rousskov) wrote :

I am attaching the committed fix (which is slightly more portable than the proposed one).

Changed in ecap:
status: New → Fix Committed
Alex Rousskov (rousskov) on 2015-11-29
summary: - ecap sample adapter fails compilation on Ubuntu 14.04
+ sample compilation failure: sleep was not declared
Whatever (phg2a) wrote :

Could you release a new version of the sample or at least publish a development repository?

Alex Rousskov (rousskov) wrote :

Both should be done, but I cannot promise a specific release/publication date due to persistent overload.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions