[問題] Ubuntu gcc 3.4
上次使用fedora安裝3.4.6
一直不成功
後來看到Ubuntu有人教學如何降版本
我照著網頁一步步操作
http://ppt.cc/d0As
之後
一直到了make這一步出現了問題
In file included from /usr/include/fcntl.h:252:0,
from ../../gcc-3.4.6/gcc/system.h:214,
from ../../gcc-3.4.6/gcc/collect2.c:30:
In function ‘open’,
inlined from ‘collect_execute’ at ../../gcc-3.4.6/gcc/collect2.c:1537:20:
/usr/include/i386-linux-gnu/bits/fcntl2.h:51:24: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[1]: *** [collect2.o] Error 1
make[1]: Leaving directory `/root/gcc_obj/gcc'
make: *** [all-gcc] Error 2
這是指我h檔的問題嗎??
還是那邊需要去修改??
目前是抓官網的Ubuntu12.10下來安裝的
搭配虛擬機器運行
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.242.27.120
→
11/22 01:40, , 1F
11/22 01:40, 1F
→
11/22 01:40, , 2F
11/22 01:40, 2F
→
11/22 10:39, , 3F
11/22 10:39, 3F
→
11/22 16:50, , 4F
11/22 16:50, 4F