Ubuntu gcc 3.4 - Linux

By Tristan Cohan
at 2012-11-22T01:14
at 2012-11-22T01:14
Table of Contents
上次使用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下來安裝的
搭配虛擬機器運行
--
一直不成功
後來看到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下來安裝的
搭配虛擬機器運行
--
Tags:
Linux
All Comments

By Brianna
at 2012-11-26T15:50
at 2012-11-26T15:50

By Sarah
at 2012-11-28T08:43
at 2012-11-28T08:43

By Charlotte
at 2012-12-02T01:00
at 2012-12-02T01:00
Related Posts
為什麼CentOS都不出單片ServerCD了?

By William
at 2012-11-21T09:53
at 2012-11-21T09:53
為什麼CentOS都不出單片ServerCD了?

By Damian
at 2012-11-21T00:23
at 2012-11-21T00:23
請問一下有關於dns

By Rachel
at 2012-11-20T17:47
at 2012-11-20T17:47
yum爆炸了

By Oscar
at 2012-11-20T17:16
at 2012-11-20T17:16
mageia 指定 urpmi 來源

By Anonymous
at 2012-11-20T16:40
at 2012-11-20T16:40