Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9755

HADOOP-9164 breaks the windows native build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • 2.1.0-beta, 3.0.0-alpha1
    • None
    • native
    • 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

        1. HADOOP-9755.v2.patch
          1.0 kB
          Binglin Chang
        2. HADOOP-9755.patch
          0.9 kB
          Binglin Chang

        Issue Links

          Activity

            People

              decster Binglin Chang
              vinayakumarb Vinayakumar B
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: