今天在编译 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。

回复