Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

Fedora 17 Compile Problem

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


b.taber at comcast

Jun 9, 2012, 6:20 AM

Post #1 of 2 (405 views)
Permalink
Fedora 17 Compile Problem

I have a newly installed Fedora 17 installation that is having some new
problems compiling. The latest version is: v0.26-pre-529-ga44c784 but
this started earlier in the week. It can be corrected by including
<unistd.h> in the file but I'm not sure that is the correct way to fix
the problem since the same version compiles correctly on Fedora 16 in
both 64 & 32 bit configurations without the need to have that specific
#include in the file. I'm thinking the ./configure is not reporting a
missing set of includes that I have yet to install on my Fedora 17
system but I'm not sure what it is missing.

The specific error messages are:
services/frontend.cpp:109:25: error: ‘usleep’ was not declared in this scope
services/frontend.cpp:120:25: error: ‘usleep’ was not declared in this scope
services/frontend.cpp:125:25: error: ‘usleep’ was not declared in this scope

The full path to the file is programs/mythfrontend/services/frontend.cpp

Let me know if this should go in as a Trac ticket.

Bruce
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev


hobbes1069 at gmail

Jun 9, 2012, 6:43 AM

Post #2 of 2 (388 views)
Permalink
Re: Fedora 17 Compile Problem [In reply to]

On Sat, Jun 9, 2012 at 8:20 AM, Bruce Taber <b.taber [at] comcast> wrote:
> I have a newly installed Fedora 17 installation that is having some new
> problems compiling. The latest version is: v0.26-pre-529-ga44c784 but this
> started earlier in the week. It can be corrected by including <unistd.h> in
> the file but I'm not sure that is the correct way to fix the problem since
> the same version compiles correctly on Fedora 16 in both 64 & 32 bit
> configurations without the need to have that specific #include in the file.
> I'm thinking the ./configure is not reporting a missing set of includes that
> I have yet to install on my Fedora 17 system but I'm not sure what it is
> missing.

No, adding unistd.h is correct but I thought that was already fixed.
The error only shows up in Fedora 17 because it's using gcc 4.7
whereas 16 is using 4.6.

I'm not having any issues building 0.25 on Fedora 17, so I assume
something was changed in frontend.cpp that now requires a function
provided by unistd.h.

Richard
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.