Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Duplicate
-
2.1.0-beta, 3.0.0-alpha1
-
None
-
None
Description
After HADOOP-9164 hadooop windows native build is broken.
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.
Attachments
Attachments
Issue Links
- duplicates
-
HADOOP-9759 Add support for NativeCodeLoader#getLibraryName on Windows
- Closed
- is broken by
-
HADOOP-9164 Print paths of loaded native libraries in NativeLibraryChecker
- Closed