Hi
I am assuming that if I need a C/C++ interface to HDFS I must build libhdfs.
This may be a problem very specific to my environment but would appreciate
if someone could tell me what is going on ? So in order to build libhdfs I
am running the command ant compile-libhdfs. But I get the following output :
compile-libhdfs:
[exec] gcc -g -Wall -O2 -fPIC -m64 -m32
-I/home/alakshman/jdk1.6.0_01/include
-I/home/alakshman/jdk1.6.0_01/include/linux -c hdfs.c -o
/home/alakshman/FB-Projects/hadoop-0.13.0/build/libhdfs/hdfs.o
[exec] In file included from /usr/include/features.h:337,
[exec] from /usr/include/sys/types.h:27,
[exec] from hdfs.h:22,
[exec] from hdfs.c:19:
[exec] /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such
file or directory
[exec] make: ***
[/home/alakshman/FB-Projects/hadoop-0.13.0/build/libhdfs/hdfs.o]
Error 1
[exec] Result: 2
BUILD SUCCESSFUL
Total time: 1 second
What is going on ? I have set my JAVA_HOME correctly and this is the version
of my Linux box 2.6.12-1.1398_FC4smp.
Thanks
A