Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7774

Unresolved symbols error while compiling HDFS on Windows 7/32 bit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • build, native
    • Reviewed
    • LibHDFS now supports 32-bit build targets on Windows.
    • HDFS, VISUAL STUDIO 10.0

    Description

      I am getting the following error in the hdfs module compilation:

      .
      .
      .
      [exec] ClCompile:
      [exec] All outputs are up-to-date.
      [exec] Lib:
      [exec] All outputs are up-to-date.
      [exec] hdfs_static.vcxproj -> D:\h\hadoop-2.6.0-src\hadoop-hdfs-project\hadoop-hdfs\target\native\target\bin\RelWithDebInfo\hdfs.lib
      [exec] FinalizeBuildStatus:
      [exec] Deleting file "hdfs_static.dir\RelWithDebInfo\hdfs_static.unsuccessfulbuild".
      [exec] Touching "hdfs_static.dir\RelWithDebInfo\hdfs_static.lastbuildstate".
      [exec] Done Building Project "D:\h\hadoop-2.6.0-src\hadoop-hdfs-project\hadoop-hdfs\target\native\hdfs_static.vcxproj" (default targets).
      [exec] Done Building Project "D:\h\hadoop-2.6.0-src\hadoop-hdfs-project\hadoop-hdfs\target\native\ALL_BUILD.vcxproj" (default targets) – FAILED.
      [exec]
      [exec] Build FAILED.
      [exec]
      [exec] "D:\h\hadoop-2.6.0-src\hadoop-hdfs-project\hadoop-hdfs\target\native\ALL_BUILD.vcxproj" (default target) (1) ->
      [exec] "D:\h\hadoop-2.6.0-src\hadoop-hdfs-project\hadoop-hdfs\target\native\hdfs.vcxproj" (default target) (3) ->
      [exec] (Link target) ->
      [exec] thread_local_storage.obj : error LNK2001: unresolved external symbol _tls_used [D:\h\hadoop-2.6.0-src\hadoop-hdfs-project\hadoop-hdfs\target\native\hdfs.vcxproj]
      [exec] thread_local_storage.obj : error LNK2001: unresolved external symbol pTlsCallback [D:\h\hadoop-2.6.0-src\hadoop-hdfs-project\hadoop-hdfs\target\native\hdfs.vcxproj]
      [exec] D:\h\hadoop-2.6.0-src\hadoop-hdfs-project\hadoop-hdfs\target\native\target\bin\RelWithDebInfo\hdfs.dll : fatal error LNK1120: 2 unresolved externals [D:\h\hadoop-2.6.0-src\hadoop-hdfs-project\hadoop-hdfs\target\native\hdfs.vcxproj]
      [exec]
      [exec] 0 Warning(s)
      [exec] 3 Error(s)
      [exec]
      [exec] Time Elapsed 00:00:40.39
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Apache Hadoop HDFS ................................. FAILURE [02:27 min]
      [INFO] Apache Hadoop HttpFS ............................... SKIPPED

      Attachments

        1. Win32_Changes-temp.patch
          2 kB
          Kiran Kumar M R
        2. HDFS-7774-001.patch
          2 kB
          Kiran Kumar M R
        3. HDFS-7774-002.patch
          3 kB
          Kiran Kumar M R

        Issue Links

          Activity

            People

              kiranmr Kiran Kumar M R
              rvenkat123 Venkatasubramaniam Ramakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: