[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
error: conflicting types for 'gettimeofday'
- Date: Thu, 31 Jan 2008 02:51:46 +0100
- From: ralf.corsepius at rtems.org (Ralf Corsepius)
- Subject: error: conflicting types for 'gettimeofday'
On Wed, 2008-01-30 at 18:32 +0000, Jo?o Craveiro wrote:
> Hi there,
> I am trying to build RTEMS 188.8.131.52 both on Fedora 6 and Fedora 8 boxes
> (following the instructions in
> http://www.rtems.com/wiki/index.php/Quick_Start), and I get the same
> error as stated here:
> error: conflicting types for 'gettimeofday'
> error: previous declaration of 'gettimeofday' was here
> The tools installed are the latest RPMs from the Yum repository.
> Any hints? Thanks in advance,
Update your RTEMS sources (e.g. from rtems-4-8-branch in RTEMS CVS).
The declaration of gettimeofday() in sys/time.h had been changed to
comply with POSIX, but your version of RTEMS still contains the old
(non-POSIX compliant) version of it.
@Joel: Do we have a snapshot tarball from rtems-4-8-branch, which has
these changes inside? I don't think so.