hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Lok <fula...@gmail.com>
Subject Error: redefinition of 'struct timeval' compiling libhdfs
Date Tue, 14 Feb 2012 04:06:28 GMT
Hi folks,

I'm trying to compile Hadoop v1.0.0 libhdfs on Ubuntu 11.10 64-bit.  All
java classes compile fine except when I specify -Dislibhdfs=1.  Here's
where the error starts:

     [exec] In file included from
     [exec]                  from
     [exec]                  from
     [exec]                  from
     [exec] /usr/include/x86_64-linux-gnu/bits/time.h:75:8: error:
redefinition of 'struct timeval'
     [exec] /usr/include/linux/time.h:15:8: note: originally defined here

Any idea what could be the problem?


View raw message