You are here

Building 3.4 on Debian Linux 7.8 (wheezy) using g++ 4.7.2

2 posts / 0 new
Last post
Building 3.4 on Debian Linux 7.8 (wheezy) using g++ 4.7.2
#1

I get the following error that terminals the build process:

src/protocols/jd2/SingleFileBuffer.cc:148:13: error: 'sleep' was not declared in this scope

It would appear that for this system "sleep" is found in the <unistd.h> include file.

Anybody else had this problem ?

Or is this a "dead" issue since 3.4 will not be getting any more updates ?

Category: 
Post Situation: 
Mon, 2015-03-16 10:34
hansellt

Given that Rosetta 3.4 is so old, we're not going to patch it. However, we will still try to help you to get it to compile.

It sounds like you already figured out the solution to the problem - just add the line "#include <unistd.h>" to the top of the file along with the other includes.

Please do let us know if that doesn't work for you.

Mon, 2015-03-30 14:28
rmoretti