Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
我在编译xorg-x11时,遇到了问题
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
wienne
n00b
n00b


Joined: 07 Apr 2005
Posts: 4

PostPosted: Thu Apr 07, 2005 2:16 am    Post subject: 我在编译xorg-x11时,遇到了问题 Reply with quote

我在编译xorg-x11时,遇到了问题

在编译时,看了坛子里的文章,设置了下面的参数
-3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -hardened -insecure-drivers -ipv6 -minimal -mmx +nls +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv

编译最后,有下面的错误信息,与不加上面的参数,报错信息一样。

i686-pc-linux-gnu-gcc -o pswrap -O3 -pipe -march=i686 -mcpu=i686 -fomit-frame-pointer -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-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-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 951, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.


信息里提到的 -lfl ,'fl'是什么库啊,如何安装?

或者这个问题是什么其它原因造成的?
Back to top
View user's profile Send private message
liuspider
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 237

PostPosted: Thu Apr 07, 2005 2:23 am    Post subject: Reply with quote

$ qpkg -f /usr/lib/libfl.a
sys-devel/flex *

try
emerge flex
_________________
BLOG: http://liucougar.scim-im.org
Back to top
View user's profile Send private message
liuspider
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 237

PostPosted: Thu Apr 07, 2005 2:24 am    Post subject: Reply with quote

这应该 是个 bug,portage 应该发现你没有安装 flex 的
_________________
BLOG: http://liucougar.scim-im.org
Back to top
View user's profile Send private message
wienne
n00b
n00b


Joined: 07 Apr 2005
Posts: 4

PostPosted: Thu Apr 07, 2005 2:30 am    Post subject: Reply with quote

欧K,我踹
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum