mac安裝bochs報錯cdrom_osx.cc:194:18: error: assigning to 'char ' from incompatible type 'const ch
按照網上的配,一切都正常
[這裡是配置的步驟](https://blog.nswebfrog.com/2017/02/03/config-bochs/)
但是就當我make的時候,去突然報錯了,報錯如下:
cdrom_osx.cc:194:18: error: assigning to 'char ' from incompatible type 'const ch
於是在網上查了一下,這個報錯有個補丁[https://raw.githubusercontent.com/Homebrew/formula-patches/e9b520dd4c/bochs/xcode9.patch]
也就是把cdrom_osx.cc中出錯的這一行
if ((devname = strrchr(devpath, '/')) != NULL) {
改為:
if ((devname = (char *) strrchr(devpath, '/')) != NULL) {
即可make和make install成功
注意有兩點:1。make install 要在前面加上sudo
2。要安裝bochs2.6.8版本,2.6.9版本這個錯誤解決完還有一大堆錯誤,為了縮短配置時間,建議用2.6.8版本的bochs吧。
成功開啟bochs頁面
相關推薦
mac安裝bochs報錯cdrom_osx.cc:194:18: error: assigning to 39;char 39; from incompatible type 39;const ch
按照網上的配,一切都正常 [這裡是配置的步驟](https://blog.nswebfrog.com/2017/02/03/config-bochs/) 但是就當我make的時候,去突然報錯了,報錯如下: cdrom_osx.cc:194:18: error: assigning t
mac安裝html5lib報錯
run self. confirm exception commands os x otto real tin pip安裝html5lib包的時候報一下錯誤:? /test sudo pip install html5libThe directory '/Use
mac安裝mysql報錯ERROR 1045 (28000): Access denied for.
mysql 參考 ble for mac安裝 回車 pri 輸入 命令 安裝完後,mysql -h localhost -u root -p 時候報錯,ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘
解決Mac安裝tesserocr報錯問題 Failed building wheel for
localhost:~ jerry$ Processing /var/www/git/python/tesserocr -bash: Processing: command not found localhost:~ jerry$ pip3 install tesserocr Collecting te
Mac安裝jekyll報錯Operation not permitted
在Mac環境中安裝jekyll時報錯Operation not permitted - /usr/bin/sass,開始以為只是許可權問題,於是sudo。結果還是不行。於是想到是不是非要使用root許可
安裝Caffe報錯: Cannot load caffe2.python. Error... not
警告 WARNING:root:This caffe2 python run does not have GPU support. Will run in CPU only mode. 出現上面的問題的話, 首先看看是不是沒有安裝NCCL, 如果沒有安裝的話, 安裝以後應該就能好
安裝Magento報錯:SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'perio
在安裝Magento ver 1.6.1.0的時候,每逢到設定好資料庫,要繼續下一步的時候,就會進入下面的一個錯誤頁面,再怎麼搞也過不去。 There has been an error processing your request Error in file: "C
vm安裝centOS報錯:anaconda: Fatal IO error 104
Running anaconda 13.21.176, the CentOS system installer - please wait11:37:49 Starting graphical installation.anaconda: Fatal IO error 10
【Vue報錯】Module build failed: Error: No parser and no file path given, couldn39;t infer a p arser.
3.0 OS could modules exp ports -- hot loader 在創建一個vue項目啟動時報錯,報錯的內容為: error in ./src/App.vue Module build failed: Error: No parser and no
JDBC使用佔位符插入資料報錯MySQLSyntaxErrorException: You have an error.....syntax to use near '?,?)'
JDBC使用佔位符插入資料報錯:com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that correspo
安裝redis報錯 cc: command not found
解壓 com all ins amp 新解 list man [1] 1、下載redis後 make 編譯時報錯 cd src && make allmake[1]: Entering directory /root/jevel/redis-2.8.17/s
mac下python安裝scrapy報錯解決方案
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse(‘incremental>=16.10.1’) Command “python setup.p
MAC下安裝pycurl報錯的解決方法
MAC下安裝pycurl 開啟命令列執行: sudo pip install pycurl -i https://pypi.tuna.tsinghua.edu.cn/simple 報錯:
Mac下安裝mongoldb 報錯 Failed to set up listener: SocketException: Address already in use
錯誤日誌2018-06-08T22:25:09.118+0800 E STORAGE [initandlisten] Failed to set up listener: SocketExceptio
雲伺服器 安裝sysbench報錯./libtool: line 841: X--tag=CC: command not found
重點內容背景,安裝sysbench編譯make報錯: ./libtool: line 841: X--tag=CC: command not found ../libtool: line 874: libtool: ignoring unknown tag :
mac下安裝xgboost報錯:clang: error: : errorunsupported option '-fopenmp'
在Mac os下安裝xgboostgit clone --recursive https://github.com/dmlc/xgboost cd xgboost; cp make/minimum.mk ./config.mk; make -j4 這是不支援多執行緒版本的,
windows下安裝pywin32報錯:close failed in file object destructor:sys.excepthook is missing lost sys.stderr
ges cep 題解 ssi -i pos 搜索 pyw ima 今晚要寫搜索引擎作業,搭scrapy環境,遇到了下面問題: windows下安裝pywin32報錯:close failed in file object destructor:sys.excepthook
編譯安裝libiconv報錯
編譯安裝libiconv報錯環境:centos 7.1編譯安裝libiconv報錯In file included from progname.c:26:0: ./stdio.h:1010:1: error: ‘gets’ undeclared here (not in a function) _GL_WA
編譯安裝libiconv報錯:./stdio.h:1010:1: error: 39;gets39; undeclared here (not in a function)
編譯安裝libiconv報錯:./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)錯誤如下: In file included from progname.c:26:0: ./stdio.h:101
centos6.5安裝xampp報錯
xampp lib.so.6 egrep安裝完xampp 5.6.3後,執行/opt/lampp/lampp報錯[[email protected]/* */_server ~]# /opt/lampp/lamppegrep: error while loading shared librari