error: conflicting types for 'gettimeofday'

João Craveiro jcraveiro at lasige.di.fc.ul.pt
Wed Jan 30 18:32:33 UTC 2008


Hi there,

I am trying to build RTEMS 4.7.99.2 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:

     http://www.rtems.com/ml/rtems-users/2008/january/msg00017.html

     
../../../../../../rtems-4.7.99.2/c/src/../../cpukit/libcsupport/src/__gettod.c:40: 
error: conflicting types for 'gettimeofday'
     
/opt/rtems-4.8/lib/gcc/sparc-rtems4.8/4.2.2/../../../../sparc-rtems4.8/include/sys/time.h:73: 
error: previous declaration of 'gettimeofday' was here

The tools installed are the latest RPMs from the Yum repository.

Any hints? Thanks in advance,
    

-- 
João Craveiro




More information about the users mailing list