title: Make error and "libpthread.so.0: DSO missing from command line"
body: <p>I tried to set up bochs-2.6.2 in Ubuntu. First, I unpack Bochs from .tar file to <code>home/userName/Downloads/bochs-2.6.2</code>.</p>
  
  <p>Then I use the configure command:</p>
  
  <pre><code>./configure --prefix=/home/userName/Desktop/bochs --enable-debugger --enable-disasm \
  --enable-iodebug --enable-x86-debugger --with-x --with-x11
  </code></pre>
  
  <p>After that, I use <code>make</code> ( there are too many character, this body is limited 30000 characters )</p>
  
  <p>last, I use <code>sudo make install</code>
  and get following messages</p>
  
  <pre><code>    make[1]: Entering directory '/home/eecheng/Downloads/bochs-2.6.2/memory'
      make[1]: 'libmemory.a' is up to date.
      make[1]: Leaving directory '/home/eecheng/Downloads/bochs-2.6.2/memory'
      echo done
      done
      cd gui &amp;&amp; \
      make  libgui.a
      make[1]: Entering directory '/home/eecheng/Downloads/bochs-2.6.2/gui'
      make[1]: 'libgui.a' is up to date.
      make[1]: Leaving directory '/home/eecheng/Downloads/bochs-2.6.2/gui'
      echo done
      done
      cd disasm &amp;&amp; \
      make  libdisasm.a
      make[1]: Entering directory '/home/eecheng/Downloads/bochs-2.6.2/disasm'
      make[1]: 'libdisasm.a' is up to date.
      make[1]: Leaving directory '/home/eecheng/Downloads/bochs-2.6.2/disasm'
      echo done
      done
      cd cpu/fpu &amp;&amp; \
      make  libfpu.a
      make[1]: Entering directory '/home/eecheng/Downloads/bochs-2.6.2/cpu/fpu'
      make[1]: 'libfpu.a' is up to date.
      make[1]: Leaving directory '/home/eecheng/Downloads/bochs-2.6.2/cpu/fpu'
      echo done
      done
      /bin/bash ./libtool --mode=link --tag CXX g++ -o bochs -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES      -DBX_SHARE_PATH='"/usr/local/share/bochs"'  -export-dynamic logio.o main.o config.o load32bitOShack.o pc_system.o osdep.o plugin.o crc.o   \
          iodev/libiodev.a iodev/display/libdisplay.a iodev/hdimage/libhdimage.a    \
          bx_debug/libdebug.a cpu/libcpu.a cpu/cpudb/libcpudb.a \
          memory/libmemory.a gui/libgui.a \
          disasm/libdisasm.a   \
          cpu/fpu/libfpu.a \
          -lX11 -lXpm -lXrandr    \
          \
          \
          \
          \
          -lm -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
      g++ -o bochs -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DBX_SHARE_PATH=\"/usr/local/share/bochs\" logio.o main.o config.o load32bitOShack.o pc_system.o osdep.o plugin.o crc.o -Wl,--export-dynamic  iodev/libiodev.a iodev/display/libdisplay.a iodev/hdimage/libhdimage.a bx_debug/libdebug.a cpu/libcpu.a cpu/cpudb/libcpudb.a memory/libmemory.a gui/libgui.a disasm/libdisasm.a cpu/fpu/libfpu.a -lX11 -lXpm -lXrandr -lm -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig /usr/lib/x86_64-linux-gnu/libfreetype.so -Wl,--rpath -Wl,/usr/lib/x86_64-linux-gnu -Wl,--rpath -Wl,/usr/lib/x86_64-linux-gnu
      /usr/bin/ld: gui/libgui.a(gtk_enh_dbg_osdep.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
      //lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
      collect2: error: ld returned 1 exit status
      Makefile:179: recipe for target 'bochs' failed
  </code></pre>
  
  <p>But I got error messages <code>recipe for target 'bochs' failed</code>:</p>
  
  <pre><code>Makefile 179: recipe for target 'bochs' failed
  make: ***[bochs] error 1
  </code></pre>
  
  <p>I tried both create a bochs folder under Desktop or not.</p>
  
  <p>Are there any suggestion? Thanks a lot!</p>