[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mythtv-dev
Subject:    Re: [mythtv] usleep causing compile of 21.fixes to fail on win32
From:       Marc Randolph <mrand () pobox ! com>
Date:       2009-05-26 11:54:56
Message-ID: d38b16d80905260454t4a8ea060y46a1e6f99c9b9aa3 () mail ! gmail ! com
[Download RAW message or body]

On Tue, May 26, 2009 at 6:45 AM, J. Dale Gonzalez
<dale.gonzalez@gmail.com> wrote:
> I'm trying to use the win32-packager.pl script to compile the 21.fixes
> branch of mythtv.  gcc is failing with:
>
> c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/unistd.h:35:
> error: syntax error before '(' token
>
> It appears that usleep has been defined prior to the inclusion of this
> file.  I tried undef'ing usleep and guarding the define in unistd.h with
> ifndef but both solutions just cause problems later on with the declaration
> of usleep not matching a previous declaration.
>
> This doesn't happen with the 22 trunk.  I can compile it completely - but it
> doesn't work with my linux based backend and I'm not up for swapping it out
> yet.  Is there an easy fix here?

Howdy Dale,

Might I suggest looking in the archives?
http://www.gossamer-threads.com/lists/mythtv/dev/
When you search for usleep, don't forget to resort by post date.

Have fun,

   Marc
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic