This repository has been archived by the owner on Jan 13, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: currently, when we run the TestNativeIO, we will get the error said "Forked Java VM exited abnormally." And on my dev box, I find another line said " /usr/local/jdk-6u14-64/jre/bin/java: symbol lookup error: /data/users/dikang/freshhadoop/trunk/VENDOR/hadoop-0.20/build/native/Linux-amd64-64/lib/libhadoop.so.1.0.0: undefined symbol: clock_gettime" I google it and find that when we build the native libhadoop.so, we need to add the -lrt to the LDFLAGS. So I add it into the build.xml and it works for me on my dev box. ps: the clock_gettime was introduced in the diff D515547 Test Plan: ant test -Dtestcase=TestNativeIO Reviewers: tylerharter, pritam, sdong, tomasz, hkuang Reviewed By: tomasz
- Loading branch information