Warning: The magic method Math_Captcha::__wakeup() must have public visibility in /home/wwwroot/blog.gotocoding.com/wp-content/plugins/wp-math-captcha/wp-math-captcha.php on line 87

Warning: Cannot modify header information - headers already sent by (output started at /home/wwwroot/blog.gotocoding.com/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/wwwroot/blog.gotocoding.com/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at /home/wwwroot/blog.gotocoding.com/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/wwwroot/blog.gotocoding.com/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/wwwroot/blog.gotocoding.com/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/wwwroot/blog.gotocoding.com/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/wwwroot/blog.gotocoding.com/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/wwwroot/blog.gotocoding.com/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/wwwroot/blog.gotocoding.com/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/wwwroot/blog.gotocoding.com/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 49

Warning: Cannot modify header information - headers already sent by (output started at /home/wwwroot/blog.gotocoding.com/wp-content/plugins/wp-math-captcha/wp-math-captcha.php:87) in /home/wwwroot/blog.gotocoding.com/wp-content/plugins/wp-math-captcha/includes/class-cookie-session.php on line 49

Warning: Undefined array key "action" in /home/wwwroot/blog.gotocoding.com/wp-content/plugins/wp-recentcomments/core.php on line 7

Warning: Undefined array key "action" in /home/wwwroot/blog.gotocoding.com/wp-content/plugins/wp-recentcomments/core.php on line 12
关于一个操作系统实现中bochs的安装 | 重归混沌的BLOG

关于一个操作系统实现中bochs的安装

     在一个操作系统的实现中提到了一个软件叫bochs,以前安装好了,今天重现安装一下发现又忘记怎么安装的了,所以还是把这次的过程记录下来为妙。

     的ubuntu下我们可以使用sudo apt-get install bochs来安装,但是这样做有一个弊端,那就是不能使用bochs的调试功能,所以我们还是选择使用源码安装的方式来定制我们所需的功能:

     1.进入解压后的bochs源码目录,在终端下输入./configure –enable-disasm –enable-debugger意思是说我们编译时使bochs带有反汇编功能调试器功能。

    2.然后出现了第一个错误:ERROR: X windows gui was selected, but X windows libraries were not found,使用sudo apt-get install libx11-dev来解决这个错误

         3.随后又出现了第二个错误:ERROR: pkg-config was not found, or unable to access the gtk+-2.0 package.这时使用sudo apt-get install libgtk2.0-dev来解决这个错误

   4../configure 成功后,使用sudo make

   5.使用make install 安装

OK,大功告成。

 

发表评论

+ fifty seven = sixty four