Re: Gluster Compilation error: undefined reference to `yylex'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/01/2016 11:18 PM, Kaushal M wrote:
>>
>> I'm using: flex v2.6.0, bison v3.0.4, pkg-config v0.29, liburcu v0.9.2,
>> python v2.7.0, gcc v4.9.3 on linux (full dependency graph here:
>> http://i.imgur.com/xdn8trW.png). Any pointers are appreciated.
> 
> Newer versions of flex (I don't know from which version) ship a .so,
> which automake tries to link with whatever it is building by adding a
> '-lfl' linker flag.
> This causes the build failure. To avoid this, pass an empty 'LEXLIB='
> option to the configure script, as in
> `./configure  <other-options> LEXLIB=`

On Fedora, RHEL, CentOS, at least, libfl.a (no libfl.so*) comes from the
flex-devel RPM. flex-devel isn't needed to build gluster — you can
remove it.

On Debian-based distributions it comes from the libfl-dev pkg.

-- 

Kaleb
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux