+ -
当前位置:首页 → 问答吧 → 编译x11-base/xorg-x11-6.8.2-r1出错,谁能帮忙

编译x11-base/xorg-x11-6.8.2-r1出错,谁能帮忙

时间:2005-06-23

来源:互联网

x86_64-pc-linux-gnu-gcc -o pswrap -march=athlon64 -O3 -pipe -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w -L../../exports/lib main.o pswparser.o lexer.o pswdict.o pswfile.o systemnames.o psw.o pswstring.o pswsemantics.o -lfl -Wl,-rpath-link,../../exports/lib
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lfl
collect2: ld returned 1 exit status
make[4]: *** [pswrap] Error 1
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/config/pswrap'
make[3]: *** [../../config/pswrap/pswrap] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/lib/dps'
make[2]: *** [includes] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/lib'
make[1]: *** [includes] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2-r1 failed.
!!! Function build, Line 956, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.

作者: tsaogj   发布时间: 2005-06-23

ld: cannot find -lfl <-----你的 flex 没安装好,重新 emerge flex ,然后再安装 xorg-x11

作者: cnyg   发布时间: 2005-06-23

搞定,谢谢了。

作者: tsaogj   发布时间: 2005-06-27