Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.15.1
-
None
-
None
Description
compile-libhdfs:
[mkdir] Created dir: /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs
[exec] gcc -g -Wall -O2 -fPIC -m32 -I/home/hadoopqa/tools/java/jdk1.5.0_11-64bit/include -I/home/hadoopqa/tools/java/jdk1.5.0_11-64bit/include/linux -c hdfs.c -o /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/hdfs.o
[exec] gcc -g -Wall -O2 -fPIC -m32 -I/home/hadoopqa/tools/java/jdk1.5.0_11-64bit/include -I/home/hadoopqa/tools/java/jdk1.5.0_11-64bit/include/linux -c hdfsJniHelper.c -o /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/hdfsJniHelper.o
[exec] gcc -L/home/hadoopqa/tools/java/jdk1.5.0_11-64bit/jre/lib/amd64/server -ljvm -shared -m32 -Wl,-x -o /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/libhdfs.so.1 -Wl,-soname,libhdfs.so /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/hdfs.o /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/hdfsJniHelper.o \
[exec] && ln -sf /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/libhdfs.so.1 /home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/libhdfs.so
[exec] /usr/bin/ld: skipping incompatible /home/hadoopqa/tools/java/jdk1.5.0_11-64bit/jre/lib/amd64/server/libjvm.so when searching for -ljvm
[exec] /usr/bin/ld: cannot find -ljvm
[exec] collect2: ld returned 1 exit status
[exec] make: *** [/home/hadoopqa/workspace/Hadoop-LinuxTest-0.15/branch/build/libhdfs/libhdfs.so.1] Error 1
[exec] Result: 2
...
BUILD SUCCESSFUL