亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3794 | 回復(fù): 2
打印 上一主題 下一主題

求助,linux下編譯gcc過程中出現(xiàn)error [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2012-02-21 17:45 |只看該作者 |倒序?yàn)g覽
本帖最后由 coldfire12 于 2012-02-21 17:54 編輯

使用的GMP、MPFR、MPC這三個(gè)庫分別為gmp-5.0.2,mpc-0.9,mpfr-3.1.0。

自己寫了一個(gè)sh文件,內(nèi)容如下:

export LD_RUN_PATH=/usr/local/lib:/usr/local/mpfr/lib:/usr/local/gmp/lib:/usr/local/mpc/lib
export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/mpfr/lib:/usr/local/gmp/lib:/usr/local/mpc/lib
../configure --prefix=/usr/bin/gcc-4.6 --enable-languages=c,c++ --with-gmp=/usr/local/gmp --with-mpfr=/usr/local/mpfr --with-mpc=/usr/local/mpc --enable-libgomp



輸出的錯(cuò)誤信息如下:

build/gengtype.o: In function `create_optional_field_':
/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype.c:853: undefined reference to `lexer_line'
build/gengtype.o: In function `adjust_field_rtx_def':
/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype.c:989: undefined reference to `lexer_line'
/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype.c:1045: undefined reference to `lexer_line'
/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype.c:1055: undefined reference to `lexer_line'
/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype.c:1121: undefined reference to `lexer_line'
build/gengtype.o:/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype.c:1160: more undefined references to `lexer_line' follow
build/gengtype-parse.o: In function `token':
/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype-parse.c:53: undefined reference to `yylex'
build/gengtype-parse.o: In function `parse_error':
/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype-parse.c:142: undefined reference to `lexer_line'
/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype-parse.c:142: undefined reference to `lexer_line'
build/gengtype-parse.o: In function `struct_field_seq':
/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype-parse.c:692: undefined reference to `lexer_line'
build/gengtype-parse.o: In function `type':
/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype-parse.c:726: undefined reference to `lexer_line'
/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype-parse.c:758: undefined reference to `lexer_line'
build/gengtype-parse.o:/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype-parse.c:758: more undefined references to `lexer_line' follow
build/gengtype-parse.o: In function `parse_file':
/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype-parse.c:951: undefined reference to `yybegin'
/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype-parse.c:986: undefined reference to `lexer_toplevel_done'
/usr/src/gcc/host-i686-pc-linux-gnu/gcc/../.././gcc/gengtype-parse.c:991: undefined reference to `yyend'
collect2: ld returned 1 exit status
make[3]: *** [build/gengtype] Error 1
make[3]: Leaving directory `/usr/src/gcc/host-i686-pc-linux-gnu/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/usr/src/gcc'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/usr/src/gcc'
make: *** [all] Error 2



有沒有高手幫一下,難道我下載的gcc源代碼中有錯(cuò)誤?

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2012-02-22 11:10 |只看該作者
看起來好像是缺少 flex 和 bison

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2012-03-08 17:13 |只看該作者
網(wǎng)絡(luò)安裝更快?梢試L試下
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP