Vinay created HADOOP-9755:
-----------------------------
Summary: HADOOP-9164 breaks the windows native build
Key: HADOOP-9755
URL: https://issues.apache.org/jira/browse/HADOOP-9755
Project: Hadoop Common
Issue Type: Bug
Components: native
Affects Versions: 3.0.0, 2.1.0-beta
Reporter: Vinay
Priority: Blocker
After HADOOP-9164 hadooop windows native build is broken.
{noformat} NativeCodeLoader.c
src\org\apache\hadoop\util\NativeCodeLoader.c(41): error C2065: 'Dl_info' :
undeclared identifier
[D:\hdp2\hadoop-common-project\hadoop-common\src\main\native\native.vcxproj]
src\org\apache\hadoop\util\NativeCodeLoader.c(41): error C2146: syntax error :
missing ';' before identifier 'dl_info'
[D:\hdp2\hadoop-common-project\hadoop-common\src\main\native\native.vcxproj]
src\org\apache\hadoop\util\NativeCodeLoader.c(41): error C2065: 'dl_info' :
undeclared identifier
[D:\hdp2\hadoop-common-project\hadoop-common\src\main\native\native.vcxproj]
src\org\apache\hadoop\util\NativeCodeLoader.c(42): error C2143: syntax error :
missing ';' before 'type'
[D:\hdp2\hadoop-common-project\hadoop-common\src\main\native\native.vcxproj]
src\org\apache\hadoop\util\NativeCodeLoader.c(45): error C2065: 'ret' :
undeclared identifier
[D:\hdp2\hadoop-common-project\hadoop-common\src\main\native\native.vcxproj]
src\org\apache\hadoop\util\NativeCodeLoader.c(45): error C2065: 'dl_info' :
undeclared identifier
[D:\hdp2\hadoop-common-project\hadoop-common\src\main\native\native.vcxproj]
src\org\apache\hadoop\util\NativeCodeLoader.c(45): error C2224: left of
'.dli_fname' must have struct/union type
[D:\hdp2\hadoop-common-project\hadoop-common\src\main\native\native.vcxproj]
src\org\apache\hadoop\util\NativeCodeLoader.c(45): fatal error C1903: unable to
recover from previous error(s); stopping compilation
[D:\hdp2\hadoop-common-project\hadoop-common\src\main\native\native.vcxproj]
NativeCrc32.c
Done Building Project
"D:\hdp2\hadoop-common-project\hadoop-common\src\main\native\native.vcxproj"
(default targets) -- FAILED.
Done Building Project
"D:\hdp2\hadoop-common-project\hadoop-common\src\main\native\native.sln"
(default targets) -- FAILED.{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira