configure 的时候没有提示少什么依赖? 如果是 Debian/Ubuntu 或许可以通过 apt-get build-dep bochs 安装相关依赖
在 2014年8月6日 下午5:33,Jay Steve <[email protected]>写道: > 今天在编译 bochs ,一切都是按照网上说的,但是在 执行 make 的时候出现了一个错误: > > /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 >> >> make: *** [bochs] 错误 1 >> >> >> 在网上查了之后,网上说: > >> > > 在makefile的libs中添加如下内容 : > > -lz -lrt -lm -lpthread > > 但是我在 makefile 里面不知道怎么加。 > > 求教大伙了!!! > > -- > 您收到此邮件是因为您订阅了Google网上论坛中的“广州 GNU/Linux 用户组”论坛。 > 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到[email protected]。 > 要发帖到此论坛,请发送电子邮件至[email protected]。 > 通过http://groups.google.com/group/gzlug访问此论坛。 > 要查看更多选项,请访问https://groups.google.com/d/optout。 > -- Regards, Jactry Zeng -- 您收到此邮件是因为您订阅了 Google 网上论坛的“广州 GNU/Linux 用户组”论坛。 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到[email protected]。 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 通过以下网址访问此论坛:http://groups.google.com/group/gzlug。 要查看更多选项,请访问 https://groups.google.com/d/optout。
