你自己不是说了嘛,Makefile里面有一行:libs = ...... ,你就在那行的末尾加上那些东西再编译一下试试看。
ps: 1、bochs也有windows版。你也可以直接下载windows版安装使用。 2、不同版本bochs的命令可能有所变动。网上那些bochs的教程比较老了。不一定适合。你最好看看bochs对应版本的说明。也可以参考一下对应版本的bochsrc-sample.txt 在 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。 > -- 您收到此邮件是因为您订阅了 Google 网上论坛的“广州 GNU/Linux 用户组”论坛。 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到[email protected]。 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 通过以下网址访问此论坛:http://groups.google.com/group/gzlug。 要查看更多选项,请访问 https://groups.google.com/d/optout。
